3 AC_REVISION($Revision$)
4 AC_DEFUN(modname,[rlm_sql])
9 if test x$with_[]modname != xno; then
14 if test "x$EXPERIMENTAL" = "xyes"; then
15 for foo in `find ./drivers -name configure -print`; do
16 bar=`echo $foo | sed 's%/configure$%%g'`
17 mysubdirs="$mysubdirs $bar"
20 for foo in `cat stable`; do
21 mysubdirs="$mysubdirs ./drivers/$foo"
25 dnl # don't ask... this is done to avoid autoconf stupidities.
26 ln -s ../../../install-sh install-sh
29 dnl # Don't change the variable name here. Autoconf goes bonkers
32 AC_CONFIG_SUBDIRS($mysubdirs)
36 dnl # Don't bother looking for errors in the child directories
42 echo \*\*\* module modname is disabled.
45 if test x"$fail" != x""; then
46 if test x"${enable_strict_dependencies}" = x"yes"; then
47 AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
49 AC_MSG_WARN([silently not building ]modname[.])
50 AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.])
51 if test x"$headersuggestion" != x; then
52 AC_MSG_WARN([$headersuggestion])
54 if test x"$libsuggestion" != x; then
55 AC_MSG_WARN([$libsuggestion])
62 mod_ldflags=$SMART_LIBS
63 mod_cflags=$SMART_CFLAGS