Mercurial > hg > xemacs-beta
diff configure.ac @ 4450:ac6231e0c1df
Automated merge with file:/Sources/xemacs-21.5-checked-out
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 07 May 2008 21:21:08 +0200 |
parents | 13ce402e1736 e4225b6d9389 |
children | 49f8ed034500 |
line wrap: on
line diff
--- a/configure.ac Wed May 07 21:17:59 2008 +0200 +++ b/configure.ac Wed May 07 21:21:08 2008 +0200 @@ -866,10 +866,10 @@ XE_COMPLEX_ARG([database], AS_HELP_STRING([--enable-database=TYPE],[Compile with database support. Valid types are `no' or a comma-separated list of one or more - of `berkdb' and either `dbm' or `gnudbm'.]), + of `berkdb' and either `dbm' or `gdbm'.]), [ if test "$enable_database_dbm" = "yes" -a "$enable_database_gdbm" = "yes"; then - USAGE_ERROR("Only one of \`dbm' and \`gnudbm' may be specified + USAGE_ERROR("Only one of \`dbm' and \`gdbm' may be specified with the \`--with-database' option.") fi ], @@ -1176,6 +1176,11 @@ dnl ---------------------------------------- dnl Find out which version of XEmacs this is dnl ---------------------------------------- +dnl This should be the same code as in Makefile.in.in +cp "$srcdir/version.sh.in" "$srcdir/version.sh" +if test -d "$srcdir/.hg"; then + (cd "$srcdir"; hg identify | cut -d " " -f 1 >> version.sh) +fi . "$srcdir/version.sh" || exit 1; dnl Must do the following first to determine verbosity for AC_DEFINE if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi @@ -1812,7 +1817,7 @@ if test "$enable_vdb" = "auto"; then case "$opsys" in darwin ) case "$machine" in - i686 ) check_vdb_posix=yes ;; + i[[3-9]]86 ) check_vdb_posix=yes ;; * ) AC_DEFINE(VDB_MACH) have_vdb_mach=yes ;; esac ;; cygwin* ) AC_DEFINE(VDB_WIN32) have_vdb_win32=yes ;; @@ -4242,17 +4247,17 @@ AC_CHECK_LIB($athena_variant, XawScrollbarSetThumb, [ dnl Must not be a 3d library... - AC_CHECK_LIB($athena_variant, threeDClassRec, + AC_CHECK_LIB($athena_variant, XawSme3dComputeTopShadowRGB, [AC_MSG_WARN([Could not find a non-3d Athena widget library.])], athena_lib=$athena_variant) ], AC_MSG_WARN([Could not find an Athena widget library.])) else dnl The real configuration, need 3d library - AC_CHECK_LIB($athena_variant, threeDClassRec, athena_lib=$athena_variant, + AC_CHECK_LIB($athena_variant, XawSme3dComputeTopShadowRGB, athena_lib=$athena_variant, dnl OK, couldn't find it with a proper name, try the standard Athena lib dnl If that is 3d, presume the user asked for what they have installed. - AC_CHECK_LIB(Xaw, threeDClassRec, + AC_CHECK_LIB(Xaw, XawSme3dComputeTopShadowRGB, [ athena_lib=Xaw; AC_MSG_WARN([Assuming that libXaw is actually $athena_variant.]);