ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/configure.in
(Generate patch)

Comparing projects/libstatgrab/configure.in (file contents):
Revision 1.34 by tdb, Wed Oct 8 17:49:21 2003 UTC vs.
Revision 1.37 by tdb, Sun Oct 12 14:46:06 2003 UTC

# Line 6 | Line 6
6   #
7  
8   # Change these to change the package name and version
9 < AC_INIT(libstatgrab, 0.6, bugs@i-scream.org)
10 < AM_INIT_AUTOMAKE(libstatgrab, 0.6)
9 > AC_INIT(libstatgrab, 0.6.1, bugs@i-scream.org)
10 > AM_INIT_AUTOMAKE(libstatgrab, 0.6.1)
11  
12   # Revision number (automatically updated)
13   AC_REVISION($Revision$)
# Line 34 | Line 34 | AC_FUNC_MALLOC
34   AC_FUNC_REALLOC
35   AC_CHECK_FUNCS(atoll)
36  
37 + # Default needing setgid to false
38 + AM_CONDITIONAL(SETGIDBINS, false)
39 +
40   # Set things up for different OS's
41   # We define the name of the OS so the code can act accordingly
42   # We also need to add the right LDFLAGS
# Line 51 | Line 54 | solaris2.*)
54          ;;
55   freebsd4.*)
56          AC_DEFINE(FREEBSD, , [Building on FreeBSD])
57 +        AM_CONDITIONAL(SETGIDBINS, true)
58          LINKFLAGS="-lkvm -ldevstat"
59          ;;
60   freebsd5.*)
61          AC_DEFINE(FREEBSD, , [Building on FreeBSD])
62          AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x])
63 +        AM_CONDITIONAL(SETGIDBINS, true)
64          LINKFLAGS="-lkvm -ldevstat"
65          ;;
66   linux-gnu)
# Line 128 | Line 133 | AC_ARG_ENABLE(manpages,
133          ]
134   )
135  
136 < # User specified pkgconfig dir
137 < AC_ARG_WITH([pkgconfig-dir],
138 <        [  --with-pkgconfig-dir=PATH     pkgconfig lib directory (PREFIX/lib/pkgconfig)],
139 <        [ PKGCONFIG_DIR=$withval ],
140 <        [ PKGCONFIG_DIR="\$(libdir)/pkgconfig" ]
136 > # Check if the user wants to turn off setgid binaries
137 > # (only really relevant on FreeBSD)
138 > AC_ARG_ENABLE(setgid-binaries,
139 >        [  --disable-setgid-binaries     disable binaries being setgid],
140 >        [
141 >                if test "x$enableval" = "xno" ; then
142 >                        AM_CONDITIONAL(SETGIDBINS, false)
143 >                fi
144 >        ]
145   )
137 AC_SUBST(PKGCONFIG_DIR)
146  
147   # The LIBS and CPPFLAGS that saidar needs
148   AC_SUBST(SAIDARLIBS)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines