blob: 60c1d683e277a77762f88da52c488e69ae086297 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- a/tcltk/BUILD_DIR/configure 2021-07-13 14:18:46.000000000 -0500
+++ b/tcltk/BUILD_DIR/configure 2022-02-15 13:32:41.678576015 -0600
@@ -6080,36 +6080,6 @@
x_includes="/usr/local/include"
fi
fi
- # AC_PATH_X checks for Xlib.h, but somehow a missing X11/Xlib.h can
- # still get past it and cause problems later in the build (tk.h), so
- # try an additional test here just to make sure that it's installed:
- if test "x$x_includes" = "x"; then
- as_fn_error $? "No X11 include directory found. Please specify location using --x-includes option." "$LINENO" 5
- else
- xlib_h="$x_includes/X11/Xlib.h"
- xintrinsic_h="$x_includes/X11/Intrinsic.h"
- xstringdefs_h="$x_includes/X11/StringDefs.h"
- if test -f $xlib_h; then
- if test -f $xintrinsic_h; then
- if test -f $xstringdefs_h; then
- XINCLUDES="-I$x_includes"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found $xlib_h" >&5
-$as_echo "Found $xlib_h" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $x_includes for X11 header files" >&5
-$as_echo "Using $x_includes for X11 header files" >&6; }
- else
- as_fn_error $? "Required header X11/StringDefs.h not found in $x_includes" "$LINENO" 5
- as_fn_error $? "X11 Development package is required in order to build HEASOFT" "$LINENO" 5
- fi
- else
- as_fn_error $? "Required header X11/Intrinsic.h not found in $x_includes" "$LINENO" 5
- as_fn_error $? "X11 Development package is required in order to build HEASOFT" "$LINENO" 5
- fi
- else
- as_fn_error $? "Required header X11/Xlib.h not found in $x_includes" "$LINENO" 5
- as_fn_error $? "X11 Development package is required in order to build HEASOFT" "$LINENO" 5
- fi
- fi
# X11 libraries: Having a -L path for libX11 is not always necessary,
# but when passing a value for x_includes to external packages (e.g.
|