ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/configure.in
(Generate patch)

Comparing Convert-UUlib/uulib/configure.in (file contents):
Revision 1.4.2.4 by root, Thu Nov 6 13:08:23 2003 UTC vs.
Revision 1.4.2.5 by root, Sun Apr 18 19:55:46 2004 UTC

1dnl This file is an input file used by the GNU "autoconf" program to 1dnl This file is an input file used by the GNU "autoconf" program to
2dnl generate the file "configure", which tries to guess your system 2dnl generate the file "configure", which tries to guess your system
3dnl configuration so that no manual editing of the Makefile should be 3dnl configuration so that no manual editing of the Makefile should be
4dnl necessary 4dnl necessary
5dnl 5dnl
6dnl $Id: configure.in,v 1.4.2.4 2003/11/06 13:08:23 root Exp $ 6dnl $Id: configure.in,v 1.4.2.5 2004/04/18 19:55:46 root Exp $
7dnl 7dnl
8 8
9AC_INIT(uulib.c) 9AC_INIT(uulib.c)
10AC_PREREQ(2.9) 10AC_PREREQ(2.9)
11AC_CONFIG_HEADER(config.h) 11AC_CONFIG_HEADER(config.h)
12 12
13# 13#
14# package revision 14# package revision
15# 15#
16VERSION=0.5 16VERSION=0.5
17PATCH=19 17PATCH=20
18
19AC_ARG_ENABLE(optimize,[ --disable-optimize compile for debugging],optimize=$enableval,optimize=yes)
20 18
21AC_PROG_CC 19AC_PROG_CC
22AC_PROG_CPP 20AC_PROG_CPP
23wi_CFLAGS
24wi_PROTOTYPES 21wi_PROTOTYPES
25AC_PROG_MAKE_SET 22AC_PROG_MAKE_SET
26AC_PROG_RANLIB 23AC_PROG_RANLIB
27
28#
29# When optimization is enabled, remove -g from CFLAGS and add -O
30#
31
32if test "$optimize" = "yes" ; then
33AC_MSG_CHECKING([compiler flags])
34CFLAGS=`echo $CFLAGS | sed 's/-g//g'`
35case $CFLAGS in
36 *"-O"*)
37 ;;
38 *)
39 CFLAGS="$CFLAGS -O"
40 ;;
41esac
42AC_MSG_RESULT(done)
43fi
44 24
45if test "$wi_cv_prototypes" = no ; then 25if test "$wi_cv_prototypes" = no ; then
46 AC_WARN([Your compiler does not support function prototyping and]) 26 AC_WARN([Your compiler does not support function prototyping and])
47 AC_WARN([is not able to properly compile this package. What a pity.]) 27 AC_WARN([is not able to properly compile this package. What a pity.])
48 AC_WARN([Get gcc, or any compiler that supports function prototypes.]) 28 AC_WARN([Get gcc, or any compiler that supports function prototypes.])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines