* 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://svn.code.sf.net/p/rathena/svn/trunk@11252 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
FlavioJS 2007-09-21 04:08:32 +00:00
parent 8d014dd02a
commit d2f97b7151
3 changed files with 5423 additions and 1 deletions

View File

@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/09/21
* Configure script detects 64bit distributions of MySQL.
* Generated the configure script with cygwin's autoconf. [FlavioJS]
2007/09/20
* Merged the tmpsql branch: [FlavioJS]
- Abstraction for the sql code (sql.c/h).

5416
configure vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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)])