Changeset 1637
- Timestamp:
- 01/30/05 19:17:48 (4 years ago)
- Files:
-
- wire/trunk/configure (modified) (3 diffs)
- wire/trunk/configure.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wire/trunk/configure
r1583 r1637 850 850 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 851 851 --enable-warnings enable warnings 852 853 852 --disable-largefile omit support for large files 854 853 … … 2380 2379 2381 2380 # Check for warnings 2382 echo "$as_me:$LINENO: checking whether to enable warnings" >&52383 echo $ECHO_N "checking whether to enable warnings... $ECHO_C" >&62384 2381 # Check whether --enable-warnings or --disable-warnings was given. 2385 2382 if test "${enable_warnings+set}" = set; then … … 2389 2386 2390 2387 if test -n "$enable_warnings"; then 2391 echo "$as_me:$LINENO: result: yes" >&52392 echo "${ECHO_T}yes" >&62393 2388 CFLAGS="$CFLAGS -W -Wall -Wno-unknown-pragmas -Wno-unused-parameter -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls" 2394 else2395 echo "$as_me:$LINENO: result: no" >&52396 echo "${ECHO_T}no" >&62397 2389 fi 2398 2390 wire/trunk/configure.in
r1583 r1637 45 45 46 46 # Check for warnings 47 AC_MSG_CHECKING([whether to enable warnings]) 48 AC_ARG_ENABLE([warnings], 49 [ --enable-warnings enable warnings] 50 ) 47 AC_ARG_ENABLE([warnings], AC_HELP_STRING([--enable-warnings], [enable warnings])) 51 48 52 49 if test -n "$enable_warnings"; then 53 AC_MSG_RESULT([yes])54 50 CFLAGS="$CFLAGS -W -Wall -Wno-unknown-pragmas -Wno-unused-parameter -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls" 55 else56 AC_MSG_RESULT([no])57 51 fi 58 52
