Author: Gianluca Guida <glguida@tlbflush.org>
Date: Sun Feb 26 18:27:43 UTC 2017
Parent: 11605a717eceb1d895525934c367bcbf4de9e04d
Log message:
configure.ac: require libsigsegv
1: diff --git a/configure b/configure
2: index d095f86..55603f4 100755
3: --- a/configure
4: +++ b/configure
5: @@ -656,11 +656,6 @@ FGREP
6: LIBTOOL
7: LIBOBJS
8: ALLOCA
9: -BDW_GC_LIBS
10: -BDW_GC_CFLAGS
11: -PKG_CONFIG_LIBDIR
12: -PKG_CONFIG_PATH
13: -PKG_CONFIG
14: LTLIBREADLINE
15: LIBREADLINE
16: LIBSIGSEGV_PREFIX
17: @@ -677,6 +672,11 @@ build_os
18: build_vendor
19: build_cpu
20: build
21: +BDW_GC_LIBS
22: +BDW_GC_CFLAGS
23: +PKG_CONFIG_LIBDIR
24: +PKG_CONFIG_PATH
25: +PKG_CONFIG
26: LEXLIB
27: LEX_OUTPUT_ROOT
28: LEX
29: @@ -795,12 +795,12 @@ LIBS
30: CPPFLAGS
31: YACC
32: YFLAGS
33: -CPP
34: PKG_CONFIG
35: PKG_CONFIG_PATH
36: PKG_CONFIG_LIBDIR
37: BDW_GC_CFLAGS
38: BDW_GC_LIBS
39: +CPP
40: LT_SYS_LIBRARY_PATH'
41:
42:
43: @@ -1464,7 +1464,6 @@ Some influential environment variables:
44: YFLAGS The list of arguments that will be passed by default to $YACC.
45: This script will default YFLAGS to the empty string to avoid a
46: default value of `-d' given by some make applications.
47: - CPP C preprocessor
48: PKG_CONFIG path to pkg-config utility
49: PKG_CONFIG_PATH
50: directories to add to pkg-config's search path
51: @@ -1473,6 +1472,7 @@ Some influential environment variables:
52: BDW_GC_CFLAGS
53: C compiler flags for BDW_GC, overriding pkg-config
54: BDW_GC_LIBS linker flags for BDW_GC, overriding pkg-config
55: + CPP C preprocessor
56: LT_SYS_LIBRARY_PATH
57: User-defined run-time library search path.
58:
59: @@ -4198,7 +4198,7 @@ x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version
60:
61: else
62: :
63: - as_fn_error $? "Require bison 3.0 or later" "$LINENO" 5
64: + as_fn_error $? "Requires bison 3.0 or later" "$LINENO" 5
65:
66: fi
67:
68: @@ -4207,7 +4207,7 @@ else
69:
70: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find bison" >&5
71: $as_echo "$as_me: WARNING: could not find bison" >&2;}
72: - as_fn_error $? "Require bison 3.0 or later" "$LINENO" 5
73: + as_fn_error $? "Requires bison 3.0 or later" "$LINENO" 5
74:
75: fi
76:
77: @@ -4420,6 +4420,217 @@ fi
78:
79: # Checks for libraries.
80:
81: +
82: +
83: +
84: +
85: +
86: +
87: +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
88: + if test -n "$ac_tool_prefix"; then
89: + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
90: +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
91: +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
92: +$as_echo_n "checking for $ac_word... " >&6; }
93: +if ${ac_cv_path_PKG_CONFIG+:} false; then :
94: + $as_echo_n "(cached) " >&6
95: +else
96: + case $PKG_CONFIG in
97: + [\\/]* | ?:[\\/]*)
98: + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
99: + ;;
100: + *)
101: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102: +for as_dir in $PATH
103: +do
104: + IFS=$as_save_IFS
105: + test -z "$as_dir" && as_dir=.
106: + for ac_exec_ext in '' $ac_executable_extensions; do
107: + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
108: + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
109: + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
110: + break 2
111: + fi
112: +done
113: + done
114: +IFS=$as_save_IFS
115: +
116: + ;;
117: +esac
118: +fi
119: +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
120: +if test -n "$PKG_CONFIG"; then
121: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
122: +$as_echo "$PKG_CONFIG" >&6; }
123: +else
124: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
125: +$as_echo "no" >&6; }
126: +fi
127: +
128: +
129: +fi
130: +if test -z "$ac_cv_path_PKG_CONFIG"; then
131: + ac_pt_PKG_CONFIG=$PKG_CONFIG
132: + # Extract the first word of "pkg-config", so it can be a program name with args.
133: +set dummy pkg-config; ac_word=$2
134: +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
135: +$as_echo_n "checking for $ac_word... " >&6; }
136: +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
137: + $as_echo_n "(cached) " >&6
138: +else
139: + case $ac_pt_PKG_CONFIG in
140: + [\\/]* | ?:[\\/]*)
141: + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
142: + ;;
143: + *)
144: + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
145: +for as_dir in $PATH
146: +do
147: + IFS=$as_save_IFS
148: + test -z "$as_dir" && as_dir=.
149: + for ac_exec_ext in '' $ac_executable_extensions; do
150: + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
151: + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
152: + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
153: + break 2
154: + fi
155: +done
156: + done
157: +IFS=$as_save_IFS
158: +
159: + ;;
160: +esac
161: +fi
162: +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
163: +if test -n "$ac_pt_PKG_CONFIG"; then
164: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
165: +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
166: +else
167: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
168: +$as_echo "no" >&6; }
169: +fi
170: +
171: + if test "x$ac_pt_PKG_CONFIG" = x; then
172: + PKG_CONFIG=""
173: + else
174: + case $cross_compiling:$ac_tool_warned in
175: +yes:)
176: +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
177: +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
178: +ac_tool_warned=yes ;;
179: +esac
180: + PKG_CONFIG=$ac_pt_PKG_CONFIG
181: + fi
182: +else
183: + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
184: +fi
185: +
186: +fi
187: +if test -n "$PKG_CONFIG"; then
188: + _pkg_min_version=0.9.0
189: + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
190: +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
191: + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
192: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
193: +$as_echo "yes" >&6; }
194: + else
195: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
196: +$as_echo "no" >&6; }
197: + PKG_CONFIG=""
198: + fi
199: +fi
200: +
201: +pkg_failed=no
202: +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BDW_GC" >&5
203: +$as_echo_n "checking for BDW_GC... " >&6; }
204: +
205: +if test -n "$BDW_GC_CFLAGS"; then
206: + pkg_cv_BDW_GC_CFLAGS="$BDW_GC_CFLAGS"
207: + elif test -n "$PKG_CONFIG"; then
208: + if test -n "$PKG_CONFIG" && \
209: + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
210: + ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
211: + ac_status=$?
212: + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
213: + test $ac_status = 0; }; then
214: + pkg_cv_BDW_GC_CFLAGS=`$PKG_CONFIG --cflags "bdw-gc" 2>/dev/null`
215: + test "x$?" != "x0" && pkg_failed=yes
216: +else
217: + pkg_failed=yes
218: +fi
219: + else
220: + pkg_failed=untried
221: +fi
222: +if test -n "$BDW_GC_LIBS"; then
223: + pkg_cv_BDW_GC_LIBS="$BDW_GC_LIBS"
224: + elif test -n "$PKG_CONFIG"; then
225: + if test -n "$PKG_CONFIG" && \
226: + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
227: + ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
228: + ac_status=$?
229: + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
230: + test $ac_status = 0; }; then
231: + pkg_cv_BDW_GC_LIBS=`$PKG_CONFIG --libs "bdw-gc" 2>/dev/null`
232: + test "x$?" != "x0" && pkg_failed=yes
233: +else
234: + pkg_failed=yes
235: +fi
236: + else
237: + pkg_failed=untried
238: +fi
239: +
240: +
241: +
242: +if test $pkg_failed = yes; then
243: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
244: +$as_echo "no" >&6; }
245: +
246: +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
247: + _pkg_short_errors_supported=yes
248: +else
249: + _pkg_short_errors_supported=no
250: +fi
251: + if test $_pkg_short_errors_supported = yes; then
252: + BDW_GC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bdw-gc" 2>&1`
253: + else
254: + BDW_GC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bdw-gc" 2>&1`
255: + fi
256: + # Put the nasty error message in config.log where it belongs
257: + echo "$BDW_GC_PKG_ERRORS" >&5
258: +
259: + as_fn_error $? "Package requirements (bdw-gc) were not met:
260: +
261: +$BDW_GC_PKG_ERRORS
262: +
263: +Consider adjusting the PKG_CONFIG_PATH environment variable if you
264: +installed software in a non-standard prefix.
265: +
266: +Alternatively, you may set the environment variables BDW_GC_CFLAGS
267: +and BDW_GC_LIBS to avoid the need to call pkg-config.
268: +See the pkg-config man page for more details." "$LINENO" 5
269: +elif test $pkg_failed = untried; then
270: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
271: +$as_echo "no" >&6; }
272: + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
273: +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
274: +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
275: +is in your PATH or set the PKG_CONFIG environment variable to the full
276: +path to pkg-config.
277: +
278: +Alternatively, you may set the environment variables BDW_GC_CFLAGS
279: +and BDW_GC_LIBS to avoid the need to call pkg-config.
280: +See the pkg-config man page for more details.
281: +
282: +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
283: +See \`config.log' for more details" "$LINENO" 5; }
284: +else
285: + BDW_GC_CFLAGS=$pkg_cv_BDW_GC_CFLAGS
286: + BDW_GC_LIBS=$pkg_cv_BDW_GC_LIBS
287: + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
288: +$as_echo "yes" >&6; }
289: +
290: +fi
291: +
292: if test "X$prefix" = "XNONE"; then
293: acl_final_prefix="$ac_default_prefix"
294: else
295: @@ -5465,7 +5676,7 @@ _ACEOF
296: if ac_fn_c_try_link "$LINENO"; then :
297: ac_cv_libsigsegv=yes
298: else
299: - ac_cv_libsigsegv='no, consider installing GNU libsigsegv'
300: + ac_cv_libsigsegv='as_fn_error $? "requires GNU libsigsegv" "$LINENO" 5'
301: fi
302: rm -f core conftest.err conftest.$ac_objext \
303: conftest$ac_exeext conftest.$ac_ext
304: @@ -6200,217 +6411,6 @@ done
305:
306:
307:
308: -
309: -
310: -
311: -
312: -
313: -
314: -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
315: - if test -n "$ac_tool_prefix"; then
316: - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
317: -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
318: -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
319: -$as_echo_n "checking for $ac_word... " >&6; }
320: -if ${ac_cv_path_PKG_CONFIG+:} false; then :
321: - $as_echo_n "(cached) " >&6
322: -else
323: - case $PKG_CONFIG in
324: - [\\/]* | ?:[\\/]*)
325: - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
326: - ;;
327: - *)
328: - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
329: -for as_dir in $PATH
330: -do
331: - IFS=$as_save_IFS
332: - test -z "$as_dir" && as_dir=.
333: - for ac_exec_ext in '' $ac_executable_extensions; do
334: - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
335: - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
336: - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
337: - break 2
338: - fi
339: -done
340: - done
341: -IFS=$as_save_IFS
342: -
343: - ;;
344: -esac
345: -fi
346: -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
347: -if test -n "$PKG_CONFIG"; then
348: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
349: -$as_echo "$PKG_CONFIG" >&6; }
350: -else
351: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
352: -$as_echo "no" >&6; }
353: -fi
354: -
355: -
356: -fi
357: -if test -z "$ac_cv_path_PKG_CONFIG"; then
358: - ac_pt_PKG_CONFIG=$PKG_CONFIG
359: - # Extract the first word of "pkg-config", so it can be a program name with args.
360: -set dummy pkg-config; ac_word=$2
361: -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
362: -$as_echo_n "checking for $ac_word... " >&6; }
363: -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
364: - $as_echo_n "(cached) " >&6
365: -else
366: - case $ac_pt_PKG_CONFIG in
367: - [\\/]* | ?:[\\/]*)
368: - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
369: - ;;
370: - *)
371: - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
372: -for as_dir in $PATH
373: -do
374: - IFS=$as_save_IFS
375: - test -z "$as_dir" && as_dir=.
376: - for ac_exec_ext in '' $ac_executable_extensions; do
377: - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
378: - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
379: - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
380: - break 2
381: - fi
382: -done
383: - done
384: -IFS=$as_save_IFS
385: -
386: - ;;
387: -esac
388: -fi
389: -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
390: -if test -n "$ac_pt_PKG_CONFIG"; then
391: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
392: -$as_echo "$ac_pt_PKG_CONFIG" >&6; }
393: -else
394: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
395: -$as_echo "no" >&6; }
396: -fi
397: -
398: - if test "x$ac_pt_PKG_CONFIG" = x; then
399: - PKG_CONFIG=""
400: - else
401: - case $cross_compiling:$ac_tool_warned in
402: -yes:)
403: -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
404: -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
405: -ac_tool_warned=yes ;;
406: -esac
407: - PKG_CONFIG=$ac_pt_PKG_CONFIG
408: - fi
409: -else
410: - PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
411: -fi
412: -
413: -fi
414: -if test -n "$PKG_CONFIG"; then
415: - _pkg_min_version=0.9.0
416: - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
417: -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
418: - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
419: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
420: -$as_echo "yes" >&6; }
421: - else
422: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
423: -$as_echo "no" >&6; }
424: - PKG_CONFIG=""
425: - fi
426: -fi
427: -
428: -pkg_failed=no
429: -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BDW_GC" >&5
430: -$as_echo_n "checking for BDW_GC... " >&6; }
431: -
432: -if test -n "$BDW_GC_CFLAGS"; then
433: - pkg_cv_BDW_GC_CFLAGS="$BDW_GC_CFLAGS"
434: - elif test -n "$PKG_CONFIG"; then
435: - if test -n "$PKG_CONFIG" && \
436: - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
437: - ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
438: - ac_status=$?
439: - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
440: - test $ac_status = 0; }; then
441: - pkg_cv_BDW_GC_CFLAGS=`$PKG_CONFIG --cflags "bdw-gc" 2>/dev/null`
442: - test "x$?" != "x0" && pkg_failed=yes
443: -else
444: - pkg_failed=yes
445: -fi
446: - else
447: - pkg_failed=untried
448: -fi
449: -if test -n "$BDW_GC_LIBS"; then
450: - pkg_cv_BDW_GC_LIBS="$BDW_GC_LIBS"
451: - elif test -n "$PKG_CONFIG"; then
452: - if test -n "$PKG_CONFIG" && \
453: - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
454: - ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
455: - ac_status=$?
456: - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
457: - test $ac_status = 0; }; then
458: - pkg_cv_BDW_GC_LIBS=`$PKG_CONFIG --libs "bdw-gc" 2>/dev/null`
459: - test "x$?" != "x0" && pkg_failed=yes
460: -else
461: - pkg_failed=yes
462: -fi
463: - else
464: - pkg_failed=untried
465: -fi
466: -
467: -
468: -
469: -if test $pkg_failed = yes; then
470: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
471: -$as_echo "no" >&6; }
472: -
473: -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
474: - _pkg_short_errors_supported=yes
475: -else
476: - _pkg_short_errors_supported=no
477: -fi
478: - if test $_pkg_short_errors_supported = yes; then
479: - BDW_GC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bdw-gc" 2>&1`
480: - else
481: - BDW_GC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bdw-gc" 2>&1`
482: - fi
483: - # Put the nasty error message in config.log where it belongs
484: - echo "$BDW_GC_PKG_ERRORS" >&5
485: -
486: - as_fn_error $? "Package requirements (bdw-gc) were not met:
487: -
488: -$BDW_GC_PKG_ERRORS
489: -
490: -Consider adjusting the PKG_CONFIG_PATH environment variable if you
491: -installed software in a non-standard prefix.
492: -
493: -Alternatively, you may set the environment variables BDW_GC_CFLAGS
494: -and BDW_GC_LIBS to avoid the need to call pkg-config.
495: -See the pkg-config man page for more details." "$LINENO" 5
496: -elif test $pkg_failed = untried; then
497: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
498: -$as_echo "no" >&6; }
499: - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
500: -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
501: -as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
502: -is in your PATH or set the PKG_CONFIG environment variable to the full
503: -path to pkg-config.
504: -
505: -Alternatively, you may set the environment variables BDW_GC_CFLAGS
506: -and BDW_GC_LIBS to avoid the need to call pkg-config.
507: -See the pkg-config man page for more details.
508: -
509: -To get pkg-config, see <http://pkg-config.freedesktop.org/>.
510: -See \`config.log' for more details" "$LINENO" 5; }
511: -else
512: - BDW_GC_CFLAGS=$pkg_cv_BDW_GC_CFLAGS
513: - BDW_GC_LIBS=$pkg_cv_BDW_GC_LIBS
514: - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
515: -$as_echo "yes" >&6; }
516: -
517: -fi
518: -
519: # Checks for header files.
520: for ac_header in inttypes.h limits.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h
521: do :
522: diff --git a/configure.ac b/configure.ac
523: index e5f0354..fd3fd4e 100644
524: --- a/configure.ac
525: +++ b/configure.ac
526: @@ -11,14 +11,14 @@ AC_CONFIG_MACRO_DIRS([m4])
527: AC_PROG_CC
528:
529: AC_PATH_PROG([BISON],[bison])
530: -AX_PROG_BISON_VERSION([3.0], [], AC_MSG_ERROR([Require bison 3.0 or later]))
531: +AX_PROG_BISON_VERSION([3.0], [], AC_MSG_ERROR([Requires bison 3.0 or later]))
532: AC_PROG_YACC
533: AM_PROG_LEX
534:
535: # Checks for libraries.
536: +PKG_CHECK_MODULES([BDW_GC],[bdw-gc])
537: gl_LIBSIGSEGV
538: gl_FUNC_READLINE
539: -PKG_CHECK_MODULES([BDW_GC],[bdw-gc])
540:
541: # Checks for header files.
542: AC_CHECK_HEADERS([inttypes.h limits.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h])
543: diff --git a/m4/libsigsegv.m4 b/m4/libsigsegv.m4
544: index 4156400..8397085 100644
545: --- a/m4/libsigsegv.m4
546: +++ b/m4/libsigsegv.m4
547: @@ -10,7 +10,7 @@ AC_DEFUN([gl_LIBSIGSEGV],
548: [
549: AC_LIB_HAVE_LINKFLAGS([sigsegv], [],
550: [#include <sigsegv.h>], [sigsegv_deinstall_handler();],
551: - [no, consider installing GNU libsigsegv])
552: + AC_MSG_ERROR([requires GNU libsigsegv]))
553: dnl Some other autoconf macros and clisp's configure use this variable.
554: gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
555: ])