X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=configure.ac;h=b33cc6a3163c818daf6a7002394af15268a9c9df;hb=176959d7423988183ffbe1b35fc1de7f786bb596;hp=df831c35d46bba556084aa0861800b83536409a1;hpb=e88a135bc55a974ea04576ccc014c5e2bdc4b892;p=git.git diff --git a/configure.ac b/configure.ac index df831c35d..b33cc6a31 100644 --- a/configure.ac +++ b/configure.ac @@ -327,6 +327,12 @@ GIT_PARSE_WITH(tcltk)) AC_MSG_NOTICE([CHECKS for programs]) # AC_PROG_CC([cc gcc]) +AC_C_INLINE +case $ac_cv_c_inline in + inline | yes | no) ;; + *) AC_SUBST([INLINE], [$ac_cv_c_inline]) ;; +esac + # which switch to pass runtime path to dynamic libraries to the linker AC_CACHE_CHECK([if linker supports -R], git_cv_ld_dashr, [ SAVE_LDFLAGS="${LDFLAGS}"