2 AC_INIT([shibboleth], [1.2], [shibboleth-users@internet2.edu], [shibboleth])
3 AM_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE(shibboleth, 1.2)
6 sinclude(acx_pthread.m4)
7 sinclude(acx_rpctest.m4)
9 AC_PROG_CC([gcc3 gcc cc])
10 AC_PROG_CXX([g++3 g++ c++ CC])
16 # Checks for typedefs, structures, and compiler characteristics.
21 # Checks for library functions.
24 AC_CHECK_FUNCS([strchr strdup strstr gmtime_r strtok_r strcasecmp])
25 AC_CHECK_HEADERS([dlfcn.h])
33 # AC_SEARCH_LIBS(xdr_uint64_t,nsl,,
34 # [CFLAGS="$CFLAGS -DNEED_XDR_LONGLONG"
35 # CXXFLAGS="$CXXFLAGS -DNEED_XDR_LONGLONG"])
39 ACX_PTHREAD([enable_threads="pthread"],[enable_threads="no"])
40 if test $enable_threads != "pthread"; then
41 AC_MSG_ERROR([unable to find pthreads, currently this is required])
43 AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.])
44 LIBS="$PTHREAD_LIBS $LIBS"
45 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
46 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
49 # Test RPC now -- deal with it later
50 ACX_RPCTEST([rpctest="yes"],[rpctest="no"])
53 AC_HELP_STRING([--with-dmalloc=PATH], [where dmalloc is installed]),
54 [if test x_$with_dmalloc != x_/usr; then
55 LDFLAGS="-L${with_dmalloc}/lib $LDFLAGS"
56 CPPFLAGS="-I${with_dmalloc}/include $CPPFLAGS"
58 AC_CHECK_LIB(dmallocxx, dmalloc_shutdown,,
59 AC_MSG_ERROR([unable to find dmallocxx library]))
63 AC_PATH_PROG(PKG_CONFIG, pkg-config)
64 if test "x$PKG_CONFIG" = x || test "x$PKG_CONFIG" = "xno" ; then
66 AC_HELP_STRING([--with-openssl=PATH], [where openssl is installed]),
67 [if test x_$with_openssl != x_/usr; then
68 SSLLIBS="-L${with_openssl}/lib"
69 SSLFLAGS="-I${with_openssl}/include"
71 SSLLIBS="$SSLLIBS -lssl -lcrypto"
73 SSLLIBS="`$PKG_CONFIG --libs openssl`"
74 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
76 AC_MSG_CHECKING(for OpenSSL libraries)
77 AC_MSG_RESULT($SSLLIBS)
79 AC_MSG_CHECKING(for OpenSSL cflags)
80 AC_MSG_RESULT($SSLFLAGS)
81 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
83 AC_CHECK_HEADER([openssl/ssl.h],,
84 AC_MSG_ERROR([unable to find openssl header files]))
85 AC_MSG_CHECKING(for ERR_load_CRYPTO_string)
86 AC_TRY_LINK_FUNC([ERR_load_CRYPTO_strings],,
87 AC_MSG_ERROR([unable to link with openssl libraries]))
89 AC_MSG_CHECKING(for SSL_library_init)
90 AC_TRY_LINK_FUNC([SSL_library_init],,
91 AC_MSG_ERROR([unable to link with openssl libraries]))
95 LOG4CPP_CONFIG="log4cpp-config"
97 AC_HELP_STRING([--with-log4cpp=PATH], [where log4cpp is installed]),
98 [LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"])
99 if test -f ${LOG4CPP_CONFIG}; then
100 LDFLAGS="`${LOG4CPP_CONFIG} --libs` $LDFLAGS"
101 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
103 AC_MSG_WARN([log4cpp-config not found, guessing at log4cpp build settings])
104 LIBS="-llog4cpp $LIBS"
106 AC_CHECK_HEADER([log4cpp/Category.hh],,AC_MSG_ERROR([unable to find log4cpp header files]))
108 [#include <log4cpp/Category.hh>],
109 [log4cpp::Category::getInstance("foo")],
110 [AC_DEFINE(HAVE_LIBLOG4CPP,1,[Define if log4cpp library was found])],
111 [AC_MSG_ERROR([unable to link with log4cpp])])
115 AC_HELP_STRING([--with-xerces=PATH], [where xerces-c is installed]),
116 [if test x_$with_xerces != x_/usr; then
117 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
118 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
120 LIBS="-lxerces-c $LIBS"
121 AC_CHECK_HEADER([xercesc/dom/DOM.hpp],,
122 AC_MSG_ERROR([unable to find xerces header files]))
124 [#include <xercesc/util/PlatformUtils.hpp>],
125 [xercesc::XMLPlatformUtils::Initialize()],
126 [AC_DEFINE(HAVE_LIBXERCESC,1,[Define if Xerces-C library was found])],
127 [AC_MSG_ERROR([unable to link with Xerces])])
129 # XML-Security settings
131 AC_HELP_STRING([--with-xmlsec=PATH], [where xmlsec is installed]),
132 [if test x_$with_xmlsec != x_/usr; then
133 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
134 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
136 LIBS="-lxml-security-c $LIBS"
137 AC_CHECK_HEADER([xsec/utils/XSECPlatformUtils.hpp],,AC_MSG_ERROR([unable to find xsec header files]))
139 [#include <xsec/utils/XSECPlatformUtils.hpp>],
140 [XSECPlatformUtils::Initialise()],
141 [AC_DEFINE(HAVE_LIBXSEC,1,[Define if XML-Sec library was found])],
142 [AC_MSG_ERROR([unable to link with XML-Sec])])
146 AC_HELP_STRING([--with-saml=PATH], [where saml is installed]),
147 [if test x_$with_saml != x_/usr; then
148 LDFLAGS="-L${with_saml}/lib $LDFLAGS"
149 CPPFLAGS="-I${with_saml}/include $CPPFLAGS"
151 AC_CHECK_HEADER([saml/saml.h],,
152 AC_MSG_ERROR([unable to find saml header files]))
155 [#include <saml/saml.h>],
156 [saml::SAMLConfig::getConfig()],
157 [AC_DEFINE(HAVE_SAML,1,[Define if saml library was found])],
158 [AC_MSG_ERROR([unable to link with saml])])
161 # output the underlying makefiles
162 WANT_SUBDIRS="doc shib schemas configs shib-target shar siterefresh test xmlproviders"
163 AC_CONFIG_FILES([Makefile doc/Makefile shib/Makefile schemas/Makefile \
164 configs/Makefile oncrpc/Makefile oncrpc/rpc/Makefile \
165 shib-target/Makefile shar/Makefile siterefresh/Makefile \
166 test/Makefile xmlproviders/Makefile])
169 # now deal with the rpc library, to see if we need to build our own
170 if test $rpctest = "no"; then
171 WANT_SUBDIRS="oncrpc $WANT_SUBDIRS"
172 AC_DEFINE(USE_OUR_ONCRPC,1,[Define if using embedded version of ONC RPC.])
174 AM_CONDITIONAL(USE_OUR_ONCRPC,test "$rpctest" = "no")
177 # Apache 1.3 (mod_shire)
178 # --with-apache-13 (static build, no idea how to do this yet, so not supported)
179 # --with-apxs (DSO build, the normal way, uses apxs to derive build flags)
180 # --without-apxs (DSO build, you tell us how to build using the environment)
182 AC_ARG_ENABLE(apache-13,
183 AC_HELP_STRING([--enable-apache-13], [enable the Apache 1.3 modules]),
184 [ if test "x$enableval" = "x" ; then
187 WANT_APACHE_13="$enableval"
189 ], [ WANT_APACHE_13=no ])
190 AC_MSG_CHECKING(whether to build Apache-1.3 support)
191 if test "$WANT_APACHE_13" != yes && test "$WANT_APACHE_13" != no ; then
194 AC_MSG_RESULT($WANT_APACHE_13)
196 if test "$WANT_APACHE_13" = yes ; then
199 [ --with-apxs[=FILE] Build shared Apache module(s). FILE is the optional
200 pathname to the Apache apxs tool; defaults to "apxs".],
202 if test "$withval" = "yes"; then
203 for i in /usr/sbin /usr/local/apache/bin ; do
204 if test -f "$i/apxs"; then
208 if test -z "$APXS"; then
216 AC_PATH_PROG(APXS, apxs, no)
219 AC_MSG_CHECKING([for dynamic Apache-1.3 module support (w/ or w/o APXS)])
220 if test "$APXS" = "no"; then
222 # --without-apxs means you want the modules,
223 # but want to tell us how to build them
224 AC_MSG_RESULT(yes, but use environment, not apxs)
226 echo "Did you set one or more of these?"
228 echo "APXS_CFLAGS APXS_PREFIX APXS_INCLUDE APXS_LIBEXEC APXS_SYSCONFDIR"
231 AC_MSG_NOTICE([APXS_CFLAGS is $APXS_CFLAGS])
233 # try and find the Apache root
234 if test -z "$APXS_PREFIX"; then
235 if test -d "/usr/local/apache"; then
236 APXS_PREFIX="/usr/local/apache"
238 AC_MSG_ERROR([You MUST set APXS_PREFIX so the right Apache can be located!])
240 elif test ! -d "$APXS_PREFIX"; then
241 AC_MSG_ERROR([APXS_PREFIX of $APXS_PREFIX cannot be found])
243 AC_MSG_NOTICE([APXS_PREFIX is $APXS_PREFIX])
246 # other subfolders might be derived from APXS_PREFIX
247 if test -z "$APXS_INCLUDE"; then
248 if test -f "$APXS_PREFIX/include/httpd.h"; then
249 APXS_INCLUDE="$APXS_PREFIX/include"
251 AC_MSG_ERROR([can't find Apache include files beneath $APXS_PREFIX])
253 elif ! test -f "$APXS_INCLUDE/httpd.h"; then
254 AC_MSG_ERROR([APXS_INCLUDE of $APXS_INCLUDE does not contain Apache headers])
256 AC_MSG_NOTICE([APXS_INCLUDE is $APXS_INCLUDE])
258 if test -z "$APXS_LIBEXEC"; then
259 if test -d "$APXS_PREFIX/libexec"; then
260 APXS_LIBEXEC="$APXS_PREFIX/libexec"
261 elif test -d "$APXS_PREFIX/modules"; then
262 APXS_LIBEXEC="$APXS_PREFIX/modules"
264 AC_MSG_ERROR([can't find Apache libexec/module directory beneath $APXS_PREFIX])
266 elif ! test -d "$APXS_LIBEXEC"; then
267 AC_MSG_ERROR([APXS_LIBEXEC of $APXS_LIBEXEC does not exist])
269 AC_MSG_NOTICE([APXS_LIBEXEC is $APXS_LIBEXEC])
271 if test -z "$APXS_SYSCONFDIR"; then
272 if test -d "$APXS_PREFIX/conf"; then
273 APXS_SYSCONFDIR="$APXS_PREFIX/conf"
275 AC_MSG_ERROR([can't find Apache conf directory beneath $APXS_PREFIX])
277 elif ! test -d "$APXS_SYSCONFDIR"; then
278 AC_MSG_ERROR([APXS_SYSCONFDIR of $APXS_SYSCONFDIR does not exist])
280 AC_MSG_NOTICE([APXS_SYSCONFDIR is $APXS_SYSCONFDIR])
284 elif test -n "$APXS"; then
286 # extract settings we need from APXS -q
287 APXS_CC="`$APXS -q CC`"
288 APXS_CFLAGS="`$APXS -q CFLAGS` `$APXS -q CFLAGS_SHLIB`"
289 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
290 APXS_LIBEXEC="`$APXS -q LIBEXECDIR`"
291 APXS_SYSCONFDIR="`$APXS -q SYSCONFDIR`"
294 AC_MSG_RESULT(found at $APXS)
296 if test -z "`$APXS -q LD_SHLIB`" || test "$APXS_LIBEXEC" = "modules"; then
298 [Your APXS installation is broken and cannot be used.
299 Please see http://www.webdav.org/mod_dav/install.html#apxs for
306 # guess we're not doing Apache 1.3
312 if test "$WANT_APACHE_13" = "yes"; then
313 AC_ARG_ENABLE([apxs-install],
314 AC_HELP_STRING([--enable-apxs-install],
315 [use apxs to install the apache modules]),
316 APXS_INSTALL="yes", )
319 AC_SUBST(APXS_CFLAGS)
320 AC_SUBST(APXS_INCLUDE)
321 AC_SUBST(APXS_LIBEXEC)
322 AC_SUBST(APXS_SYSCONFDIR)
324 # output the Apache 1.3 makefiles
325 WANT_SUBDIRS="$WANT_SUBDIRS mod_shire"
327 # always output the Makefile, even if we don't use it
328 AC_CONFIG_FILES([mod_shire/Makefile])
329 AM_CONDITIONAL(HAVE_APXS,test -n "$APXS")
330 AM_CONDITIONAL(DO_APXS_INSTALL,test -n "$APXS_INSTALL")
333 # Apache 2.0 (mod_shib in apache-2.0)
334 # --with-apache-20 (static build, no idea how to do this yet, so not supported)
335 # --with-apxs2 (DSO build, the normal way, uses apxs to derive build flags)
336 # --without-apxs2 (DSO build, you tell us how to build using the environment)
338 AC_ARG_ENABLE(apache-20,
339 AC_HELP_STRING([--enable-apache-20], [enable the Apache 2.0 modules]),
340 [ if test "x$enableval" = "x" ; then
343 WANT_APACHE_20="$enableval"
345 ], [ WANT_APACHE_20=no ])
347 AC_MSG_CHECKING(whether to build Apache-2.0 support)
348 if test "$WANT_APACHE_20" != yes && test "$WANT_APACHE_20" != no ; then
351 AC_MSG_RESULT($WANT_APACHE_20)
353 if test "$WANT_APACHE_20" = yes ; then
356 [ --with-apxs2[=FILE] Build shared Apache module(s). FILE is the optional
357 pathname to the Apache apxs tool; defaults to "apxs".],
359 if test "$withval" = "yes"; then
360 for i in /usr/sbin /usr/local/apache/bin ; do
361 if test -f "$i/apxs"; then
365 if test -z "$APXS2"; then
373 AC_PATH_PROG(APXS2, apxs, no)
376 AC_MSG_CHECKING([for dynamic Apache-2 module support (w/ or w/o APXS)])
377 if test "$APXS2" = "no"; then
379 # --without-apxs2 means you want the modules,
380 # but want to tell us how to build them
381 AC_MSG_RESULT(yes, but use environment, not apxs)
383 echo "Did you set one or more of these?"
385 echo "APXS2_CFLAGS APXS2_PREFIX APXS2_INCLUDE APXS2_LIBEXEC APXS2_SYSCONFDIR"
388 AC_MSG_NOTICE([APXS2_CFLAGS is $APXS2_CFLAGS])
390 # try and find the Apache root
391 if test -z "$APXS2_PREFIX"; then
392 if test -d "/usr/local/apache"; then
393 APXS2_PREFIX="/usr/local/apache"
395 AC_MSG_ERROR([You MUST set APXS2_PREFIX so the right Apache-2 can be located!])
397 elif test ! -d "$APXS2_PREFIX"; then
398 AC_MSG_ERROR([APXS2_PREFIX of $APXS2_PREFIX cannot be found])
400 AC_MSG_NOTICE([APXS2_PREFIX is $APXS2_PREFIX])
403 # other subfolders might be derived from APXS2_PREFIX
404 if test -z "$APXS2_INCLUDE"; then
405 if test -f "$APXS2_PREFIX/include/httpd.h"; then
406 APXS2_INCLUDE="$APXS2_PREFIX/include"
408 AC_MSG_ERROR([can't find Apache-2 include files beneath $APXS2_PREFIX])
410 elif ! test -f "$APXS2_INCLUDE/httpd.h"; then
411 AC_MSG_ERROR([APXS2_INCLUDE of $APXS2_INCLUDE does not contain Apache-2 headers])
413 AC_MSG_NOTICE([APXS2_INCLUDE is $APXS2_INCLUDE])
415 if test -z "$APXS2_LIBEXEC"; then
416 if test -d "$APXS2_PREFIX/libexec"; then
417 APXS2_LIBEXEC="$APXS2_PREFIX/libexec"
418 elif test -d "$APXS2_PREFIX/modules"; then
419 APXS2_LIBEXEC="$APXS2_PREFIX/modules"
421 AC_MSG_ERROR([can't find Apache-2 libexec/module directory beneath $APXS2_PREFIX])
423 elif ! test -d "$APXS2_LIBEXEC"; then
424 AC_MSG_ERROR([APXS2_LIBEXEC of $APXS2_LIBEXEC does not exist])
426 AC_MSG_NOTICE([APXS2_LIBEXEC is $APXS2_LIBEXEC])
428 if test -z "$APXS2_SYSCONFDIR"; then
429 if test -d "$APXS2_PREFIX/conf"; then
430 APXS2_SYSCONFDIR="$APXS2_PREFIX/conf"
432 AC_MSG_ERROR([can't find Apache-2 conf directory beneath $APXS2_PREFIX])
434 elif ! test -d "$APXS2_SYSCONFDIR"; then
435 AC_MSG_ERROR([APXS2_SYSCONFDIR of $APXS2_SYSCONFDIR does not exist])
437 AC_MSG_NOTICE([APXS2_SYSCONFDIR is $APXS2_SYSCONFDIR])
441 elif test -n "$APXS2"; then
443 # extract settings we need from APXS2 -q
444 APXS2_CC="`$APXS2 -q CC`"
445 APXS2_CFLAGS="`$APXS2 -q CFLAGS` `$APXS2 -q CFLAGS_SHLIB`"
446 APXS2_INCLUDE="`$APXS2 -q INCLUDEDIR`"
447 APXS2_LIBEXEC="`$APXS2 -q LIBEXECDIR`"
448 APXS2_SYSCONFDIR="`$APXS2 -q SYSCONFDIR`"
451 AC_MSG_RESULT(found at $APXS2)
453 if test -z "`$APXS2 -q LD_SHLIB`" && test -z "`$APXS2 -q LIBEXECDIR`" \
454 || test "$APXS2_LIBEXEC" = "modules"; then
456 [Your APXS installation is broken and cannot be used.
457 Please see http://www.webdav.org/mod_dav/install.html#apxs for
464 # guess we're not doing Apache 2.0
470 if test "$WANT_APACHE_20" = "yes"; then
471 AC_ARG_ENABLE([apxs2-install],
472 AC_HELP_STRING([--enable-apxs2-install],
473 [use apxs to install the apache-2 modules]),
474 APXS2_INSTALL="yes", )
476 AC_SUBST(APXS2_CFLAGS)
477 AC_SUBST(APXS2_INCLUDE)
478 AC_SUBST(APXS2_LIBEXEC)
479 AC_SUBST(APXS2_SYSCONFDIR)
481 # output the Apache 2.0 makefiles
482 WANT_SUBDIRS="$WANT_SUBDIRS apache-2.0"
484 # always output the Makefile, even if we don't use it
485 AC_CONFIG_FILES([apache-2.0/Makefile])
486 AM_CONDITIONAL(HAVE_APXS2,test -n "$APXS2")
487 AM_CONDITIONAL(DO_APXS2_INSTALL,test -n "$APXS2_INSTALL")
489 # always output the Makefile, even if you don't use it
490 AC_CONFIG_FILES([apache/Makefile])
491 AM_CONDITIONAL(BUILD_AP13,test "$WANT_APACHE_13" = "yes")
492 AM_CONDITIONAL(BUILD_AP20,test "$WANT_APACHE_20" = "yes")
494 # add the apache module to the list of wanted subdirs..
495 if test "$WANT_APACHE_13" = "yes" || test "$WANT_APACHE_20" = "yes" ; then
496 WANT_SUBDIRS="$WANT_SUBDIRS apache"
501 # Implement the checks of the MySQL Credential Cache
503 # 1) Assume the user wants MySQL; if it's not found then just continue without
504 # 2) If the user specifically requested Mysql, look for it and ERROR if not found
505 # 3) If the user specifically requested no-mysql, don't build it.
508 AC_CONFIG_FILES([shib-mysql-ccache/Makefile])
510 # determine whether we should enable the mysql ccache
511 AC_ARG_ENABLE([mysql],
512 AC_HELP_STRING([--disable-mysql], [disable the MySQL Credential Cache]),
513 [mysql_enabled=$enableval], [mysql_enabled=default])
515 if test "x$mysql_enabled" = "x" ; then
519 # Are we trying to build MySQL?
520 AC_MSG_CHECKING(whether to build the MySQL ccache)
521 if test "$mysql_enabled" = "yes" ; then
524 elif test "$mysql_enabled" = "default" ; then
526 AC_MSG_RESULT([yes, if it can be found])
532 # If we're trying to build MySQL, try to find the mysql_config program,
533 # verify we've got mysql >= 4, and make sure we can build with mysqld
534 if test "$build_mysql" = "yes" ; then
537 AC_HELP_STRING([--with-mysql=PATH], [directory where mysql is installed]),
538 [if test "$with_mysql" = no ; then
539 AC_MSG_ERROR([Try running --disable-mysql instead.])
540 elif test "$with_mysql" != yes ; then
541 mysql_dir="$with_mysql/bin"
544 # Try to find the mysql_config program
545 AC_PATH_PROG(MYSQL_CONFIG, mysql_config, no, $mysql_dir $PATH )
547 if test "$MYSQL_CONFIG" = no ; then
548 if test "$mysql_enabled" = "yes" ; then
549 AC_MSG_ERROR(Cannot find mysql_config)
551 AC_MSG_WARN(MySQL not found. skipping.)
556 # if we found mysql_config then build_mysql is 'yes'
557 if test "$MYSQL_CONFIG" != no ; then
558 AC_MSG_CHECKING(for mysql version >= 4)
559 mysql_version=`$MYSQL_CONFIG --version`
560 mysql_major_version=`echo $mysql_version | awk -F. '{print $1}'`
562 if test $mysql_major_version -lt 4 ; then
564 if test "$mysql_enabled" = "yes" ; then
565 AC_MSG_ERROR(You need MySQL version >= 4, found $mysql_version)
567 AC_MSG_RESULT(no.. skipping MySQL)
573 # if mysql_version_ok is 'yes', then we've made it this far.. ;)
574 if test "$mysql_version_ok" = "yes" ; then
575 AC_MSG_CHECKING(for embedded-MySQL libraries)
576 MYSQL_LIBS=`$MYSQL_CONFIG --libmysqld-libs`
577 if test $? != 0 ; then
579 if test "$mysql_enabled" = "yes" ; then
580 AC_MSG_ERROR(Could not find the MySQL Embedded-server libraries.)
582 AC_MSG_RESULT(no.. skipping MySQL)
590 # if found_mysql=yes then test that we can actually build mysql
591 if test "$found_mysql" = yes ; then
592 MYSQL_CFLAGS=`$MYSQL_CONFIG --cflags`
593 MYSQL_CFLAGS=`eval echo $MYSQL_CFLAGS`
594 MYSQL_LIBS=`eval echo $MYSQL_LIBS`
596 save_CPPFLAGS="$CPPFLAGS"
597 CPPFLAGS="$CPPFLAGS $MYSQL_CFLAGS"
599 AC_CHECK_HEADER([mysql.h], [have_mysql_h=yes], [have_mysql_h=no])
600 if test "$have_mysql_h" = no -a "$mysql_enabled" = "yes" ; then
601 AC_MSG_ERROR(unable to find MySQL header files)
604 if test "$have_mysql_h" = yes ; then
606 LIBS="$LIBS $MYSQL_LIBS"
607 AC_MSG_CHECKING(if we can link againt mysql)
611 [mysql_server_init(0, NULL, NULL)],
612 [have_mysql_libs=yes],
613 [have_mysql_libs=no])
616 if test "$have_mysql_libs" = no ; then
617 if test "$mysql_enabled" = "yes" ; then
618 AC_MSG_ERROR([unable to link with MySQL Embedded Server Library])
620 AC_MSG_RESULT(no. skipping MySQL)
625 CPPFLAGS="$save_CPPFLAGS"
628 # if have_mysql_libs=yes then go ahead with building MySQL
629 if test "$have_mysql_libs" = yes ; then
630 # this AC_MSG_RESULT is from above!
632 WANT_SUBDIRS="$WANT_SUBDIRS shib-mysql-ccache"
633 AC_SUBST(MYSQL_CFLAGS)
638 AC_SUBST(WANT_SUBDIRS)
640 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
641 echo "=================================================================="
642 echo "WARNING: You have chosen to compile Apache-1.3 modules with a different"
643 echo " compiler than the one used to compile Apache."
645 echo " Current compiler: $CC"
646 echo " Apache's compiler: $APXS_CC"
648 echo "This could cause some problems."
649 echo "=================================================================="
652 if test -n "$APXS2_CC" && test "$APXS2_CC" != "$CC" ; then
653 echo "=================================================================="
654 echo "WARNING: You have chosen to compile Apache-2 modules with a different"
655 echo " compiler than the one used to compile Apache."
657 echo " Current compiler: $CC"
658 echo " Apache's compiler: $APXS2_CC"
660 echo "This could cause some problems."
661 echo "=================================================================="