diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-01-10 18:45:49 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-01-10 18:45:49 +0000 |
commit | 8f34edf681b6a5d80af6cde9bd0cb72197e88b33 (patch) | |
tree | 37543b52d6cb5a58ee2486d964fdb6856ea38841 | |
parent | d18c69323e4672fcf022ad285aea039f335a0451 (diff) |
some last minute changes
git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@49 153bfa13-eec0-0310-be40-b0cb6a0e1b4b
-rw-r--r-- | configure.ac | 16 | ||||
-rw-r--r-- | src/dexec.h | 4 |
2 files changed, 11 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index a7ddaae..7cbf6d8 100644 --- a/configure.ac +++ b/configure.ac @@ -25,26 +25,28 @@ AC_CONFIG_SRCDIR([src/dfork.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign -Wall]) +AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/libdaemon/]) + +if type -p stow > /dev/null && test -d /usr/local/stow ; then + AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***]) + ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}" +fi + # Checks for programs. AC_PROG_CC AC_PROG_CXX +AC_PROG_MAKE_SET AC_PROG_LIBTOOL -AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/libdaemon/]) - # If using GCC specifiy some additional parameters if test "x$GCC" = "xyes" ; then CFLAGS="$CFLAGS -pipe -Wall" fi -if type -p stow > /dev/null && test -d /usr/local/stow ; then - AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***]) - ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}" -fi - # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h syslog.h unistd.h]) +AC_HEADER_SYS_WAIT # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST diff --git a/src/dexec.h b/src/dexec.h index b9e1879..de9f6ff 100644 --- a/src/dexec.h +++ b/src/dexec.h @@ -33,8 +33,8 @@ /** Run the specified executable with the specified arguments in the * specified directory and return the return value of the program in * the specified pointer. The calling process is blocked until the - * child finishes, alls child output (either STDOUT or STDIN) is - * written to syslog. + * child finishes and all child output (either STDOUT or STDIN) has + * been written to syslog. * * @param dir Working directory for the process. * @param ret A pointer to an integer to write the return value of the program to. |