Changeset 2258 for libpipi/trunk/configure.ac
- Timestamp:
- Mar 11, 2008, 3:56:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/configure.ac
r2228 r2258 26 26 AC_C_INLINE 27 27 28 AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h) 28 AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h) 29 30 ac_cv_have_getopt_long="no" 31 AC_CHECK_FUNCS(getopt_long, 32 [ac_cv_have_getopt_long="yes"], 33 [AC_CHECK_LIB(gnugetopt, getopt_long, 34 [ac_cv_have_getopt_long="yes" 35 GETOPT_LIBS="${GETOPT_LIBS} -lgnugetopt"])]) 36 if test "$ac_cv_have_getopt_long" != "no"; then 37 AC_DEFINE(HAVE_GETOPT_LONG, 1, Define to 1 if you have the `getopt_long' function.) 38 fi 39 AM_CONDITIONAL(NEED_GETOPT_LONG, test "$ac_cv_have_getopt_long" = "no") 40 AC_SUBST(GETOPT_LIBS) 29 41 30 42 # Optimizations
Note: See TracChangeset
for help on using the changeset viewer.