diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-21 04:08:32 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-21 04:08:32 +0000 |
commit | 1285deb746735dd189c859b2090b580fddc2672e (patch) | |
tree | 1f13f846bfdc56b79cb82b27fed0a72aed98b8dc /configure.in | |
parent | e39697a8dd79ff05538761ebe60ae4e0efa44bd4 (diff) | |
download | hercules-1285deb746735dd189c859b2090b580fddc2672e.tar.gz hercules-1285deb746735dd189c859b2090b580fddc2672e.tar.bz2 hercules-1285deb746735dd189c859b2090b580fddc2672e.tar.xz hercules-1285deb746735dd189c859b2090b580fddc2672e.zip |
* Configure script detects 64bit distributions of MySQL.
* Generated the configure script with cygwin's autoconf.
You can re-generate the configure script by executing autoconf.
To compile everything just execute these two commands:
./configure
make
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11252 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 080df746b..206de53f9 100644 --- a/configure.in +++ b/configure.in @@ -160,7 +160,7 @@ MYSQL_LIBS="" if test "$want_mysql" = "no" ; then AC_MSG_NOTICE([ignoring MySQL (optional)]) else - if test -z "$MYSQL_CONFIG_HOME" -o test; then + if test -z "$MYSQL_CONFIG_HOME"; then AC_PATH_PROG([MYSQL_CONFIG_HOME], [mysql_config], [no]) fi @@ -171,6 +171,9 @@ else MYSQL_CFLAGS="`$MYSQL_CONFIG_HOME --cflags`" MYSQL_LIBS="`$MYSQL_CONFIG_HOME --libs`" AC_MSG_RESULT([yes ($MYSQL_VERSION)]) + if test -n "`$MYSQL_CONFIG_HOME --libs | grep -i '\-m64'`"; then + AC_MSG_ERROR([$MYSQL_CONFIG_HOME reported that MySQL was compiled in 64bit mode, please specify a 32bit distribution of MySQL with --with-mysql=<path>... stopping]) + fi else AC_MSG_RESULT([no]) AC_MSG_NOTICE([disabling MySQL (optional)]) |