diff options
| -rwxr-xr-x | configure1.in | 29 |
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 | |||
| 1165 | ;; | 1165 | ;; |
| 1166 | no ) | 1166 | no ) |
| 1167 | window_system=${window_system}none | 1167 | window_system=${window_system}none |
| 1168 | esac | ||
| 1169 | case "${with_x11}" in | ||
| 1170 | yes ) | ||
| 1171 | window_system=${window_system}x11 | ||
| 1172 | ;; | 1168 | ;; |
| 1173 | esac | 1169 | esac |
| 1174 | case "${with_x10}" in | 1170 | case "${window_system}" in |
| 1175 | yes ) | 1171 | .* ) |
| 1176 | window_system=${window_system}x10 | 1172 | ;; |
| 1173 | * ) | ||
| 1174 | case "${with_x11}" in | ||
| 1175 | yes ) | ||
| 1176 | window_system=x11 | ||
| 1177 | ;; | ||
| 1178 | no ) | ||
| 1179 | window_system=none | ||
| 1180 | ;; | ||
| 1181 | esac | ||
| 1182 | case "${with_x10}" in | ||
| 1183 | yes ) | ||
| 1184 | window_system=x10 | ||
| 1185 | ;; | ||
| 1186 | no ) | ||
| 1187 | window_system=none | ||
| 1188 | ;; | ||
| 1189 | esac | ||
| 1177 | ;; | 1190 | ;; |
| 1178 | esac | 1191 | esac |
| 1179 | 1192 | ||
| @@ -1577,7 +1590,7 @@ echo creating lib-src/Makefile | |||
| 1577 | sed -e 's@^# \(Generated.*\)$@/* \1 */@' \ | 1590 | sed -e 's@^# \(Generated.*\)$@/* \1 */@' \ |
| 1578 | -e 's@/\*\*/#\(.*\)$@/* \1 */@' \ | 1591 | -e 's@/\*\*/#\(.*\)$@/* \1 */@' \ |
| 1579 | < Makefile.in > junk.c | 1592 | < Makefile.in > junk.c |
| 1580 | $CPP $undefs -I. -I$top_srcdir/lib-src $CPPFLAGS junk.c | | 1593 | $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | |
| 1581 | sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > Makefile.new | 1594 | sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > Makefile.new |
| 1582 | rm -f junk.c | 1595 | rm -f junk.c |
| 1583 | chmod 444 Makefile.new; | 1596 | chmod 444 Makefile.new; |