- Timestamp:
- Jan 6, 2007, 10:37:42 PM (16 years ago)
- Location:
- zzuf/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/configure.ac
r1583 r1590 15 15 AC_PROG_LIBTOOL 16 16 17 dnl AC_PROG_EGREP only exists in autoconf 2.54+, so we use AC_EGREP_CPP right18 dnl now otherwise it might be set in an obscure if statement. Same thing for19 dnl PKG_PROG_PKG_CONFIG which needs to be called first.20 AC_EGREP_CPP(yes, foo)21 PKG_PROG_PKG_CONFIG()22 23 dnl Don't let pkg-config fuck our cross-compilation environment24 m4_pattern_allow([^PKG_CONFIG_LIBDIR$])25 if test "$build" != "$host" -a "${PKG_CONFIG_LIBDIR}" = ""; then26 export PKG_CONFIG_LIBDIR=/dev/null27 fi28 29 17 AC_CHECK_HEADERS(inttypes.h stdint.h getopt.h) 30 18 AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 getline getdelim __getdelim fgetln) … … 42 30 AC_SUBST(GETOPT_LIBS) 43 31 32 AC_CHECK_LIB(dl, dlopen, [DL_LIBS="-ldl"]) 33 AC_SUBST(DL_LIBS) 34 44 35 # Optimizations 45 36 CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer" 46 37 # Code qui fait des warnings == code de porc == deux baffes dans ta gueule 47 CFLAGS="${CFLAGS} -Wall -W pointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"38 CFLAGS="${CFLAGS} -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" 48 39 49 40 AC_OUTPUT([ -
zzuf/trunk/src/Makefile.am
r1544 r1590 9 9 random.c random.h 10 10 libzzuf_la_LDFLAGS = -avoid-version -no-undefined 11 libzzuf_la_LIBADD = -ldl11 libzzuf_la_LIBADD = @GETOPT_LIBS@ @DL_LIBS@ 12 12
Note: See TracChangeset
for help on using the changeset viewer.