Set CFLAGS to -O2 -g -Wall by default

2000-09-12  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in (CFLAGS): Set CFLAGS to -O2 -g -Wall by default
This commit is contained in:
Bradford Hovinen 2000-09-12 13:57:58 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent d4848e9baa
commit e97f9d324b
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2000-09-12 Bradford Hovinen <hovinen@helixcode.com>
* configure.in (CFLAGS): Set CFLAGS to -O2 -g -Wall by default
2000-09-10 Bradford Hovinen <hovinen@helixcode.com>
* libcapplet/capplet-widget.h (struct _CappletWidget):

View file

@ -35,9 +35,6 @@ AC_SUBST(XML_CFLAGS)
AM_PATH_LIBGLADE(,,"gnome")
AC_SUBST(CFLAGS)
AC_SUBST(LDFLAGS)
AC_CHECK_HEADERS(dlfcn.h dl.h)
AC_CHECK_LIB(dl, dlopen, DL_LIB="-ldl",[
AC_CHECK_LIB(dld, shl_load, DL_LIB="-ldld",[
@ -78,6 +75,11 @@ echo "ftp://www.rasterman.com/pub/enlightenment/"
echo "ftp://ftp.labs.redhat.com/pub/imlib/"
AC_MSG_ERROR([Fatal Error: no Imlib detected.])])
CFLAGS="-O2 -g -Wall $CFLAGS"
AC_SUBST(CFLAGS)
AC_SUBST(LDFLAGS)
AC_OUTPUT([
control-center.spec
Makefile