diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-05-26 15:28:05 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-05-26 15:28:05 +0000 |
commit | ec6edaec1a0e77818f0b440eb5157011b44eda1d (patch) | |
tree | 7a3ec1c3a4968303890e26f4da2ca75850a201b2 /Build/source/texk/xdvik/configure | |
parent | 0f26e1a8f3c5c5bcb5031bec4eccedaf313ca534 (diff) |
build system: handle --without-x
git-svn-id: svn://tug.org/texlive/trunk@13482 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/configure')
-rwxr-xr-x | Build/source/texk/xdvik/configure | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/configure b/Build/source/texk/xdvik/configure index 7f1b4d79109..0ad6f54f414 100755 --- a/Build/source/texk/xdvik/configure +++ b/Build/source/texk/xdvik/configure @@ -21396,9 +21396,18 @@ _ACEOF fi elif test "x$default_toolkit" = xnone; then + if test "x$enable_build" = xno; then + { $as_echo "$as_me:$LINENO: WARNING: building xdvik has been disabled and would fail because +No Motif." >&5 +$as_echo "$as_me: WARNING: building xdvik has been disabled and would fail because +No Motif." >&2;} +else { { $as_echo "$as_me:$LINENO: error: No Motif." >&5 $as_echo "$as_me: error: No Motif." >&2;} { (exit 1); exit 1; }; } +fi + + else # Restore previous X_CFLAGS X_CFLAGS=$xdvi_motif_save_X_CFLAGS @@ -21570,11 +21579,20 @@ cat >>confdefs.h <<\_ACEOF _ACEOF else + if test "x$enable_build" = xno; then + { $as_echo "$as_me:$LINENO: WARNING: building xdvik has been disabled and would fail because +Sorry, you will need at least the Xaw header/library files to compile xdvik." >&5 +$as_echo "$as_me: WARNING: building xdvik has been disabled and would fail because +Sorry, you will need at least the Xaw header/library files to compile xdvik." >&2;} +else { { $as_echo "$as_me:$LINENO: error: Sorry, you will need at least the Xaw header/library files to compile xdvik." >&5 $as_echo "$as_me: error: Sorry, you will need at least the Xaw header/library files to compile xdvik." >&2;} { (exit 1); exit 1; }; } fi + +fi + fi fi |