2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(chise-base, 0.23, chise-en@m17n.org)
12 # AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
13 # /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
15 AC_SUBST(ac_configure_args)
16 AC_SUBST(xemacs_site_includes)
17 AC_SUBST(xemacs_site_libraries)
21 if test -f CVS/Root; then
22 cvs_root=`cat CVS/Root`
24 cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/chise'
27 # Checks for libraries.
28 if test -d /sw/include; then
29 xemacs_site_includes="/sw/include"
30 xemacs_site_libraries="/sw/lib"
31 xemacs_opts="--with-dialogs=athena --with-widgets=athena --with-athena=3d"
33 if test -f /sw/include/db3/db.h; then
34 xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
35 elif test -f /sw/include/db4/db.h; then
36 xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
38 if test -d /sw/include/canna; then
39 xemacs_opts="$xemacs_opts --with-canna"
43 if test "$xemacs_site_includes" != ""; then
44 xemacs_opts="$xemacs_opts --site-includes=$xemacs_site_includes"
47 if test "$xemacs_site_libraries" != ""; then
48 xemacs_opts="$xemacs_opts --site-libraries=$xemacs_site_libraries"
51 # Checks for header files.
53 # Checks for typedefs, structures, and compiler characteristics.
57 # Checks for library functions.
61 #AC_CHECK_FUNCS(strnlen)
63 AC_CONFIG_FILES([Makefile])