Enlightenment CVS committal Author : vapier Project : e16 Module : epplets
Dir : e16/epplets Modified Files: configure.in Log Message: cut out old code for default CFLAGS/CPPFLAGS since autoconf nowadays does all of this for us =================================================================== RCS file: /cvs/e/e16/epplets/configure.in,v retrieving revision 1.42 retrieving revision 1.43 diff -u -3 -r1.42 -r1.43 --- configure.in 13 Apr 2006 08:26:30 -0000 1.42 +++ configure.in 15 Apr 2006 19:29:30 -0000 1.43 @@ -1,22 +1,8 @@ -dnl# $Id: configure.in,v 1.42 2006/04/13 08:26:30 kwo Exp $ +dnl# $Id: configure.in,v 1.43 2006/04/15 19:29:30 vapier Exp $ AC_INIT(api/epplet.c) AM_INIT_AUTOMAKE(epplets, 0.9) -dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure' -if test ! -z "${CFLAGS}" -o ! -z "${CCOPTS}"; then - CFLAGS_GIVEN="${CFLAGS} ${CCOPTS}" -else - CFLAGS_GIVEN="" -fi - -if test -z "${CFLAGS}"; then - if test -z "${CCOPTS}"; then - CCOPTS="-O" - fi - CFLAGS="$CCOPTS" -fi - AC_PROG_CC AC_PROG_CPP @@ -32,23 +18,6 @@ AM_PROG_LIBTOOL AC_GCC_TRADITIONAL - -dnl # If using gcc, use -O2. If -g works with it, use that too -if test -z "$CFLAGS_GIVEN"; then - if test "$GCC" = "yes"; then - if test "$ac_cv_prog_cc_g" = "yes"; then - CCOPTS='-g -O2' - else - CCOPTS='-O2' - fi - CFLAGS="$CCOPTS" - fi -else - CFLAGS="$CFLAGS_GIVEN" -fi -for i in /usr/local/include /usr/X11R6/include /usr/dt/include /usr/openwin/include ; do - test -d $i && CPPFLAGS="$CPPFLAGS -I$i" -done AC_PROG_INSTALL ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs