diff options
author | dieter kovacic <d13@users.sourceforge.net> | 2002-07-09 12:41:56 +0000 |
---|---|---|
committer | dieter kovacic <d13@users.sourceforge.net> | 2002-07-09 12:41:56 +0000 |
commit | 7312e58d17e331d71d4f47e21bf15499609bace8 (patch) | |
tree | 23e7fba2466041f82bc29ce4adf5e7ac35d2d508 /configure.in |
This commit was generated by cvs2svn to compensate for changes in r33,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/ext13/; revision=34
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..ef0ea56 --- /dev/null +++ b/configure.in @@ -0,0 +1,32 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(filesize.c) + +dnl Checks for programs. +AC_PROG_CC +AC_PROG_INSTALL +AC_SUBST(STK) + + +dnl Checks for libraries. +dnl Replace `main' with a function in -lc: +AC_CHECK_LIB(c, main) +dnl Replace `main' with a function in -lm: +AC_CHECK_LIB(m, main) +dnl Replace `main' with a function in -lpthread: +AC_CHECK_LIB(pthread, main) +dnl Replace `main' with a function in -lstk: +AC_CHECK_LIB(stk, main, STK=yes) + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_TIME + +dnl Checks for library functions. +AC_FUNC_MMAP +AC_CHECK_FUNCS(select socket strerror) + + +AC_OUTPUT(makefile) |