mirror of https://github.com/BOINC/boinc.git
mac server build fix
svn path=/trunk/boinc/; revision=9327
This commit is contained in:
parent
b83ee7c927
commit
421fd2e66e
|
@ -1068,4 +1068,9 @@ Rom 27 Jan 2006
|
||||||
boinc_ss.rc
|
boinc_ss.rc
|
||||||
win_screensaver.cpp, .h
|
win_screensaver.cpp, .h
|
||||||
|
|
||||||
|
David 27 Jan 2006
|
||||||
|
- server build fix for Mac OS X 10.3
|
||||||
|
(from Derek Wright)
|
||||||
|
|
||||||
|
m4/
|
||||||
|
kc_mysql.m4
|
||||||
|
|
|
@ -15,9 +15,24 @@ if test -z "$MYSQL_CONFIG"; then
|
||||||
else
|
else
|
||||||
AC_MSG_CHECKING(mysql libraries)
|
AC_MSG_CHECKING(mysql libraries)
|
||||||
MYSQL_LIBS=`${MYSQL_CONFIG} --libs`
|
MYSQL_LIBS=`${MYSQL_CONFIG} --libs`
|
||||||
|
|
||||||
|
# This is so silly, but Apple actually has a bug in their
|
||||||
|
# mysql_config script (same bug in their curl-config, too).
|
||||||
|
# Fixed in 10.4, but we need to correct this for 10.3...
|
||||||
|
case "${host}" in
|
||||||
|
powerpc-apple-darwin7*)
|
||||||
|
MYSQL_LIBS=`echo $MYSQL_LIBS | sed -e 's|-arch i386||g'`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
AC_MSG_RESULT($MYSQL_LIBS)
|
AC_MSG_RESULT($MYSQL_LIBS)
|
||||||
AC_MSG_CHECKING(mysql includes)
|
AC_MSG_CHECKING(mysql includes)
|
||||||
MYSQL_CFLAGS=`${MYSQL_CONFIG} --cflags`
|
MYSQL_CFLAGS=`${MYSQL_CONFIG} --cflags`
|
||||||
|
# Same bug...
|
||||||
|
case "${host}" in
|
||||||
|
powerpc-apple-darwin7*)
|
||||||
|
MYSQL_CFLAGS=`echo $MYSQL_CFLAGS | sed -e 's|-arch i386||g'`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
AC_MSG_RESULT($MYSQL_CFLAGS)
|
AC_MSG_RESULT($MYSQL_CFLAGS)
|
||||||
no_mysql=no
|
no_mysql=no
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue