summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-06-29 20:43:30 -0700
committerGlenn Morris <rgm@gnu.org>2010-06-29 20:43:30 -0700
commita46007e939dcdb94301d4ea6eb94539cfa580e1d (patch)
treec27b46af22c17368b54715c8d05c9d4d7be7b466 /configure
parente7586c7a671ea10004afc3d8e48718eed8c7ce26 (diff)
downloademacs-a46007e939dcdb94301d4ea6eb94539cfa580e1d.tar.gz
* configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM):
Set with AC_DEFINE rather than AH_BOTTOM. * src/s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now. * admin/CPP-DEFINES: Remove INHIBIT_X11R6_XIM. * configure, src/config.in: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29
1 files changed, 26 insertions, 3 deletions
diff --git a/configure b/configure
index 686320b3622..a6b4c45f329 100755
--- a/configure
+++ b/configure
@@ -5393,12 +5393,12 @@ fi
if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
then
- ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
+ ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
fi
if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
then
- ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
+ ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
fi
@@ -5898,7 +5898,7 @@ eval as_val=\$$as_ac_Header
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
-
+ have_sound_header=yes
fi
done
@@ -6099,6 +6099,17 @@ $as_echo "#define HAVE_ALSA 1" >>confdefs.h
fi
+ if test x$have_sound_header = xyes || test $HAVE_ALSA = yes; then
+ case "$opsys" in
+ gnu-linux|freebsd|netbsd)
+
+$as_echo "#define HAVE_SOUND 1" >>confdefs.h
+
+ ;;
+ esac
+ fi
+
+
fi
for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
@@ -8175,6 +8186,18 @@ $as_echo "6 or newer" >&6; }
$as_echo "#define HAVE_X11R6 1" >>confdefs.h
+
+$as_echo "#define HAVE_X_I18N 1" >>confdefs.h
+
+ ## inoue@ainet.or.jp says Solaris has a bug related to X11R6-style
+ ## XIM support.
+ case "$opsys" in
+ sol2-*) : ;;
+ *)
+$as_echo "#define HAVE_X11R6_XIM 1" >>confdefs.h
+
+ ;;
+ esac
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5
$as_echo "before 6" >&6; }