projects
/
chise
/
concord.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(CONCORD_Genre_Table): Revived as an alias of `COS_Genre_ent'.
[chise/concord.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
90f4cc2
..
5452e88
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2,7
+2,7
@@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(concord, 0.0.1, chise-en@m17n.org)
+AC_INIT(concord, 0.0.2, chise-en@m17n.org)
AC_CONFIG_SRCDIR(concord.c)
AC_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR(concord.c)
AC_CONFIG_HEADER(config.h)
@@
-24,11
+24,12
@@
do
done
CFLAGS=`echo "$SITE_INCLUDES_CFLAGS $CFLAGS"|sed 's/^ *//'`
,
done
CFLAGS=`echo "$SITE_INCLUDES_CFLAGS $CFLAGS"|sed 's/^ *//'`
,
-if test -f /sw/include/db3/db.h; then
- CFLAGS="-I/sw/include/db3 $CFLAGS"
+if test -f /sw/include/db5/db.h; then
+ CFLAGS="-I/sw/include/db5 $CFLAGS"
elif test -f /sw/include/db4/db.h; then
CFLAGS="-I/sw/include/db4 $CFLAGS"
elif test -f /sw/include/db4/db.h; then
CFLAGS="-I/sw/include/db4 $CFLAGS"
- LIBS="-ldb $LIBS"
+elif test -f /sw/include/db3/db.h; then
+ CFLAGS="-I/sw/include/db3 $CFLAGS"
fi
)
fi
)
@@
-40,18
+41,20
@@
do
SITE_LIBS="$SITE_LIBS -L$dir"
done
LIBS=`echo "$SITE_LIBS $LIBS"|sed 's/^ *//'`
SITE_LIBS="$SITE_LIBS -L$dir"
done
LIBS=`echo "$SITE_LIBS $LIBS"|sed 's/^ *//'`
+LIBS="-ldb $LIBS"
,
,
-if test -f /sw/include/db3/db.h; then
- LIBS="-L/sw/lib -ldb-3 $LIBS"
+if test -f /sw/include/db5/db.h; then
+ LIBS="-L/sw/lib -ldb-5 $LIBS"
elif test -f /sw/include/db4/db.h; then
LIBS="-L/sw/lib -ldb-4 $LIBS"
elif test -f /sw/include/db4/db.h; then
LIBS="-L/sw/lib -ldb-4 $LIBS"
+elif test -f /sw/include/db3/db.h; then
+ LIBS="-L/sw/lib -ldb-3 $LIBS"
else
LIBS="-ldb $LIBS"
fi
)
# Checks for libraries.
else
LIBS="-ldb $LIBS"
fi
)
# Checks for libraries.
-LIBS="-ldb $LIBS"
# Checks for header files.
# Checks for header files.
@@
-59,11
+62,17
@@
LIBS="-ldb $LIBS"
AC_C_CONST
AC_C_INLINE
AC_C_CONST
AC_C_INLINE
+AC_CHECK_SIZEOF(int)
+AC_CHECK_SIZEOF(long)
+AC_CHECK_SIZEOF(long long)
+AC_CHECK_SIZEOF(void *)
+
# Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_STRNLEN
# Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_STRNLEN
-
-AC_CHECK_FUNCS(strnlen)
+if test "x$ac_cv_func_strnlen_working" = "xyes"; then
+ AC_DEFINE([HAVE_STRNLEN])
+fi
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
AC_CONFIG_FILES([Makefile])
AC_OUTPUT