8677 |
|
|
8678 |
fi |
fi |
8679 |
|
|
8680 |
|
echo "$as_me:$LINENO: checking for inline" >&5 |
8681 |
|
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
8682 |
|
if test "${ac_cv_c_inline+set}" = set; then |
8683 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8684 |
|
else |
8685 |
|
ac_cv_c_inline=no |
8686 |
|
for ac_kw in inline __inline__ __inline; do |
8687 |
|
cat >conftest.$ac_ext <<_ACEOF |
8688 |
|
/* confdefs.h. */ |
8689 |
|
_ACEOF |
8690 |
|
cat confdefs.h >>conftest.$ac_ext |
8691 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8692 |
|
/* end confdefs.h. */ |
8693 |
|
#ifndef __cplusplus |
8694 |
|
typedef int foo_t; |
8695 |
|
static $ac_kw foo_t static_foo () {return 0; } |
8696 |
|
$ac_kw foo_t foo () {return 0; } |
8697 |
|
#endif |
8698 |
|
|
8699 |
|
_ACEOF |
8700 |
|
rm -f conftest.$ac_objext |
8701 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8702 |
|
(eval $ac_compile) 2>conftest.er1 |
8703 |
|
ac_status=$? |
8704 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8705 |
|
rm -f conftest.er1 |
8706 |
|
cat conftest.err >&5 |
8707 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8708 |
|
(exit $ac_status); } && |
8709 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8710 |
|
|| test ! -s conftest.err' |
8711 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8712 |
|
(eval $ac_try) 2>&5 |
8713 |
|
ac_status=$? |
8714 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8715 |
|
(exit $ac_status); }; } && |
8716 |
|
{ ac_try='test -s conftest.$ac_objext' |
8717 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8718 |
|
(eval $ac_try) 2>&5 |
8719 |
|
ac_status=$? |
8720 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8721 |
|
(exit $ac_status); }; }; then |
8722 |
|
ac_cv_c_inline=$ac_kw; break |
8723 |
|
else |
8724 |
|
echo "$as_me: failed program was:" >&5 |
8725 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8726 |
|
|
8727 |
|
fi |
8728 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8729 |
|
done |
8730 |
|
|
8731 |
|
fi |
8732 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
8733 |
|
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
8734 |
|
|
8735 |
|
|
8736 |
|
case $ac_cv_c_inline in |
8737 |
|
inline | yes) ;; |
8738 |
|
*) |
8739 |
|
case $ac_cv_c_inline in |
8740 |
|
no) ac_val=;; |
8741 |
|
*) ac_val=$ac_cv_c_inline;; |
8742 |
|
esac |
8743 |
|
cat >>confdefs.h <<_ACEOF |
8744 |
|
#ifndef __cplusplus |
8745 |
|
#define inline $ac_val |
8746 |
|
#endif |
8747 |
|
_ACEOF |
8748 |
|
;; |
8749 |
|
esac |
8750 |
|
|
8751 |
echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 |
echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 |
8752 |
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6 |
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6 |
8753 |
if test "${gl_cv_c_restrict+set}" = set; then |
if test "${gl_cv_c_restrict+set}" = set; then |
8941 |
|
|
8942 |
fi |
fi |
8943 |
|
|
|
echo "$as_me:$LINENO: checking for inline" >&5 |
|
|
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
|
|
if test "${ac_cv_c_inline+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_cv_c_inline=no |
|
|
for ac_kw in inline __inline__ __inline; do |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#ifndef __cplusplus |
|
|
typedef int foo_t; |
|
|
static $ac_kw foo_t static_foo () {return 0; } |
|
|
$ac_kw foo_t foo () {return 0; } |
|
|
#endif |
|
|
|
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_c_inline=$ac_kw; break |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
done |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
|
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
|
|
|
|
|
|
|
|
case $ac_cv_c_inline in |
|
|
inline | yes) ;; |
|
|
*) |
|
|
case $ac_cv_c_inline in |
|
|
no) ac_val=;; |
|
|
*) ac_val=$ac_cv_c_inline;; |
|
|
esac |
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#ifndef __cplusplus |
|
|
#define inline $ac_val |
|
|
#endif |
|
|
_ACEOF |
|
|
;; |
|
|
esac |
|
|
|
|
8944 |
|
|
8945 |
|
|
8946 |
|
|
16754 |
|
|
16755 |
|
|
16756 |
|
|
16757 |
|
|
16758 |
|
|
16759 |
|
|
16760 |
|
|
16761 |
|
|
16762 |
|
|
16763 |
case $LIBOBJS in |
case $LIBOBJS in |
16764 |
"canon-host.$ac_objext" | \ |
"canon-host.$ac_objext" | \ |
16765 |
*" canon-host.$ac_objext" | \ |
*" canon-host.$ac_objext" | \ |