diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-07-01 22:31:34 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-07-01 22:31:34 +0000 |
commit | 591e32671c75a5925ef2d5479ef03438a85f0c1e (patch) | |
tree | 8a5863448f689a2bb6bcf1823773f51109c00f4a | |
parent | 0bba28c79508eb5919b24aa8791b9052ea60106b (diff) |
autoconf updats
git-svn-id: file:///home/lennart/svn/public/syrep/trunk@88 07ea20a6-d2c5-0310-9e02-9ef735347d72
-rw-r--r-- | configure.ac | 11 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 2ada65d..6135e0f 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,7 @@ AM_INIT_AUTOMAKE([foreign -Wall]) # Checks for programs. AC_PROG_CC AC_PROG_LN_S +AC_GNU_SOURCE AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/syrep/]) @@ -103,7 +104,7 @@ AC_SYS_LARGEFILE AC_HEADER_DIRENT AC_HEADER_STDC -AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdlib.h string.h unistd.h]) +AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdlib.h string.h unistd.h libintl.h sys/time.h]) # Checks for header files. AC_C_CONST @@ -114,12 +115,14 @@ AC_C_VOLATILE # Checks for library functions. AC_FUNC_CLOSEDIR_VOID +AC_FUNC_MMAP +AC_CHECK_FUNCS([atexit ftruncate getcwd gethostname memset mkdir munmap rmdir setenv strchr strdup strerror strrchr strtol putenv]) +#AC_FUNC_LSTAT +#AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK #AC_FUNC_MALLOC #AC_FUNC_MEMCMP -AC_FUNC_MMAP -#AC_FUNC_STAT #AC_FUNC_REALLOC -AC_CHECK_FUNCS([atexit ftruncate getcwd gethostname memset mkdir munmap rmdir setenv strchr strdup strerror strrchr strtol]) +#AC_FUNC_STAT adl_FUNC_GETOPT_LONG lp_FUNC_MKDTEMP diff --git a/src/Makefile.am b/src/Makefile.am index d3911b1..53c1b1d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,7 +16,7 @@ # along with syrep; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -AM_CPPFLAGS=-I../lib -D_GNU_SOURCE +AM_CPPFLAGS=-I$(top_srcdir)/lib bin_PROGRAMS = syrep |