summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 21:02:01 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 21:02:01 +0000
commit4032f92867e5570f130e4175b3b4fb61240f9752 (patch)
tree4e56172ca9f3f586d85d912a487357d9fe3496ed /configure.in
parent7a6b6a56dabe1e62a0fbc6222c090aa077bcadc7 (diff)
downloadlibrcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.gz
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.bz2
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.xz
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.zip
0.1.0
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 2b4c0fc..e4c6027 100644
--- a/configure.in
+++ b/configure.in
@@ -17,12 +17,12 @@ AC_SUBST(LIBRCC_VERSION_SUBMINOR)
AC_SUBST(LIBRCC_VERSION_INFO)
LIBRCC_CVS=`cat VERSION | sed -e s/.*CVS.*/CVS/`
-if test "x$LIBRCC_CVS" = "x"; then
-LIBRCC_CVS=0
-LIBRCC_CVS_DATE=0
-else
+if test "x$LIBRCC_CVS" = "xCVS"; then
LIBRCC_CVS=1
LIBRCC_CVS_DATE=`date +%y%m%d.%H`
+else
+LIBRCC_CVS=0
+LIBRCC_CVS_DATE=0
fi
AC_SUBST(LIBRCC_CVS)
AC_SUBST(LIBRCC_CVS_DATE)
@@ -47,7 +47,7 @@ AC_PATH_PROG(TAR, tar, /bin/tar)
dnl Checks for header files.
AC_CHECK_HEADERS(iconv.h,, [AC_MSG_ERROR(Missing iconv header)])
-AC_CHECK_HEADERS(mntent.h pwd.h sys/types.h sys/stat.h unistd.h)
+AC_CHECK_HEADERS(mntent.h pwd.h sys/types.h sys/stat.h sys/file.h unistd.h fcntl.h)
AC_TRY_COMPILE([#include <langinfo.h>],
[char *codeset = nl_langinfo (CODESET);],