/[man-db]/man-db/configure.in
ViewVC logotype

Diff of /man-db/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46 by cjwatson, Sun Apr 6 23:05:09 2003 UTC revision 1.47 by cjwatson, Mon Apr 7 07:09:45 2003 UTC
# Line 28  dnl Line 28  dnl
28  dnl We have to be a bit naughty here and supply options.  dnl We have to be a bit naughty here and supply options.
29  dnl The autoconf literature states that only features that can be  dnl The autoconf literature states that only features that can be
30  dnl separately 'built' should use --enable and friends. Oh well...  dnl separately 'built' should use --enable and friends. Oh well...
31  dnl Current options: debug, setuid, device, db.  dnl Current options: setuid, device, db.
32  dnl  dnl
 AC_ARG_ENABLE(debug,  
 [  --enable-debug         build a Makefile suitable for debugging purposes],  
          [: ${LDFLAGS=-g -Wall}  
           AC_MSG_NOTICE([Enabling debugging Makefile])  
           debug=on],  
          [: ${CFLAGS=-g -O2 -Wall}  
           : ${LIBS=-lc}  
           AC_DEFINE(NDEBUG, 1,  
                     [Define if you want to remove debugging assertions.])  
           debug=off])  
33  AC_ARG_ENABLE(setuid,  AC_ARG_ENABLE(setuid,
34  [  --enable-setuid[=ARG]          install man setuid to user ARG @<:@ARG=man@:>@  [  --enable-setuid[=ARG]          install man setuid to user ARG @<:@ARG=man@:>@
35    --disable-setuid        don't install man setuid],    --disable-setuid        don't install man setuid],
# Line 103  dnl Line 93  dnl
93  dnl Finish the argument parsing  dnl Finish the argument parsing
94  dnl  dnl
95  AC_SUBST(man_install_flags)dnl  AC_SUBST(man_install_flags)dnl
 AC_SUBST(debug)dnl  
96  AC_SUBST(config_file)dnl  AC_SUBST(config_file)dnl
97  dnl  dnl
98  dnl Check $PATH for the following progs and append suitable options.  dnl Check $PATH for the following progs and append suitable options.
99  dnl  dnl
100  AC_PROG_CC  AC_PROG_CC
101  AC_PROG_CPP  AC_PROG_CPP
102    CFLAGS="$CFLAGS -Wall"
103  AC_PROG_INSTALL  AC_PROG_INSTALL
104  AC_PROG_RANLIB  AC_PROG_RANLIB
105  AC_PATH_PROG(cat, cat)  AC_PATH_PROG(cat, cat)
# Line 427  then Line 417  then
417        AC_MSG_ERROR(Fatal: $db: unsupported database library)        AC_MSG_ERROR(Fatal: $db: unsupported database library)
418      fi      fi
419  fi  fi
 if test "$debug" = "on"  
 then  
   AC_CHECK_LIB(efence, EF_Print)  
 fi  
420  dnl  dnl
421  dnl Check for available functions.  dnl Check for available functions.
422  dnl  dnl

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26