]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_system): Obey --with-x11=no and --with-x10=no.
authorRichard M. Stallman <rms@gnu.org>
Tue, 19 Apr 1994 00:30:13 +0000 (00:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 19 Apr 1994 00:30:13 +0000 (00:30 +0000)
(lib-src/Makefile.in): Use src, not lib-src, in -I.

configure1.in

index 2662ba1a6dbbb498342b26bb4ee0d38438dc50bf..b8fa83ec2a9c78b5a1b78150802bdabbece8194b 100755 (executable)
@@ -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;