forked from osmocom/wireshark
* Add -Wall to CFLAGS if we're running gcc.
svn path=/trunk/; revision=101
This commit is contained in:
parent
7706f98d21
commit
3f9076b11f
11
configure.in
11
configure.in
|
@ -1,4 +1,4 @@
|
|||
# $Id: configure.in,v 1.15 1998/11/17 04:28:43 gerald Exp $
|
||||
# $Id: configure.in,v 1.16 1998/11/18 01:40:09 gerald Exp $
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(etypes.h)
|
||||
|
||||
|
@ -11,6 +11,15 @@ dnl Checks for programs.
|
|||
AC_PROG_CC
|
||||
AC_PROG_RANLIB
|
||||
|
||||
# If we're running gcc, add '-Wall' to CFLAGS.
|
||||
AC_MSG_CHECKING(to see if we can add '-Wall' to CFLAGS)
|
||||
if test x$GCC != x ; then
|
||||
CFLAGS="-Wall $CFLAGS"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
# Create DATAFILE_DIR #define for config.h
|
||||
DATAFILE_DIR=$sysconfdir
|
||||
DATAFILE_DIR=`(
|
||||
|
|
Loading…
Reference in New Issue