Develop and Download Open Source Software

Browse CVS Repository

Contents of /autocoast/src/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sat Nov 13 04:48:47 2004 UTC (19 years, 5 months ago) by tmurakam
Branch: MAIN
Changes since 1.1: +14 -1 lines
--enable-debug

1 AC_INIT(src)
2
3 AC_CANONICAL_HOST
4 AM_CONFIG_HEADER(config.h)
5 AM_INIT_AUTOMAKE(AutoCoast, 0.0.1, no-define)
6
7 AC_PROG_CC
8 AC_PROG_CXX
9 AC_PROG_RANLIB
10 AC_ARG_PROGRAM
11
12 AC_HEADER_STDC
13
14 AC_C_CONST
15 AC_C_INLINE
16 AC_TYPE_SIZE_T
17
18 AC_MSG_CHECKING(if --enable-debug option is specified)
19 AC_ARG_ENABLE(debug,
20 [ --enable-debug Build a debugging version.],
21 [], [enableval="no"])
22 changequote(<<, >>)dnl
23 if test "$enableval" = "yes"; then
24 CFLAGS="-g -DDEBUG $CFLAGS"
25 CFLAGS=`echo $CFLAGS | sed 's/-O[0-9]*//'`
26 CXXFLAGS="-g -DDEBUG $CXXFLAGS"
27 CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[0-9]*//'`
28 fi
29 changequote([, ])dnl
30 AC_MSG_RESULT($enableval)
31
32 AC_OUTPUT(Makefile gpc/Makefile lib/Makefile src/Makefile)
33
34

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26