diff options
author | Glenn Morris <rgm@gnu.org> | 2008-05-03 18:59:40 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-05-03 18:59:40 +0000 |
commit | 1066d056437c657338400ba52357d9e9eb000023 (patch) | |
tree | f03c900717d402d87de9a7a9483061b644515f1e /configure.in | |
parent | 0b0914aee4352e87a4c665b09b57ee5a38df1b30 (diff) | |
download | emacs-1066d056437c657338400ba52357d9e9eb000023.tar.gz emacs-1066d056437c657338400ba52357d9e9eb000023.tar.bz2 emacs-1066d056437c657338400ba52357d9e9eb000023.zip |
(x_libraries): Remove standard 64-bit directories - experimental
workaround for minor autoconf bug.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 4740fb9b5da..6e128a1bd9b 100644 --- a/configure.in +++ b/configure.in @@ -1339,6 +1339,16 @@ else window_system=x11 fi +## Workaround for bug in autoconf <= 2.62. +## http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg01551.html +## No need to do anything special for these standard directories. +## This is an experiment, take it out if it causes problems. +if test -n "${x_libraries}" && test x"${x_libraries}" != xNONE; then + + x_libraries=`echo :${x_libraries}: | sed -e 's|:/usr/lib64:|:|g' -e 's|:/lib64:|:|g' -e 's|^:||' -e 's|:$||'` + +fi + if test "${x_libraries}" != NONE; then if test -n "${x_libraries}"; then LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` |