Changeset 256
- Timestamp:
- 11/28/05 00:59:47 (3 years ago)
- Files:
-
- op/trunk/autogen.sh (modified) (1 diff)
- op/trunk/configure.in (modified) (3 diffs)
- op/trunk/main.c (modified) (1 diff)
- op/trunk/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
op/trunk/autogen.sh
r247 r256 1 #!/bin/sh -x1 #!/bin/sh 2 2 3 echo +aclocal 3 4 aclocal 5 #echo +libtoolize 6 #libtoolize --force --ltdl --automake --copy 7 #echo gettextize 8 #gettextize --force --copy --intl 9 #echo intltoolize 10 #intltoolize --force --copy 11 echo +automake 12 automake --add-missing --copy 13 echo +autoconf 14 autoconf 15 echo +autoheader 4 16 autoheader 5 automake --add-missing6 autoconf7 17 8 set +x 9 echo " Now you are ready to run ./configure"18 echo 19 echo "Ready for ./configure to be run." op/trunk/configure.in
r248 r256 3 3 4 4 AC_PREREQ(2.59) 5 AC_INIT(op, 1.3 1, alec@swapoff.org)5 AC_INIT(op, 1.32, alec@swapoff.org) 6 6 AC_CONFIG_SRCDIR([regexp.h]) 7 7 AC_CONFIG_HEADER([config.h]) … … 15 15 16 16 AC_CHECK_FUNC([crypt], [], [AC_CHECK_LIB([crypt], [crypt], [], [AC_MSG_ERROR(Can't find crypt())])]) 17 18 OPENLOG_VOID=1 19 AC_COMPILE_IFELSE( 20 [int main(int, char**){int i = openlog(); return 0;}], 21 OPENLOG_VOID=0 22 ) 23 AC_DEFINE_UNQUOTED([OPENLOG_VOID], [${OPENLOG_VOID}], [Does openlog() return void?]) 17 24 18 25 # Feature checks … … 54 61 AC_ARG_ENABLE(xauth, [ --enable-xauth=<xauth> enable xauth support and specify xauth binary]) 55 62 if test "${enable_xauth}" != no; then 56 CPPFLAGS="$CPPFLAGS -DXAUTH=\\\"$enable_xauth\\\""63 EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS -DXAUTH=\\\"$enable_xauth\\\"" 57 64 fi 58 65 59 66 AC_CHECK_LIB([fl], [yywrap]) 67 AC_SUBST(EXTRA_CPPFLAGS) 60 68 61 69 # Checks for header files. op/trunk/main.c
r253 r256 251 251 } 252 252 253 #if defined (bsdi) || defined (SOLARIS) || defined (__linux__)253 #if OPENLOG_VOID 254 254 openlog("op", LOG_PID | LOG_CONS, LOG_AUTH); 255 255 #else op/trunk/Makefile.am
r249 r256 5 5 #README 6 6 7 AM_CPPFLAGS = -Wall -DSYSCONFDIR=\"$(sysconfdir)\" 7 AM_CPPFLAGS = -Wall -DSYSCONFDIR=\"$(sysconfdir)\" @EXTRA_CPPFLAGS@ 8 8 9 9 install-exec-hook:
