summaryrefslogtreecommitdiff
path: root/configure1.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-19 00:30:13 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-19 00:30:13 +0000
commitc296fc056e53e28c838c294736147a1500ca2025 (patch)
treebd23ef73367818e9c6c9c9ed39cc19e7343beae3 /configure1.in
parente1ba276c8287b96432e73aff55c62c72dee604bf (diff)
downloademacs-c296fc056e53e28c838c294736147a1500ca2025.tar.gz
(window_system): Obey --with-x11=no and --with-x10=no.
(lib-src/Makefile.in): Use src, not lib-src, in -I.
Diffstat (limited to 'configure1.in')
-rwxr-xr-xconfigure1.in29
1 files changed, 21 insertions, 8 deletions
diff --git a/configure1.in b/configure1.in
index 2662ba1a6db..b8fa83ec2a9 100755
--- a/configure1.in
+++ b/configure1.in
@@ -1165,15 +1165,28 @@ case "${with_x}" in
;;
no )
window_system=${window_system}none
-esac
-case "${with_x11}" in
- yes )
- window_system=${window_system}x11
;;
esac
-case "${with_x10}" in
- yes )
- window_system=${window_system}x10
+case "${window_system}" in
+ .* )
+ ;;
+ * )
+ case "${with_x11}" in
+ yes )
+ window_system=x11
+ ;;
+ no )
+ window_system=none
+ ;;
+ esac
+ case "${with_x10}" in
+ yes )
+ window_system=x10
+ ;;
+ no )
+ window_system=none
+ ;;
+ esac
;;
esac
@@ -1577,7 +1590,7 @@ echo creating lib-src/Makefile
sed -e 's@^# \(Generated.*\)$@/* \1 */@' \
-e 's@/\*\*/#\(.*\)$@/* \1 */@' \
< Makefile.in > junk.c
- $CPP $undefs -I. -I$top_srcdir/lib-src $CPPFLAGS junk.c |
+ $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c |
sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > Makefile.new
rm -f junk.c
chmod 444 Makefile.new;