diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-05-11 11:15:48 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-05-11 11:15:48 +0000 |
commit | 0c340ada33ca34cf1d5b01532659bd173b7342a6 (patch) | |
tree | 420bb50b9aa8eaf4a07ec8db872ae5842d840b4b /editors/emacs23/files/patch-configure | |
parent | Update Gstreamer (core) to 0.10.33 (diff) |
- Update to version 23.3
- Update CANNA support[1]
- Fix bug in plist generation
Submitted by: Yuji TAKANO <takachan@running-dog.net>[1] (via private email)
Notes
Notes:
svn path=/head/; revision=273953
Diffstat (limited to 'editors/emacs23/files/patch-configure')
-rw-r--r-- | editors/emacs23/files/patch-configure | 115 |
1 files changed, 30 insertions, 85 deletions
diff --git a/editors/emacs23/files/patch-configure b/editors/emacs23/files/patch-configure index e9da46794704..668668865700 100644 --- a/editors/emacs23/files/patch-configure +++ b/editors/emacs23/files/patch-configure @@ -3,10 +3,12 @@ $FreeBSD$ --- configure.orig +++ configure -@@ -6433,214 +6433,8 @@ - - +@@ -5806,159 +5806,6 @@ + LIBSOUND= + fi +- +- - ALSA_REQUIRED=1.0.0 - ALSA_MODULES="alsa >= $ALSA_REQUIRED" - @@ -14,9 +16,9 @@ $FreeBSD$ - - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 --{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } --if test "${ac_cv_path_PKG_CONFIG+set}" = set; then +-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in @@ -29,14 +31,14 @@ $FreeBSD$ -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do +- for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" -- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done --done +- done -IFS=$as_save_IFS - - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" @@ -45,10 +47,10 @@ $FreeBSD$ -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then -- { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else -- { $as_echo "$as_me:$LINENO: result: no" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - @@ -59,27 +61,27 @@ $FreeBSD$ - else - PKG_CONFIG_MIN_VERSION=0.9.0 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then -- { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 -$as_echo_n "checking for $ALSA_MODULES... " >&6; } - - if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then -- { $as_echo "$as_me:$LINENO: result: yes" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - succeeded=yes - -- { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 -$as_echo_n "checking ALSA_CFLAGS... " >&6; } - ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` -- { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 -$as_echo "$ALSA_CFLAGS" >&6; } - -- { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 -$as_echo_n "checking ALSA_LIBS... " >&6; } - ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` -- { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 -$as_echo "$ALSA_LIBS" >&6; } - else -- { $as_echo "$as_me:$LINENO: result: no" >&5 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - ALSA_CFLAGS="" - ALSA_LIBS="" @@ -108,11 +110,7 @@ $FreeBSD$ - SAVE_LDFLAGS="$LDFLAGS" - CFLAGS="$ALSA_CFLAGS $CFLAGS" - LDFLAGS="$ALSA_LIBS $LDFLAGS" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <asoundlib.h> -int @@ -123,39 +121,14 @@ $FreeBSD$ - return 0; -} -_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" --$as_echo "$ac_try_echo") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then +-if ac_fn_c_try_compile "$LINENO"; then : - emacs_alsa_normal=yes -else -- $as_echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- emacs_alsa_normal=no - fi - +- emacs_alsa_normal=no +-fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$emacs_alsa_normal" != yes; then -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <alsa/asoundlib.h> -int @@ -166,37 +139,14 @@ $FreeBSD$ - return 0; -} -_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" --$as_echo "$ac_try_echo") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then +-if ac_fn_c_try_compile "$LINENO"; then : - emacs_alsa_subdir=yes -else -- $as_echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- emacs_alsa_subdir=no +- emacs_alsa_subdir=no -fi -- -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$emacs_alsa_subdir" != yes; then -- { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 --$as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} -- { (exit 1); exit 1; }; } +- as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 - fi - ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" - fi @@ -206,15 +156,10 @@ $FreeBSD$ - LIBSOUND="$LIBSOUND $ALSA_LIBS" - CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" - --cat >>confdefs.h <<\_ACEOF --#define HAVE_ALSA 1 --_ACEOF +-$as_echo "#define HAVE_ALSA 1" >>confdefs.h - - fi - --fi -- -- - - + fi + for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |