@@ -638,6 +638,7 @@ SVNVERSION
638638ARFLAGS
639639AR
640640RANLIB
641+ USE_INLINE
641642GNULD
642643LINKCC
643644RUNSHARED
@@ -4754,6 +4755,55 @@ esac
47544755{ $as_echo " $as_me :${as_lineno-$LINENO } : result: $GNULD " >&5
47554756$as_echo " $GNULD " >&6 ; }
47564757
4758+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for inline" >&5
4759+ $as_echo_n " checking for inline... " >&6 ; }
4760+ if test " ${ac_cv_c_inline+set} " = set ; then :
4761+ $as_echo_n " (cached) " >&6
4762+ else
4763+ ac_cv_c_inline=no
4764+ for ac_kw in inline __inline__ __inline; do
4765+ cat confdefs.h - << _ACEOF >conftest.$ac_ext
4766+ /* end confdefs.h. */
4767+ #ifndef __cplusplus
4768+ typedef int foo_t;
4769+ static $ac_kw foo_t static_foo () {return 0; }
4770+ $ac_kw foo_t foo () {return 0; }
4771+ #endif
4772+
4773+ _ACEOF
4774+ if ac_fn_c_try_compile " $LINENO " ; then :
4775+ ac_cv_c_inline=$ac_kw
4776+ fi
4777+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778+ test " $ac_cv_c_inline " ! = no && break
4779+ done
4780+
4781+ fi
4782+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_c_inline " >&5
4783+ $as_echo " $ac_cv_c_inline " >&6 ; }
4784+
4785+ case $ac_cv_c_inline in
4786+ inline | yes) ;;
4787+ * )
4788+ case $ac_cv_c_inline in
4789+ no) ac_val=;;
4790+ * ) ac_val=$ac_cv_c_inline ;;
4791+ esac
4792+ cat >> confdefs.h << _ACEOF
4793+ #ifndef __cplusplus
4794+ #define inline $ac_val
4795+ #endif
4796+ _ACEOF
4797+ ;;
4798+ esac
4799+
4800+ if test " $ac_cv_c_inline " ! = no ; then
4801+ $as_echo " #define USE_INLINE 1" >> confdefs.h
4802+
4803+
4804+ fi
4805+
4806+
47574807{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for --enable-shared" >&5
47584808$as_echo_n " checking for --enable-shared... " >&6 ; }
47594809# Check whether --enable-shared was given.
0 commit comments