annotate configure @ 2988:dfab2dfa9bc1

Check DW_FEATURE_HTML_MESSAGE to decide if the raw html widget should have the javascript code or not. This prevents error popups when clicking the "dwtest" text when using the IE HTML widget.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 04 Apr 2023 01:08:14 +0000
parents d84182f0054e
children a464a74505f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 #! /bin/sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3 # Generated by GNU Autoconf 2.71 for dwindows 3.3.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5 #
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7 # Inc.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8 #
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
9 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
10 # This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
11 # gives unlimited permission to copy, distribute and modify it.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
12 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
13 ## M4sh Initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
14 ## -------------------- ##
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
15
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
16 # Be more Bourne compatible
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
17 DUALCASE=1; export DUALCASE # for MKS sh
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
18 as_nop=:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
20 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 NULLCMD=:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
24 # is contrary to our usage. Disable this feature.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
25 alias -g '${1+"$@"}'='"$@"'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
26 setopt NO_GLOB_SUBST
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
27 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
28 case `(set -o) 2>/dev/null` in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
29 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
30 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
31 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
32 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
33 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
34 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
35
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
36
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
37
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
38 # Reset variables that may have inherited troublesome values from
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
39 # the environment.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
40
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
43 # side effect of setting IFS to empty, thus disabling word splitting.)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
44 # Quoting is to prevent editors from complaining about space-tab.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
45 as_nl='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
46 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
47 export as_nl
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
48 IFS=" "" $as_nl"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
49
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
50 PS1='$ '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
51 PS2='> '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
52 PS4='+ '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
53
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
54 # Ensure predictable behavior from utilities with locale-dependent output.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
55 LC_ALL=C
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
56 export LC_ALL
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
57 LANGUAGE=C
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
58 export LANGUAGE
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
59
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
60 # We cannot yet rely on "unset" to work, but we need these variables
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
61 # to be unset--not just set to an empty or harmless value--now, to
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
63 # also avoids known problems related to "unset" and subshell syntax
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
66 do eval test \${$as_var+y} \
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
68 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
69
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
70 # Ensure that fds 0, 1, and 2 are open.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
74
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
75 # The user is always right.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
76 if ${PATH_SEPARATOR+false} :; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
77 PATH_SEPARATOR=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
80 PATH_SEPARATOR=';'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
81 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
82 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
83
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
84
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
85 # Find who we are. Look in the path if we contain no directory separator.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
86 as_myself=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
87 case $0 in #((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
88 *[\\/]* ) as_myself=$0 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
90 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
91 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
92 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
93 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
94 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
95 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
96 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
97 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
99 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
100 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
101
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
102 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
103 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
105 # in which case we are not to be found in the path.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
106 if test "x$as_myself" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
107 as_myself=$0
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
108 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
109 if test ! -f "$as_myself"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
111 exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
112 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
113
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
114
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
115 # Use a proper internal environment variable to ensure we don't fall
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
116 # into an infinite loop, continuously re-executing ourselves.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
118 _as_can_reexec=no; export _as_can_reexec;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
119 # We cannot yet assume a decent shell, so we have to provide a
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
120 # neutralization value for shells without unset; and this also
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
121 # works around shells that cannot unset nonexistent variables.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
122 # Preserve -v and -x to the replacement shell.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
123 BASH_ENV=/dev/null
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
124 ENV=/dev/null
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
126 case $- in # ((((
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
127 *v*x* | *x*v* ) as_opts=-vx ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
128 *v* ) as_opts=-v ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
129 *x* ) as_opts=-x ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
130 * ) as_opts= ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
131 esac
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
133 # Admittedly, this is quite paranoid, since all the known shells bail
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
134 # out after a failed `exec'.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
136 exit 255
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
137 fi
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
138 # We don't want this to propagate to other subprocesses.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
139 { _as_can_reexec=; unset _as_can_reexec;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
140 if test "x$CONFIG_SHELL" = x; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
141 as_bourne_compatible="as_nop=:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
143 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
144 emulate sh
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
145 NULLCMD=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
147 # is contrary to our usage. Disable this feature.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
149 setopt NO_GLOB_SUBST
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
150 else \$as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
151 case \`(set -o) 2>/dev/null\` in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
152 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
153 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
154 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
155 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
156 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
157 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
158 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
159 as_required="as_fn_return () { (exit \$1); }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
160 as_fn_success () { as_fn_return 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
161 as_fn_failure () { as_fn_return 1; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
162 as_fn_ret_success () { return 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
163 as_fn_ret_failure () { return 1; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
164
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
165 exitcode=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
171 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
172
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
173 else \$as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
174 exitcode=1; echo positional parameters were not saved.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
175 fi
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
176 test x\$exitcode = x0 || exit 1
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
177 blah=\$(echo \$(echo blah))
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
178 test x\"\$blah\" = xblah || exit 1
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
179 test -x / || exit 1"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
184 if (eval "$as_required") 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
185 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
186 as_have_required=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
187 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
188 as_have_required=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
189 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
191 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
192
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
193 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
195 as_found=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
197 do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
198 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
199 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
200 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
201 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
202 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
203 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
204 as_found=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
205 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
206 /*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
207 for as_base in sh bash ksh sh5; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
208 # Try only shells that exist, to save several forks.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
209 as_shell=$as_dir$as_base
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
212 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
213 CONFIG_SHELL=$as_shell as_have_required=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
215 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
216 break 2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
217 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
218 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
219 done;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
220 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
221 as_found=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
222 done
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
223 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
224 if $as_found
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
225 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
226
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
227 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
230 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
231 CONFIG_SHELL=$SHELL as_have_required=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
232 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
233 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
234
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
235
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
236 if test "x$CONFIG_SHELL" != x
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
237 then :
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
238 export CONFIG_SHELL
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
239 # We cannot yet assume a decent shell, so we have to provide a
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
240 # neutralization value for shells without unset; and this also
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
241 # works around shells that cannot unset nonexistent variables.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
242 # Preserve -v and -x to the replacement shell.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
243 BASH_ENV=/dev/null
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
244 ENV=/dev/null
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
246 case $- in # ((((
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
247 *v*x* | *x*v* ) as_opts=-vx ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
248 *v* ) as_opts=-v ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
249 *x* ) as_opts=-x ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
250 * ) as_opts= ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
251 esac
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
253 # Admittedly, this is quite paranoid, since all the known shells bail
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
254 # out after a failed `exec'.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
255 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
256 exit 255
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
257 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
258
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
259 if test x$as_have_required = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
260 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
261 printf "%s\n" "$0: This script requires a shell more modern than all"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
262 printf "%s\n" "$0: the shells that I found on your system."
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
263 if test ${ZSH_VERSION+y} ; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
266 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
267 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
268 $0: including any error possibly output before this
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
269 $0: message. Then install a modern shell, or manually run
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
270 $0: the script under such a shell if you do have one."
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
271 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
272 exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
273 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
274 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
275 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
276 SHELL=${CONFIG_SHELL-/bin/sh}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
277 export SHELL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
278 # Unset more variables known to interfere with behavior of common tools.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
279 CLICOLOR_FORCE= GREP_OPTIONS=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
280 unset CLICOLOR_FORCE GREP_OPTIONS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
281
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
282 ## --------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
283 ## M4sh Shell Functions. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
284 ## --------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
285 # as_fn_unset VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
286 # ---------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
287 # Portably unset VAR.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
288 as_fn_unset ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
289 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
290 { eval $1=; unset $1;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
291 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
292 as_unset=as_fn_unset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
293
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
294
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
295 # as_fn_set_status STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
296 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
297 # Set $? to STATUS, without forking.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
298 as_fn_set_status ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
299 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
300 return $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
301 } # as_fn_set_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
302
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
303 # as_fn_exit STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
304 # -----------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
306 as_fn_exit ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
307 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
308 set +e
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
309 as_fn_set_status $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
310 exit $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
311 } # as_fn_exit
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
312 # as_fn_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
313 # ---------
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
314 # Do nothing but, unlike ":", preserve the value of $?.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
315 as_fn_nop ()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
316 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
317 return $?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
318 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
319 as_nop=as_fn_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
320
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
321 # as_fn_mkdir_p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
322 # -------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
323 # Create "$as_dir" as a directory, including parents if necessary.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
324 as_fn_mkdir_p ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
325 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
326
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
327 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
328 -*) as_dir=./$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
329 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
330 test -d "$as_dir" || eval $as_mkdir_p || {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
331 as_dirs=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
332 while :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
333 case $as_dir in #(
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
335 *) as_qdir=$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
336 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
337 as_dirs="'$as_qdir' $as_dirs"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
338 as_dir=`$as_dirname -- "$as_dir" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
340 X"$as_dir" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
341 X"$as_dir" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
343 printf "%s\n" X"$as_dir" |
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
345 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
346 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
347 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
348 /^X\(\/\/\)[^/].*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
349 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
350 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
351 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
352 /^X\(\/\/\)$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
353 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
354 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
355 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
356 /^X\(\/\).*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
357 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
358 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
359 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
360 s/.*/./; q'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
361 test -d "$as_dir" && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
362 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
365
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
366
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
367 } # as_fn_mkdir_p
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
368
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
369 # as_fn_executable_p FILE
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
370 # -----------------------
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
371 # Test if FILE is an executable regular file.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
372 as_fn_executable_p ()
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
373 {
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
374 test -f "$1" && test -x "$1"
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
375 } # as_fn_executable_p
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
376 # as_fn_append VAR VALUE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
377 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
379 # advantage of any shell optimizations that allow amortized linear growth over
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
380 # repeated appends, instead of the typical quadratic growth present in naive
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
381 # implementations.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
383 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
384 eval 'as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
385 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
386 eval $1+=\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
387 }'
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
388 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
389 as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
390 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
391 eval $1=\$$1\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
392 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
393 fi # as_fn_append
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
394
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
395 # as_fn_arith ARG...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
396 # ------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
399 # must be portable across $(()) and expr.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
401 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
402 eval 'as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
403 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
404 as_val=$(( $* ))
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
405 }'
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
406 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
407 as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
408 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
409 as_val=`expr "$@" || test $? -eq 1`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
410 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
411 fi # as_fn_arith
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
412
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
413 # as_fn_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
414 # ---------
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
415 # Do nothing but, unlike ":", preserve the value of $?.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
416 as_fn_nop ()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
417 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
418 return $?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
419 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
420 as_nop=as_fn_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
421
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
423 # ----------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
426 # script with STATUS, using 1 if that was 0.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
427 as_fn_error ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
428 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
429 as_status=$1; test $as_status -eq 0 && as_status=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
430 if test "$4"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
433 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
434 printf "%s\n" "$as_me: error: $2" >&2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
435 as_fn_exit $as_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
436 } # as_fn_error
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
437
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
438 if expr a : '\(a\)' >/dev/null 2>&1 &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
440 as_expr=expr
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
441 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
442 as_expr=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
443 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
444
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
446 as_basename=basename
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
447 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
448 as_basename=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
449 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
450
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
452 as_dirname=dirname
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
453 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
454 as_dirname=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
455 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
456
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
457 as_me=`$as_basename -- "$0" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
459 X"$0" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
461 printf "%s\n" X/"$0" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
462 sed '/^.*\/\([^/][^/]*\)\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
463 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
464 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
465 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
466 /^X\/\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
467 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
468 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
469 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
470 /^X\/\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
471 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
472 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
473 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
474 s/.*/./; q'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
475
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
476 # Avoid depending upon Character Ranges.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
480 as_cr_digits='0123456789'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
482
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
483
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
489 sed -n '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
490 p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
491 /[$]LINENO/=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
492 ' <$as_myself |
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
493 sed '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
494 s/[$]LINENO.*/&-/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
495 t lineno
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
496 b
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
497 :lineno
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
498 N
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
499 :loop
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
501 t loop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
502 s/-\n.*//
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
503 ' >$as_me.lineno &&
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
504 chmod +x "$as_me.lineno" ||
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
506
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
508 # already done that, so ensure we don't try to do so again and fall
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
509 # in an infinite loop. This has already happened in practice.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
510 _as_can_reexec=no; export _as_can_reexec
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
511 # Don't try to exec as it changes $[0], causing all sort of problems
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
512 # (the dirname of $[0] is not the place where we might find the
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
513 # original and so on. Autoconf is especially sensitive to this).
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
514 . "./$as_me.lineno"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
515 # Exit status is that of the last command.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
516 exit
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
517 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
518
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
519
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
520 # Determine whether it's possible to make 'echo' print without a newline.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
522 # for compatibility with existing Makefiles.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
523 ECHO_C= ECHO_N= ECHO_T=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
524 case `echo -n x` in #(((((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
525 -n*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
526 case `echo 'xy\c'` in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
528 xy) ECHO_C='\c';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
530 ECHO_T=' ';;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
531 esac;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
532 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
533 ECHO_N='-n';;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
534 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
535
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
536 # For backward compatibility with old third-party macros, we provide
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
537 # the shell variables $as_echo and $as_echo_n. New code should use
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
539 as_echo='printf %s\n'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
540 as_echo_n='printf %s'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
541
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
542
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
543 rm -f conf$$ conf$$.exe conf$$.file
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
544 if test -d conf$$.dir; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
545 rm -f conf$$.dir/conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
546 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
547 rm -f conf$$.dir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
548 mkdir conf$$.dir 2>/dev/null
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
549 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
550 if (echo >conf$$.file) 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
552 as_ln_s='ln -s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
553 # ... but there are two gotchas:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
554 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
555 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
556 # In both cases, we have to default to `cp -pR'.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
558 as_ln_s='cp -pR'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
559 elif ln conf$$.file conf$$ 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
560 as_ln_s=ln
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
561 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
562 as_ln_s='cp -pR'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
563 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
564 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
565 as_ln_s='cp -pR'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
566 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
568 rmdir conf$$.dir 2>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
569
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
570 if mkdir -p . 2>/dev/null; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
571 as_mkdir_p='mkdir -p "$as_dir"'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
572 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
573 test -d ./-p && rmdir ./-p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
574 as_mkdir_p=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
575 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
576
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
577 as_test_x='test -x'
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
578 as_executable_p=as_fn_executable_p
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
579
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
580 # Sed expression to map a string onto a valid CPP name.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
582
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
583 # Sed expression to map a string onto a valid variable name.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
585
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
586
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
587 test -n "$DJDIR" || exec 7<&0 </dev/null
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
588 exec 6>&1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
589
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
590 # Name of the host.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
592 # so uname gets run too.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
594
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
595 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
596 # Initializations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
597 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
598 ac_default_prefix=/usr/local
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
599 ac_clean_files=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
600 ac_config_libobj_dir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
601 LIBOBJS=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
602 cross_compiling=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
603 subdirs=
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
604 MFLAGS=
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
605 MAKEFLAGS=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
606
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
607 # Identity of this package.
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
608 PACKAGE_NAME='dwindows'
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
609 PACKAGE_TARNAME='dwindows'
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
610 PACKAGE_VERSION='3.3'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
611 PACKAGE_STRING='dwindows 3.3'
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
612 PACKAGE_BUGREPORT=''
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
613 PACKAGE_URL=''
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
614
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
615 # Factoring default headers for most tests.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
616 ac_includes_default="\
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
617 #include <stddef.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
618 #ifdef HAVE_STDIO_H
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
619 # include <stdio.h>
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
620 #endif
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
621 #ifdef HAVE_STDLIB_H
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
622 # include <stdlib.h>
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
623 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
624 #ifdef HAVE_STRING_H
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
625 # include <string.h>
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
626 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
627 #ifdef HAVE_INTTYPES_H
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
628 # include <inttypes.h>
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
629 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
630 #ifdef HAVE_STDINT_H
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
631 # include <stdint.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
632 #endif
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
633 #ifdef HAVE_STRINGS_H
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
634 # include <strings.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
635 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
636 #ifdef HAVE_SYS_TYPES_H
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
637 # include <sys/types.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
638 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
639 #ifdef HAVE_SYS_STAT_H
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
640 # include <sys/stat.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
641 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
642 #ifdef HAVE_UNISTD_H
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
643 # include <unistd.h>
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
644 #endif"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
645
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
646 ac_header_c_list=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
647 ac_subst_vars='LTLIBOBJS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
648 LIBOBJS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
649 ARCH
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
650 INSTALL_TEST
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
651 INSTALL_COMPAT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
652 COMPAT_OBJECT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
653 BROWSER_OBJECT
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
654 DW_GRESOURCE
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
655 DW_DEFINE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
656 DW_DIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
657 DW_SRC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
658 TARGETS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
659 SONAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
660 LIBPREFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
661 LIBSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
662 SOSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
663 SHAREDFLAG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
664 MKDIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
665 MV
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
666 CP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
667 LN
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
668 RM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
669 ARFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
670 PLATCCFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
671 INCLUDES
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
672 SYSCONF_LINK_TARGET_STATIC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
673 SYSCONF_LINK_TARGET_SHARED2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
674 SYSCONF_LINK_TARGET_SHARED
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
675 GLIB_LIBS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
676 GLIB_CFLAGS
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
677 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
678 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
679 PKG_CONFIG
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
680 PKG_CFG
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
681 X_EXTRA_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
682 X_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
683 X_PRE_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
684 X_CFLAGS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
685 CPP
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
686 XMKMF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
687 target_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
688 target_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
689 target_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
690 target
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
691 host_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
692 host_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
693 host_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
694 host
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
695 build_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
696 build_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
697 build_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
698 build
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
699 INSTALL_DATA
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
700 INSTALL_SCRIPT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
701 INSTALL_PROGRAM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
702 SVNVERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
703 MAKE
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
704 HAVE_CXX11
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
705 ac_ct_CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
706 CXXFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
707 CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
708 OBJEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
709 EXEEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
710 ac_ct_CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
711 CPPFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
712 LDFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
713 CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
714 CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
715 TARGET2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
716 TARGET
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
717 target_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
718 host_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
719 build_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
720 LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
721 ECHO_T
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
722 ECHO_N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
723 ECHO_C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
724 DEFS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
725 mandir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
726 localedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
727 libdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
728 psdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
729 pdfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
730 dvidir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
731 htmldir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
732 infodir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
733 docdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
734 oldincludedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
735 includedir
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
736 runstatedir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
737 localstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
738 sharedstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
739 sysconfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
740 datadir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
741 datarootdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
742 libexecdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
743 sbindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
744 bindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
745 program_transform_name
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
746 prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
747 exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
748 PACKAGE_URL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
749 PACKAGE_BUGREPORT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
750 PACKAGE_STRING
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
751 PACKAGE_VERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
752 PACKAGE_TARNAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
753 PACKAGE_NAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
754 PATH_SEPARATOR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
755 SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
756 ac_subst_files=''
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
757 ac_user_opts='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
758 enable_option_checking
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
759 with_dwcompat
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
760 with_gtk2
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
761 with_gtk4
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
762 with_deprecated
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
763 with_arch
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
764 with_sdk
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
765 with_minver
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
766 with_x
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
767 '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
768 ac_precious_vars='build_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
769 host_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
770 target_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
771 CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
772 CFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
773 LDFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
774 LIBS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
775 CPPFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
776 CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
777 CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
778 CCC
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
779 XMKMF
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
780 CPP
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
781 PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
782 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
783 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
784 GLIB_CFLAGS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
785 GLIB_LIBS'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
786
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
787
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
788 # Initialize some variables set by options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
789 ac_init_help=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
790 ac_init_version=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
791 ac_unrecognized_opts=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
792 ac_unrecognized_sep=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
793 # The variables have the same names as the options, with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
794 # dashes changed to underlines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
795 cache_file=/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
796 exec_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
797 no_create=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
798 no_recursion=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
799 prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
800 program_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
801 program_suffix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
802 program_transform_name=s,x,x,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
803 silent=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
804 site=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
805 srcdir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
806 verbose=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
807 x_includes=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
808 x_libraries=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
809
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
810 # Installation directory options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
812 # and all the variables that are supposed to be based on exec_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
813 # by default will actually change.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
814 # Use braces instead of parens because sh, perl, etc. also accept them.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
815 # (The list follows the same order as the GNU Coding Standards.)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
816 bindir='${exec_prefix}/bin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
817 sbindir='${exec_prefix}/sbin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
818 libexecdir='${exec_prefix}/libexec'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
819 datarootdir='${prefix}/share'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
820 datadir='${datarootdir}'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
821 sysconfdir='${prefix}/etc'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
822 sharedstatedir='${prefix}/com'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
823 localstatedir='${prefix}/var'
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
824 runstatedir='${localstatedir}/run'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
825 includedir='${prefix}/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
826 oldincludedir='/usr/include'
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
828 infodir='${datarootdir}/info'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
829 htmldir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
830 dvidir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
831 pdfdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
832 psdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
833 libdir='${exec_prefix}/lib'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
834 localedir='${datarootdir}/locale'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
835 mandir='${datarootdir}/man'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
836
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
837 ac_prev=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
838 ac_dashdash=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
839 for ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
840 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
841 # If the previous option needs an argument, assign it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
842 if test -n "$ac_prev"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
843 eval $ac_prev=\$ac_option
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
844 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
845 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
846 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
847
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
848 case $ac_option in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
849 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
850 *=) ac_optarg= ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
851 *) ac_optarg=yes ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
852 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
853
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
854 case $ac_dashdash$ac_option in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
855 --)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
856 ac_dashdash=yes ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
857
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
858 -bindir | --bindir | --bindi | --bind | --bin | --bi)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
859 ac_prev=bindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
861 bindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
862
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
863 -build | --build | --buil | --bui | --bu)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
864 ac_prev=build_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
865 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
866 build_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
867
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
868 -cache-file | --cache-file | --cache-fil | --cache-fi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
870 ac_prev=cache_file ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
873 cache_file=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
874
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
875 --config-cache | -C)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
876 cache_file=config.cache ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
877
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
878 -datadir | --datadir | --datadi | --datad)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
879 ac_prev=datadir ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
880 -datadir=* | --datadir=* | --datadi=* | --datad=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
881 datadir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
882
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
884 | --dataroo | --dataro | --datar)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
885 ac_prev=datarootdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
888 datarootdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
889
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
890 -disable-* | --disable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
892 # Reject names that are not valid shell variable names.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
894 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
895 ac_useropt_orig=$ac_useropt
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
896 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
897 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
898 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
899 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
900 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
902 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
903 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
904 eval enable_$ac_useropt=no ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
905
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
906 -docdir | --docdir | --docdi | --doc | --do)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
907 ac_prev=docdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
908 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
909 docdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
910
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
911 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
912 ac_prev=dvidir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
913 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
914 dvidir=$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
915
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
916 -enable-* | --enable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
918 # Reject names that are not valid shell variable names.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
920 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
921 ac_useropt_orig=$ac_useropt
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
922 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
923 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
924 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
925 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
926 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
928 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
929 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
930 eval enable_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
931
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
934 | --exec | --exe | --ex)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
935 ac_prev=exec_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
938 | --exec=* | --exe=* | --ex=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
939 exec_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
940
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
941 -gas | --gas | --ga | --g)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
942 # Obsolete; use --with-gas.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
943 with_gas=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
944
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
945 -help | --help | --hel | --he | -h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
946 ac_init_help=long ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
948 ac_init_help=recursive ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
950 ac_init_help=short ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
951
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
952 -host | --host | --hos | --ho)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
953 ac_prev=host_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
954 -host=* | --host=* | --hos=* | --ho=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
955 host_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
956
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
957 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
958 ac_prev=htmldir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
959 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
960 | --ht=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
961 htmldir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
962
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
963 -includedir | --includedir | --includedi | --included | --include \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
964 | --includ | --inclu | --incl | --inc)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
965 ac_prev=includedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
967 | --includ=* | --inclu=* | --incl=* | --inc=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
968 includedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
969
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
970 -infodir | --infodir | --infodi | --infod | --info | --inf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
971 ac_prev=infodir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
973 infodir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
974
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
975 -libdir | --libdir | --libdi | --libd)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
976 ac_prev=libdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
977 -libdir=* | --libdir=* | --libdi=* | --libd=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
978 libdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
979
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
981 | --libexe | --libex | --libe)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
982 ac_prev=libexecdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
984 | --libexe=* | --libex=* | --libe=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
985 libexecdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
986
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
987 -localedir | --localedir | --localedi | --localed | --locale)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
988 ac_prev=localedir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
989 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
990 localedir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
991
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
992 -localstatedir | --localstatedir | --localstatedi | --localstated \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
993 | --localstate | --localstat | --localsta | --localst | --locals)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
994 ac_prev=localstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
995 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
996 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
997 localstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
998
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1000 ac_prev=mandir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1002 mandir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1003
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1004 -nfp | --nfp | --nf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1005 # Obsolete; use --without-fp.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1006 with_fp=no ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1007
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1009 | --no-cr | --no-c | -n)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1010 no_create=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1011
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1014 no_recursion=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1015
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1018 | --oldin | --oldi | --old | --ol | --o)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1019 ac_prev=oldincludedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1023 oldincludedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1024
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1026 ac_prev=prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1028 prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1029
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1030 -program-prefix | --program-prefix | --program-prefi | --program-pref \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1031 | --program-pre | --program-pr | --program-p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1032 ac_prev=program_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1033 -program-prefix=* | --program-prefix=* | --program-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1035 program_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1036
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1037 -program-suffix | --program-suffix | --program-suffi | --program-suff \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1038 | --program-suf | --program-su | --program-s)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1039 ac_prev=program_suffix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1040 -program-suffix=* | --program-suffix=* | --program-suffi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1042 program_suffix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1043
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1044 -program-transform-name | --program-transform-name \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1045 | --program-transform-nam | --program-transform-na \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1046 | --program-transform-n | --program-transform- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1047 | --program-transform | --program-transfor \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1048 | --program-transfo | --program-transf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1049 | --program-trans | --program-tran \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1050 | --progr-tra | --program-tr | --program-t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1051 ac_prev=program_transform_name ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1052 -program-transform-name=* | --program-transform-name=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1053 | --program-transform-nam=* | --program-transform-na=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1054 | --program-transform-n=* | --program-transform-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1055 | --program-transform=* | --program-transfor=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1056 | --program-transfo=* | --program-transf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1057 | --program-trans=* | --program-tran=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1058 | --progr-tra=* | --program-tr=* | --program-t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1059 program_transform_name=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1060
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1061 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1062 ac_prev=pdfdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1063 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1064 pdfdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1065
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1066 -psdir | --psdir | --psdi | --psd | --ps)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1067 ac_prev=psdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1068 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1069 psdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1070
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1072 | -silent | --silent | --silen | --sile | --sil)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1073 silent=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1074
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1075 -runstatedir | --runstatedir | --runstatedi | --runstated \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1076 | --runstate | --runstat | --runsta | --runst | --runs \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1077 | --run | --ru | --r)
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1078 ac_prev=runstatedir ;;
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1079 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1080 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1081 | --run=* | --ru=* | --r=*)
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1082 runstatedir=$ac_optarg ;;
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1083
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1085 ac_prev=sbindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1087 | --sbi=* | --sb=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1088 sbindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1089
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1090 -sharedstatedir | --sharedstatedir | --sharedstatedi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1091 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1092 | --sharedst | --shareds | --shared | --share | --shar \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1093 | --sha | --sh)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1094 ac_prev=sharedstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1095 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1096 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1097 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1098 | --sha=* | --sh=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1099 sharedstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1100
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1101 -site | --site | --sit)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1102 ac_prev=site ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1103 -site=* | --site=* | --sit=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1104 site=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1105
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1107 ac_prev=srcdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1109 srcdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1110
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1111 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1112 | --syscon | --sysco | --sysc | --sys | --sy)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1113 ac_prev=sysconfdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1114 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1115 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1116 sysconfdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1117
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1118 -target | --target | --targe | --targ | --tar | --ta | --t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1119 ac_prev=target_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1120 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1121 target_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1122
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1123 -v | -verbose | --verbose | --verbos | --verbo | --verb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1124 verbose=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1125
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1126 -version | --version | --versio | --versi | --vers | -V)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1127 ac_init_version=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1128
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1129 -with-* | --with-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1130 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1131 # Reject names that are not valid shell variable names.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1133 as_fn_error $? "invalid package name: \`$ac_useropt'"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1134 ac_useropt_orig=$ac_useropt
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1135 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1136 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1137 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1138 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1139 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1141 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1142 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1143 eval with_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1144
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1145 -without-* | --without-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1146 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1147 # Reject names that are not valid shell variable names.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1149 as_fn_error $? "invalid package name: \`$ac_useropt'"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1150 ac_useropt_orig=$ac_useropt
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1151 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1152 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1153 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1154 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1155 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1157 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1158 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1159 eval with_$ac_useropt=no ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1160
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1161 --x)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1162 # Obsolete; use --with-x.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1163 with_x=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1164
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1165 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1166 | --x-incl | --x-inc | --x-in | --x-i)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1167 ac_prev=x_includes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1168 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1169 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1170 x_includes=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1171
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1172 -x-libraries | --x-libraries | --x-librarie | --x-librari \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1173 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1174 ac_prev=x_libraries ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1175 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1176 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1177 x_libraries=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1178
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1179 -*) as_fn_error $? "unrecognized option: \`$ac_option'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1180 Try \`$0 --help' for more information"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1181 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1182
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1183 *=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1184 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1185 # Reject names that are not valid shell variable names.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1186 case $ac_envvar in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1187 '' | [0-9]* | *[!_$as_cr_alnum]* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1188 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1189 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1190 eval $ac_envvar=\$ac_optarg
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1191 export $ac_envvar ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1192
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1193 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1194 # FIXME: should be removed in autoconf 3.0.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1195 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1197 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1199 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1200
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1201 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1202 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1203
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1204 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1205 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1206 as_fn_error $? "missing argument to $ac_option"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1207 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1208
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1209 if test -n "$ac_unrecognized_opts"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1210 case $enable_option_checking in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1211 no) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1212 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1213 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1214 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1215 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1216
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1217 # Check all directory arguments for consistency.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1218 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1219 datadir sysconfdir sharedstatedir localstatedir includedir \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1221 libdir localedir mandir runstatedir
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1222 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1223 eval ac_val=\$$ac_var
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1224 # Remove trailing slashes.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1225 case $ac_val in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1226 */ )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1227 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1228 eval $ac_var=\$ac_val;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1229 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1230 # Be sure to have absolute directory names.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1231 case $ac_val in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1232 [\\/$]* | ?:[\\/]* ) continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1233 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1234 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1235 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1236 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1237
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1238 # There might be people who depend on the old broken behavior: `$host'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1239 # used to hold the argument of --host etc.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1240 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1241 build=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1242 host=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1243 target=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1244
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1245 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1246 if test "x$host_alias" != x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1247 if test "x$build_alias" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1248 cross_compiling=maybe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1249 elif test "x$build_alias" != "x$host_alias"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1250 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1251 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1252 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1253
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1254 ac_tool_prefix=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1256
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1257 test "$silent" = yes && exec 6>/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1258
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1259
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1261 ac_ls_di=`ls -di .` &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1263 as_fn_error $? "working directory cannot be determined"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1265 as_fn_error $? "pwd does not report name of working directory"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1266
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1267
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1268 # Find the source files, if location was not specified.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1269 if test -z "$srcdir"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1270 ac_srcdir_defaulted=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1271 # Try the directory containing this script, then the parent directory.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1272 ac_confdir=`$as_dirname -- "$as_myself" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1274 X"$as_myself" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1275 X"$as_myself" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1276 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1277 printf "%s\n" X"$as_myself" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1279 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1280 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1281 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1282 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1283 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1284 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1285 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1286 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1287 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1288 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1289 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1290 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1291 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1292 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1293 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1294 s/.*/./; q'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1295 srcdir=$ac_confdir
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1296 if test ! -r "$srcdir/$ac_unique_file"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1297 srcdir=..
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1298 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1299 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1300 ac_srcdir_defaulted=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1301 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1302 if test ! -r "$srcdir/$ac_unique_file"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1303 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1304 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1305 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1307 ac_abs_confdir=`(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1308 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1309 pwd)`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1310 # When building in place, set srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1312 srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1313 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1314 # Remove unnecessary trailing slashes from srcdir.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1315 # Double slashes in file names in object file debugging info
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1316 # mess up M-x gdb in Emacs.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1317 case $srcdir in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1319 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1320 for ac_var in $ac_precious_vars; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1321 eval ac_env_${ac_var}_set=\${${ac_var}+set}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1322 eval ac_env_${ac_var}_value=\$${ac_var}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1323 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1324 eval ac_cv_env_${ac_var}_value=\$${ac_var}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1325 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1326
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1327 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1328 # Report the --help message.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1329 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1330 if test "$ac_init_help" = "long"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1331 # Omit some internal or obsolete options to make the list less imposing.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1332 # This message is too long to be a string in the A/UX 3.1 sh.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1333 cat <<_ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1334 \`configure' configures dwindows 3.3 to adapt to many kinds of systems.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1335
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1336 Usage: $0 [OPTION]... [VAR=VALUE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1337
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1339 VAR=VALUE. See below for descriptions of some of the useful variables.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1340
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1341 Defaults for the options are specified in brackets.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1342
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1343 Configuration:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1344 -h, --help display this help and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1345 --help=short display options specific to this package
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1346 --help=recursive display the short help of all the included packages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1347 -V, --version display version information and exit
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1348 -q, --quiet, --silent do not print \`checking ...' messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1349 --cache-file=FILE cache test results in FILE [disabled]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1350 -C, --config-cache alias for \`--cache-file=config.cache'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1351 -n, --no-create do not create output files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1352 --srcdir=DIR find the sources in DIR [configure dir or \`..']
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1353
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1354 Installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1355 --prefix=PREFIX install architecture-independent files in PREFIX
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1356 [$ac_default_prefix]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1357 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1358 [PREFIX]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1359
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1360 By default, \`make install' will install all the files in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1363 for instance \`--prefix=\$HOME'.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1364
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1365 For better control, use the options below.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1366
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1367 Fine tuning of the installation directories:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1368 --bindir=DIR user executables [EPREFIX/bin]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1369 --sbindir=DIR system admin executables [EPREFIX/sbin]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1370 --libexecdir=DIR program executables [EPREFIX/libexec]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1374 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1375 --libdir=DIR object code libraries [EPREFIX/lib]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1376 --includedir=DIR C header files [PREFIX/include]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1377 --oldincludedir=DIR C header files for non-gcc [/usr/include]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1380 --infodir=DIR info documentation [DATAROOTDIR/info]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1382 --mandir=DIR man documentation [DATAROOTDIR/man]
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1383 --docdir=DIR documentation root [DATAROOTDIR/doc/dwindows]
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1384 --htmldir=DIR html documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1385 --dvidir=DIR dvi documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1386 --pdfdir=DIR pdf documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1387 --psdir=DIR ps documentation [DOCDIR]
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1388 _ACEOF
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1389
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1390 cat <<\_ACEOF
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1391
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1392 X features:
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1393 --x-includes=DIR X include files are in DIR
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1394 --x-libraries=DIR X library files are in DIR
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1395
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1396 System types:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1397 --build=BUILD configure for building on BUILD [guessed]
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1398 --host=HOST cross-compile to build programs to run on HOST [BUILD]
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1399 --target=TARGET configure for building compilers for TARGET [HOST]
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1400 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1401 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1402
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1403 if test -n "$ac_init_help"; then
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1404 case $ac_init_help in
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1405 short | recursive ) echo "Configuration of dwindows 3.3:";;
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1406 esac
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1407 cat <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1408
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1409 Optional Packages:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1595
080b764e8982 Up version number to 2.3.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1594
diff changeset
1412 --with-dwcompat specify this to build the optional dwcompat library
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
1413 --with-gtk2 specify this to build with GTK+ 2.x if available
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1414 --with-gtk4 specify this to build with GTK+ 4.x if available
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
1415 --with-deprecated specify this to build with deprecated functions
2217
6cdb907755cb Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2204
diff changeset
1416 --with-arch specify MacOS architecture: one of modern, classic, 32bit, intel, arm, powerpc
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
1417 --with-sdk specify this to build with an alternate MacOS SDK location
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
1418 --with-minver specify this to build with a minimum MacOS version
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1419 --with-x use the X Window System
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1420
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1421 Some influential environment variables:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1422 CC C compiler command
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1423 CFLAGS C compiler flags
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1425 nonstandard directory <lib dir>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1426 LIBS libraries to pass to the linker, e.g. -l<library>
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1427 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1428 you have headers in a nonstandard directory <include dir>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1429 CXX C++ compiler command
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1430 CXXFLAGS C++ compiler flags
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1431 XMKMF Path to xmkmf, Makefile generator for X Window System
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1432 CPP C preprocessor
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1433 PKG_CONFIG path to pkg-config utility
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1434 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1435 directories to add to pkg-config's search path
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1436 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1437 path overriding pkg-config's built-in search path
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1438 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1439 GLIB_LIBS linker flags for GLIB, overriding pkg-config
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1440
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1441 Use these variables to override the choices made by `configure' or to help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1442 it to find libraries and programs with nonstandard names/locations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1443
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1444 Report bugs to the package provider.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1445 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1446 ac_status=$?
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1447 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1448
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1449 if test "$ac_init_help" = "recursive"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1450 # If there are subdirs, report their specific --help.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1452 test -d "$ac_dir" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1454 continue
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1455 ac_builddir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1456
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1457 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1459 *)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1460 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1461 # A ".." for each directory in $ac_dir_suffix.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1462 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1463 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1466 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1467 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1468 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1470 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1471 ac_top_builddir=$ac_top_build_prefix
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1472
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1473 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1474 .) # We are building in place.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1475 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1476 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1477 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1479 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1480 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1481 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1482 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1486 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1488
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1489 cd "$ac_dir" || { ac_status=$?; continue; }
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1490 # Check for configure.gnu first; this name is used for a wrapper for
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1491 # Metaconfig's "Configure" on case-insensitive file systems.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1492 if test -f "$ac_srcdir/configure.gnu"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1493 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1495 elif test -f "$ac_srcdir/configure"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1496 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1497 $SHELL "$ac_srcdir/configure" --help=recursive
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1498 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1499 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1500 fi || ac_status=$?
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1501 cd "$ac_pwd" || { ac_status=$?; break; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1502 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1503 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1504
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1505 test -n "$ac_init_help" && exit $ac_status
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1506 if $ac_init_version; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1507 cat <<\_ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1508 dwindows configure 3.3
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1509 generated by GNU Autoconf 2.71
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1510
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1511 Copyright (C) 2021 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1512 This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1513 gives unlimited permission to copy, distribute and modify it.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1514 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1515 exit
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1516 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1517
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1518 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1519 ## Autoconf initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1520 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1521
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1522 # ac_fn_c_try_compile LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1523 # --------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1524 # Try to compile conftest.$ac_ext, and return whether this succeeded.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1525 ac_fn_c_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1526 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1528 rm -f conftest.$ac_objext conftest.beam
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1529 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1530 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1532 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1533 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1535 printf "%s\n" "$ac_try_echo"; } >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1536 (eval "$ac_compile") 2>conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1537 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1538 if test -s conftest.err; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1539 grep -v '^ *+' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1540 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1541 mv -f conftest.er1 conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1542 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1544 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1545 test -z "$ac_c_werror_flag" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1546 test ! -s conftest.err
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1547 } && test -s conftest.$ac_objext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1548 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1549 ac_retval=0
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1550 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1551 printf "%s\n" "$as_me: failed program was:" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1552 sed 's/^/| /' conftest.$ac_ext >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1553
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1554 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1555 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1557 as_fn_set_status $ac_retval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1558
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1559 } # ac_fn_c_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1560
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1561 # ac_fn_cxx_try_compile LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1562 # ----------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1564 ac_fn_cxx_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1565 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1567 rm -f conftest.$ac_objext conftest.beam
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1568 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1569 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1571 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1572 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1574 printf "%s\n" "$ac_try_echo"; } >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1575 (eval "$ac_compile") 2>conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1576 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1577 if test -s conftest.err; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1578 grep -v '^ *+' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1579 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1580 mv -f conftest.er1 conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1581 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1583 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1584 test -z "$ac_cxx_werror_flag" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1585 test ! -s conftest.err
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1586 } && test -s conftest.$ac_objext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1587 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1588 ac_retval=0
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1589 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1590 printf "%s\n" "$as_me: failed program was:" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1591 sed 's/^/| /' conftest.$ac_ext >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1592
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1593 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1594 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1596 as_fn_set_status $ac_retval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1597
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1598 } # ac_fn_cxx_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1599
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1600 # ac_fn_c_try_link LINENO
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1601 # -----------------------
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1602 # Try to link conftest.$ac_ext, and return whether this succeeded.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1603 ac_fn_c_try_link ()
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1604 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1606 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1607 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1608 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1610 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1611 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1613 printf "%s\n" "$ac_try_echo"; } >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1614 (eval "$ac_link") 2>conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1615 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1616 if test -s conftest.err; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1617 grep -v '^ *+' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1618 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1619 mv -f conftest.er1 conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1620 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1622 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1623 test -z "$ac_c_werror_flag" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1624 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1625 } && test -s conftest$ac_exeext && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1626 test "$cross_compiling" = yes ||
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1627 test -x conftest$ac_exeext
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1628 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1629 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1630 ac_retval=0
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1631 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1632 printf "%s\n" "$as_me: failed program was:" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1633 sed 's/^/| /' conftest.$ac_ext >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1634
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1635 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1636 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1637 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1638 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1639 # interfere with the next link command; also delete a directory that is
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1640 # left behind by Apple's compiler. We do this before executing the actions.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1643 as_fn_set_status $ac_retval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1644
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1645 } # ac_fn_c_try_link
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1646
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1647 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1648 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1649 # Tests whether HEADER exists and can be compiled using the include files in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1650 # INCLUDES, setting the cache variable VAR accordingly.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1651 ac_fn_c_check_header_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1652 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1655 printf %s "checking for $2... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1656 if eval test \${$3+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1657 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1658 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1659 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1661 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1662 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1663 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1664 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1665 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1666 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1667 eval "$3=yes"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1668 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1669 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1670 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1672 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1673 eval ac_res=\$$3
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1675 printf "%s\n" "$ac_res" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1677
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1678 } # ac_fn_c_check_header_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1679
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1680 # ac_fn_c_check_func LINENO FUNC VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1681 # ----------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1682 # Tests whether FUNC exists, setting the cache variable VAR accordingly
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1683 ac_fn_c_check_func ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1684 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1687 printf %s "checking for $2... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1688 if eval test \${$3+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1689 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1690 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1691 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1693 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1694 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1696 #define $2 innocuous_$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1697
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1698 /* System header to define __stub macros and hopefully few prototypes,
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1699 which can conflict with char $2 (); below. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1700
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1701 #include <limits.h>
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1702 #undef $2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1703
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1704 /* Override any GCC internal prototype to avoid an error.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1705 Use char because int might match the return type of a GCC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1706 builtin and then its argument prototype would still apply. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1707 #ifdef __cplusplus
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1708 extern "C"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1709 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1710 char $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1711 /* The GNU C library defines this for functions which it implements
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1712 to always fail with ENOSYS. Some functions are actually named
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1713 something starting with __ and the normal name is an alias. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1714 #if defined __stub_$2 || defined __stub___$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1715 choke me
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1716 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1717
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1718 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1719 main (void)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1720 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1721 return $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1722 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1723 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1724 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1725 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1726 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1727 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1728 eval "$3=yes"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1729 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1730 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1731 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1733 conftest$ac_exeext conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1734 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1735 eval ac_res=\$$3
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1737 printf "%s\n" "$ac_res" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1739
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1740 } # ac_fn_c_check_func
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1741
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1742 # ac_fn_c_try_cpp LINENO
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1743 # ----------------------
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1744 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1745 ac_fn_c_try_cpp ()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1746 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1748 if { { ac_try="$ac_cpp conftest.$ac_ext"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1749 case "(($ac_try" in
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1751 *) ac_try_echo=$ac_try;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1752 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1754 printf "%s\n" "$ac_try_echo"; } >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1756 ac_status=$?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1757 if test -s conftest.err; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1758 grep -v '^ *+' conftest.err >conftest.er1
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1759 cat conftest.er1 >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1760 mv -f conftest.er1 conftest.err
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1761 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1763 test $ac_status = 0; } > conftest.i && {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1765 test ! -s conftest.err
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1766 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1767 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1768 ac_retval=0
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1769 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1770 printf "%s\n" "$as_me: failed program was:" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1771 sed 's/^/| /' conftest.$ac_ext >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1772
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1773 ac_retval=1
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1774 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1776 as_fn_set_status $ac_retval
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1777
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1778 } # ac_fn_c_try_cpp
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1779 ac_configure_args_raw=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1780 for ac_arg
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1781 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1782 case $ac_arg in
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1783 *\'*)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1784 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1785 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1786 as_fn_append ac_configure_args_raw " '$ac_arg'"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1787 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1788
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1789 case $ac_configure_args_raw in
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1790 *$as_nl*)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1791 ac_safe_unquote= ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1792 *)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1793 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1794 ac_unsafe_a="$ac_unsafe_z#~"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1795 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1796 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1797 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1798
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1799 cat >config.log <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1800 This file contains any messages produced by compilers while
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1801 running configure, to aid debugging if configure makes a mistake.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1802
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1803 It was created by dwindows $as_me 3.3, which was
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1804 generated by GNU Autoconf 2.71. Invocation command line was
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1805
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1806 $ $0$ac_configure_args_raw
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1807
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1808 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1809 exec 5>>config.log
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1810 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1811 cat <<_ASUNAME
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1812 ## --------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1813 ## Platform. ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1814 ## --------- ##
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1815
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1816 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1817 uname -m = `(uname -m) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1818 uname -r = `(uname -r) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1819 uname -s = `(uname -s) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1820 uname -v = `(uname -v) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1821
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1822 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1823 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1824
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1825 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1826 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1827 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1828 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1829 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1830 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1831 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1832
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1833 _ASUNAME
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1834
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1836 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1837 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1838 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1839 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1840 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1841 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1842 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1843 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1844 printf "%s\n" "PATH: $as_dir"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1845 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1846 IFS=$as_save_IFS
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1847
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1848 } >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1849
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1850 cat >&5 <<_ACEOF
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1851
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1852
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1853 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1854 ## Core tests. ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1855 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1856
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1857 _ACEOF
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1858
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1859
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1860 # Keep a trace of the command line.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1861 # Strip out --no-create and --no-recursion so they do not pile up.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1862 # Strip out --silent because we don't want to record it for future runs.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1863 # Also quote any args containing shell meta-characters.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1864 # Make two passes to allow for proper duplicate-argument suppression.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1865 ac_configure_args=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1866 ac_configure_args0=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1867 ac_configure_args1=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1868 ac_must_keep_next=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1869 for ac_pass in 1 2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1870 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1871 for ac_arg
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1872 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1873 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1874 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1875 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1876 | -silent | --silent | --silen | --sile | --sil)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1877 continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1878 *\'*)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1879 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1880 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1881 case $ac_pass in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1882 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1883 2)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1884 as_fn_append ac_configure_args1 " '$ac_arg'"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1885 if test $ac_must_keep_next = true; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1886 ac_must_keep_next=false # Got value, back to normal.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1887 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1888 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1889 *=* | --config-cache | -C | -disable-* | --disable-* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1890 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1891 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1892 | -with-* | --with-* | -without-* | --without-* | --x)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1893 case "$ac_configure_args0 " in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1894 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1895 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1896 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1897 -* ) ac_must_keep_next=true ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1898 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1899 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1900 as_fn_append ac_configure_args " '$ac_arg'"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1901 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1902 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1903 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1904 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1905 { ac_configure_args0=; unset ac_configure_args0;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1906 { ac_configure_args1=; unset ac_configure_args1;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1907
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1908 # When interrupted or exit'd, cleanup temporary files, and complete
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1909 # config.log. We remove comments because anyway the quotes in there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1910 # would cause problems or look ugly.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1911 # WARNING: Use '\'' to represent an apostrophe within the trap.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1912 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1913 trap 'exit_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1914 # Sanitize IFS.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1915 IFS=" "" $as_nl"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1916 # Save into config.log some information that might help in debugging.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1917 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1918 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1919
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1920 printf "%s\n" "## ---------------- ##
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1921 ## Cache variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1922 ## ---------------- ##"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1923 echo
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1924 # The following way of writing the cache mishandles newlines in values,
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1925 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1926 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1927 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1928 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1929 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1930 case $ac_var in #(
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1931 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1932 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1933 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1934 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1935 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1937 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1938 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1939 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1940 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1941 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1942 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1943 *${as_nl}ac_space=\ *)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1944 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1945 "s/'\''/'\''\\\\'\'''\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1947 ;; #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1948 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1950 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1951 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1952 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1953 )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1954 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1955
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1956 printf "%s\n" "## ----------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1957 ## Output variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1958 ## ----------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1959 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1960 for ac_var in $ac_subst_vars
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1961 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1962 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1963 case $ac_val in
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1964 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1965 esac
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1966 printf "%s\n" "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1967 done | sort
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1968 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1969
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1970 if test -n "$ac_subst_files"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1971 printf "%s\n" "## ------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1972 ## File substitutions. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1973 ## ------------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1974 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1975 for ac_var in $ac_subst_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1976 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1977 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1978 case $ac_val in
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1979 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1980 esac
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1981 printf "%s\n" "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1982 done | sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1983 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1984 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1985
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1986 if test -s confdefs.h; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1987 printf "%s\n" "## ----------- ##
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1988 ## confdefs.h. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1989 ## ----------- ##"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1990 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1991 cat confdefs.h
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1992 echo
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1993 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1994 test "$ac_signal" != 0 &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1995 printf "%s\n" "$as_me: caught signal $ac_signal"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
1996 printf "%s\n" "$as_me: exit $exit_status"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1997 } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1998 rm -f core *.core core.conftest.* &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1999 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2000 exit $exit_status
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2001 ' 0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2002 for ac_signal in 1 2 13 15; do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2004 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2005 ac_signal=0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2006
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2007 # confdefs.h avoids OS command line length limits that DEFS can exceed.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2008 rm -f -r conftest* confdefs.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2009
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2010 printf "%s\n" "/* confdefs.h */" > confdefs.h
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2011
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2012 # Predefined preprocessor variables.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2013
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2014 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2015
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2016 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2017
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2018 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2019
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2020 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2021
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2022 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2023
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2024 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2025
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2026
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2027 # Let the site file select an alternate cache file if it wants to.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2028 # Prefer an explicitly selected file to automatically selected ones.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2029 if test -n "$CONFIG_SITE"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2030 ac_site_files="$CONFIG_SITE"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2031 elif test "x$prefix" != xNONE; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2032 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2033 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2034 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2035 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2036
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2037 for ac_site_file in $ac_site_files
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2038 do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2039 case $ac_site_file in #(
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2040 */*) :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2041 ;; #(
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2042 *) :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2043 ac_site_file=./$ac_site_file ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2044 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2045 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2047 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2048 sed 's/^/| /' "$ac_site_file" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2049 . "$ac_site_file" \
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2050 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2051 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2052 as_fn_error $? "failed to load site script $ac_site_file
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2053 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2054 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2055 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2056
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2057 if test -r "$cache_file"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2058 # Some versions of bash will fail to source /dev/null (special files
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2059 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2060 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2062 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2063 case $cache_file in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2064 [\\/]* | ?:[\\/]* ) . "$cache_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2065 *) . "./$cache_file";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2066 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2067 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2068 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2070 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2071 >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2072 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2073
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2074 # Test code for whether the C compiler supports C89 (global declarations)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2075 ac_c_conftest_c89_globals='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2076 /* Does the compiler advertise C89 conformance?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2077 Do not test the value of __STDC__, because some compilers set it to 0
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2078 while being otherwise adequately conformant. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2079 #if !defined __STDC__
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2080 # error "Compiler does not advertise C89 conformance"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2081 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2082
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2083 #include <stddef.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2084 #include <stdarg.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2085 struct stat;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2086 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2087 struct buf { int x; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2088 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2089 static char *e (p, i)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2090 char **p;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2091 int i;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2092 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2093 return p[i];
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2094 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2095 static char *f (char * (*g) (char **, int), char **p, ...)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2096 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2097 char *s;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2098 va_list v;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2099 va_start (v,p);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2100 s = g (p, va_arg (v,int));
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2101 va_end (v);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2102 return s;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2103 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2104
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2105 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2106 function prototypes and stuff, but not \xHH hex character constants.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2107 These do not provoke an error unfortunately, instead are silently treated
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2108 as an "x". The following induces an error, until -std is added to get
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2109 proper ANSI mode. Curiously \x00 != x always comes out true, for an
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2110 array size at least. It is necessary to write \x00 == 0 to get something
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2111 that is true only with -std. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2112 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2113
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2114 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2115 inside strings and character constants. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2116 #define FOO(x) '\''x'\''
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2117 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2118
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2119 int test (int i, double x);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2120 struct s1 {int (*f) (int a);};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2121 struct s2 {int (*f) (double a);};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2122 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2123 int, int);'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2124
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2125 # Test code for whether the C compiler supports C89 (body of main).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2126 ac_c_conftest_c89_main='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2127 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2128 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2129
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2130 # Test code for whether the C compiler supports C99 (global declarations)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2131 ac_c_conftest_c99_globals='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2132 // Does the compiler advertise C99 conformance?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2133 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2134 # error "Compiler does not advertise C99 conformance"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2135 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2136
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2137 #include <stdbool.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2138 extern int puts (const char *);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2139 extern int printf (const char *, ...);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2140 extern int dprintf (int, const char *, ...);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2141 extern void *malloc (size_t);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2142
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2143 // Check varargs macros. These examples are taken from C99 6.10.3.5.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2144 // dprintf is used instead of fprintf to avoid needing to declare
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2145 // FILE and stderr.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2146 #define debug(...) dprintf (2, __VA_ARGS__)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2147 #define showlist(...) puts (#__VA_ARGS__)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2148 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2149 static void
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2150 test_varargs_macros (void)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2151 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2152 int x = 1234;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2153 int y = 5678;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2154 debug ("Flag");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2155 debug ("X = %d\n", x);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2156 showlist (The first, second, and third items.);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2157 report (x>y, "x is %d but y is %d", x, y);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2158 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2159
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2160 // Check long long types.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2161 #define BIG64 18446744073709551615ull
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2162 #define BIG32 4294967295ul
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2163 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2164 #if !BIG_OK
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2165 #error "your preprocessor is broken"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2166 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2167 #if BIG_OK
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2168 #else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2169 #error "your preprocessor is broken"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2170 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2171 static long long int bignum = -9223372036854775807LL;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2172 static unsigned long long int ubignum = BIG64;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2173
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2174 struct incomplete_array
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2175 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2176 int datasize;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2177 double data[];
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2178 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2179
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2180 struct named_init {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2181 int number;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2182 const wchar_t *name;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2183 double average;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2184 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2185
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2186 typedef const char *ccp;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2187
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2188 static inline int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2189 test_restrict (ccp restrict text)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2190 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2191 // See if C++-style comments work.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2192 // Iterate through items via the restricted pointer.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2193 // Also check for declarations in for loops.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2194 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2195 continue;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2196 return 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2197 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2198
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2199 // Check varargs and va_copy.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2200 static bool
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2201 test_varargs (const char *format, ...)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2202 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2203 va_list args;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2204 va_start (args, format);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2205 va_list args_copy;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2206 va_copy (args_copy, args);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2207
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2208 const char *str = "";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2209 int number = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2210 float fnumber = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2211
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2212 while (*format)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2213 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2214 switch (*format++)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2215 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2216 case '\''s'\'': // string
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2217 str = va_arg (args_copy, const char *);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2218 break;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2219 case '\''d'\'': // int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2220 number = va_arg (args_copy, int);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2221 break;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2222 case '\''f'\'': // float
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2223 fnumber = va_arg (args_copy, double);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2224 break;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2225 default:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2226 break;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2227 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2228 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2229 va_end (args_copy);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2230 va_end (args);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2231
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2232 return *str && number && fnumber;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2233 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2234 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2235
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2236 # Test code for whether the C compiler supports C99 (body of main).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2237 ac_c_conftest_c99_main='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2238 // Check bool.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2239 _Bool success = false;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2240 success |= (argc != 0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2241
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2242 // Check restrict.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2243 if (test_restrict ("String literal") == 0)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2244 success = true;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2245 char *restrict newvar = "Another string";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2246
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2247 // Check varargs.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2248 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2249 test_varargs_macros ();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2250
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2251 // Check flexible array members.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2252 struct incomplete_array *ia =
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2253 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2254 ia->datasize = 10;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2255 for (int i = 0; i < ia->datasize; ++i)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2256 ia->data[i] = i * 1.234;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2257
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2258 // Check named initializers.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2259 struct named_init ni = {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2260 .number = 34,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2261 .name = L"Test wide string",
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2262 .average = 543.34343,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2263 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2264
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2265 ni.number = 58;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2266
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2267 int dynamic_array[ni.number];
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2268 dynamic_array[0] = argv[0][0];
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2269 dynamic_array[ni.number - 1] = 543;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2270
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2271 // work around unused variable warnings
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2272 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2273 || dynamic_array[ni.number - 1] != 543);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2274 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2275
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2276 # Test code for whether the C compiler supports C11 (global declarations)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2277 ac_c_conftest_c11_globals='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2278 // Does the compiler advertise C11 conformance?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2279 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2280 # error "Compiler does not advertise C11 conformance"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2281 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2282
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2283 // Check _Alignas.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2284 char _Alignas (double) aligned_as_double;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2285 char _Alignas (0) no_special_alignment;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2286 extern char aligned_as_int;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2287 char _Alignas (0) _Alignas (int) aligned_as_int;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2288
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2289 // Check _Alignof.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2290 enum
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2291 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2292 int_alignment = _Alignof (int),
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2293 int_array_alignment = _Alignof (int[100]),
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2294 char_alignment = _Alignof (char)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2295 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2296 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2297
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2298 // Check _Noreturn.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2299 int _Noreturn does_not_return (void) { for (;;) continue; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2300
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2301 // Check _Static_assert.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2302 struct test_static_assert
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2303 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2304 int x;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2305 _Static_assert (sizeof (int) <= sizeof (long int),
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2306 "_Static_assert does not work in struct");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2307 long int y;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2308 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2309
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2310 // Check UTF-8 literals.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2311 #define u8 syntax error!
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2312 char const utf8_literal[] = u8"happens to be ASCII" "another string";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2313
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2314 // Check duplicate typedefs.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2315 typedef long *long_ptr;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2316 typedef long int *long_ptr;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2317 typedef long_ptr long_ptr;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2318
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2319 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2320 struct anonymous
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2321 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2322 union {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2323 struct { int i; int j; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2324 struct { int k; long int l; } w;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2325 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2326 int m;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2327 } v1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2328 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2329
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2330 # Test code for whether the C compiler supports C11 (body of main).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2331 ac_c_conftest_c11_main='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2332 _Static_assert ((offsetof (struct anonymous, i)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2333 == offsetof (struct anonymous, w.k)),
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2334 "Anonymous union alignment botch");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2335 v1.i = 2;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2336 v1.w.k = 5;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2337 ok |= v1.i != 5;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2338 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2339
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2340 # Test code for whether the C compiler supports C11 (complete).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2341 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2342 ${ac_c_conftest_c99_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2343 ${ac_c_conftest_c11_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2344
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2345 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2346 main (int argc, char **argv)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2347 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2348 int ok = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2349 ${ac_c_conftest_c89_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2350 ${ac_c_conftest_c99_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2351 ${ac_c_conftest_c11_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2352 return ok;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2353 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2354 "
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2355
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2356 # Test code for whether the C compiler supports C99 (complete).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2357 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2358 ${ac_c_conftest_c99_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2359
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2360 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2361 main (int argc, char **argv)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2362 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2363 int ok = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2364 ${ac_c_conftest_c89_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2365 ${ac_c_conftest_c99_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2366 return ok;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2367 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2368 "
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2369
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2370 # Test code for whether the C compiler supports C89 (complete).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2371 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2372
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2373 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2374 main (int argc, char **argv)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2375 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2376 int ok = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2377 ${ac_c_conftest_c89_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2378 return ok;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2379 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2380 "
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2381
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2382 # Test code for whether the C++ compiler supports C++98 (global declarations)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2383 ac_cxx_conftest_cxx98_globals='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2384 // Does the compiler advertise C++98 conformance?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2385 #if !defined __cplusplus || __cplusplus < 199711L
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2386 # error "Compiler does not advertise C++98 conformance"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2387 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2388
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2389 // These inclusions are to reject old compilers that
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2390 // lack the unsuffixed header files.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2391 #include <cstdlib>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2392 #include <exception>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2393
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2394 // <cassert> and <cstring> are *not* freestanding headers in C++98.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2395 extern void assert (int);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2396 namespace std {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2397 extern int strcmp (const char *, const char *);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2398 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2399
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2400 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2401 using std::exception;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2402 using std::strcmp;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2403
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2404 namespace {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2405
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2406 void test_exception_syntax()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2407 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2408 try {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2409 throw "test";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2410 } catch (const char *s) {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2411 // Extra parentheses suppress a warning when building autoconf itself,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2412 // due to lint rules shared with more typical C programs.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2413 assert (!(strcmp) (s, "test"));
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2414 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2415 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2416
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2417 template <typename T> struct test_template
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2418 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2419 T const val;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2420 explicit test_template(T t) : val(t) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2421 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2422 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2423
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2424 } // anonymous namespace
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2425 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2426
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2427 # Test code for whether the C++ compiler supports C++98 (body of main)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2428 ac_cxx_conftest_cxx98_main='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2429 assert (argc);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2430 assert (! argv[0]);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2431 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2432 test_exception_syntax ();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2433 test_template<double> tt (2.0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2434 assert (tt.add (4) == 6.0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2435 assert (true && !false);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2436 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2437 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2438
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2439 # Test code for whether the C++ compiler supports C++11 (global declarations)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2440 ac_cxx_conftest_cxx11_globals='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2441 // Does the compiler advertise C++ 2011 conformance?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2442 #if !defined __cplusplus || __cplusplus < 201103L
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2443 # error "Compiler does not advertise C++11 conformance"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2444 #endif
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2445
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2446 namespace cxx11test
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2447 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2448 constexpr int get_val() { return 20; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2449
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2450 struct testinit
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2451 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2452 int i;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2453 double d;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2454 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2455
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2456 class delegate
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2457 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2458 public:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2459 delegate(int n) : n(n) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2460 delegate(): delegate(2354) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2461
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2462 virtual int getval() { return this->n; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2463 protected:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2464 int n;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2465 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2466
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2467 class overridden : public delegate
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2468 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2469 public:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2470 overridden(int n): delegate(n) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2471 virtual int getval() override final { return this->n * 2; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2472 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2473
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2474 class nocopy
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2475 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2476 public:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2477 nocopy(int i): i(i) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2478 nocopy() = default;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2479 nocopy(const nocopy&) = delete;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2480 nocopy & operator=(const nocopy&) = delete;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2481 private:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2482 int i;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2483 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2484
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2485 // for testing lambda expressions
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2486 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2487 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2488 return f(v);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2489 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2490
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2491 // for testing variadic templates and trailing return types
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2492 template <typename V> auto sum(V first) -> V
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2493 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2494 return first;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2495 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2496 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2497 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2498 return first + sum(rest...);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2499 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2500 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2501 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2502
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2503 # Test code for whether the C++ compiler supports C++11 (body of main)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2504 ac_cxx_conftest_cxx11_main='
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2505 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2506 // Test auto and decltype
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2507 auto a1 = 6538;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2508 auto a2 = 48573953.4;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2509 auto a3 = "String literal";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2510
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2511 int total = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2512 for (auto i = a3; *i; ++i) { total += *i; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2513
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2514 decltype(a2) a4 = 34895.034;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2515 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2516 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2517 // Test constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2518 short sa[cxx11test::get_val()] = { 0 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2519 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2520 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2521 // Test initializer lists
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2522 cxx11test::testinit il = { 4323, 435234.23544 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2523 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2524 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2525 // Test range-based for
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2526 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2527 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2528 for (auto &x : array) { x += 23; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2529 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2530 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2531 // Test lambda expressions
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2532 using cxx11test::eval;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2533 assert (eval ([](int x) { return x*2; }, 21) == 42);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2534 double d = 2.0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2535 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2536 assert (d == 5.0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2537 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2538 assert (d == 5.0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2539 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2540 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2541 // Test use of variadic templates
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2542 using cxx11test::sum;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2543 auto a = sum(1);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2544 auto b = sum(1, 2);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2545 auto c = sum(1.0, 2.0, 3.0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2546 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2547 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2548 // Test constructor delegation
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2549 cxx11test::delegate d1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2550 cxx11test::delegate d2();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2551 cxx11test::delegate d3(45);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2552 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2553 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2554 // Test override and final
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2555 cxx11test::overridden o1(55464);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2556 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2557 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2558 // Test nullptr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2559 char *c = nullptr;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2560 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2561 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2562 // Test template brackets
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2563 test_template<::test_template<int>> v(test_template<int>(12));
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2564 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2565 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2566 // Unicode literals
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2567 char const *utf8 = u8"UTF-8 string \u2500";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2568 char16_t const *utf16 = u"UTF-8 string \u2500";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2569 char32_t const *utf32 = U"UTF-32 string \u2500";
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2570 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2571 '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2572
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2573 # Test code for whether the C compiler supports C++11 (complete).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2574 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2575 ${ac_cxx_conftest_cxx11_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2576
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2577 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2578 main (int argc, char **argv)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2579 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2580 int ok = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2581 ${ac_cxx_conftest_cxx98_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2582 ${ac_cxx_conftest_cxx11_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2583 return ok;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2584 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2585 "
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2586
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2587 # Test code for whether the C compiler supports C++98 (complete).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2588 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2589 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2590 main (int argc, char **argv)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2591 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2592 int ok = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2593 ${ac_cxx_conftest_cxx98_main}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2594 return ok;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2595 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2596 "
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2597
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2598 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2599 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2600 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2601 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2602 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2603 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2604 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2605 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2606 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2607
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2608 # Auxiliary files required by this configure script.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2609 ac_aux_files="config.guess config.sub install-sh"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2610
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2611 # Locations in which to look for auxiliary files.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2612 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2613
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2614 # Search for a directory containing all of the required auxiliary files,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2615 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2616 # If we don't find one directory that contains all the files we need,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2617 # we report the set of missing files from the *first* directory in
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2618 # $ac_aux_dir_candidates and give up.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2619 ac_missing_aux_files=""
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2620 ac_first_candidate=:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2623 as_found=false
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2624 for as_dir in $ac_aux_dir_candidates
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2625 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2626 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2627 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2628 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2629 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2630 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2631 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2632 as_found=:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2633
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2635 ac_aux_dir_found=yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2636 ac_install_sh=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2637 for ac_aux in $ac_aux_files
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2638 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2639 # As a special case, if "install-sh" is required, that requirement
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2640 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2641 # and $ac_install_sh is set appropriately for whichever one is found.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2642 if test x"$ac_aux" = x"install-sh"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2643 then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2644 if test -f "${as_dir}install-sh"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2646 ac_install_sh="${as_dir}install-sh -c"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2647 elif test -f "${as_dir}install.sh"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2649 ac_install_sh="${as_dir}install.sh -c"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2650 elif test -f "${as_dir}shtool"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2652 ac_install_sh="${as_dir}shtool install -c"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2653 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2654 ac_aux_dir_found=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2655 if $ac_first_candidate; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2656 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2657 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2658 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2659 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2660 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2661 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2662 if test -f "${as_dir}${ac_aux}"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2664 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2665 ac_aux_dir_found=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2666 if $ac_first_candidate; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2667 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2668 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2669 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2670 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2671 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2672 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2673 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2674 if test "$ac_aux_dir_found" = yes; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2675 ac_aux_dir="$as_dir"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2676 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2677 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2678 ac_first_candidate=false
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2679
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2680 as_found=false
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2681 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2682 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2683 if $as_found
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2684 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2685
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2686 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2687 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2688 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2689
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2690
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2691 # These three variables are undocumented and unsupported,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2692 # and are intended to be withdrawn in a future Autoconf release.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2693 # They can cause serious problems if a builder's source tree is in a directory
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2694 # whose full name contains unusual characters.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2695 if test -f "${ac_aux_dir}config.guess"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2696 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2697 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2698 if test -f "${ac_aux_dir}config.sub"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2699 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2700 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2701 if test -f "$ac_aux_dir/configure"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2702 ac_configure="$SHELL ${ac_aux_dir}configure"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2703 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2704
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2705 # Check that the precious variables saved in the cache have kept the same
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2706 # value.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2707 ac_cache_corrupted=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2708 for ac_var in $ac_precious_vars; do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2709 eval ac_old_set=\$ac_cv_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2710 eval ac_new_set=\$ac_env_${ac_var}_set
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2711 eval ac_old_val=\$ac_cv_env_${ac_var}_value
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2712 eval ac_new_val=\$ac_env_${ac_var}_value
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2713 case $ac_old_set,$ac_new_set in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2714 set,)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2716 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2717 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2718 ,set)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2720 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2721 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2722 ,);;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2723 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2724 if test "x$ac_old_val" != "x$ac_new_val"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2725 # differences in whitespace do not lead to failure.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2726 ac_old_val_w=`echo x $ac_old_val`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2727 ac_new_val_w=`echo x $ac_new_val`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2728 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2730 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2731 ac_cache_corrupted=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2732 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2734 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2735 eval $ac_var=\$ac_old_val
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2736 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2738 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2740 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2741 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2742 esac
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2743 # Pass precious variables to config.status.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2744 if test "$ac_new_set" = set; then
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2745 case $ac_new_val in
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2746 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2747 *) ac_arg=$ac_var=$ac_new_val ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2748 esac
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2749 case " $ac_configure_args " in
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2750 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2751 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2752 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2753 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2754 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2755 if $ac_cache_corrupted; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2757 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2759 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2760 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2761 and start over" "$LINENO" 5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2762 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2763 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2764 ## Main body of script. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2765 ## -------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2766
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2767 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2768 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2772
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2773
2160
07f1366a724c Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2130
diff changeset
2774 ac_config_headers="$ac_config_headers dwconfig.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2775
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2776
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
2777 TARGET="dwindows"
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2778 TARGET2="dwcompat"
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2779
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2780
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2781
1109
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2782
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2783
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
2784 DW_DIR=gtk3
663
86c404056262 Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 644
diff changeset
2785 DW_SRC=dw.c
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
2786 DW_DEFINE=__UNIX__
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2787 SHAREDFLAG=-shared
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
2788 SOSUFFIX=so
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2789 LIBSUFFIX=a
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2790 LIBPREFIX=lib
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
2791 INSTALL_TEST="installdwtest"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2792 INCLUDES="-I."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2793
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2794
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2795
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2796
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2797
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2798
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2799
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2800
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2801
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2802
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2803 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2804 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2808 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2809 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2810 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2812 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2813 if test ${ac_cv_prog_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2814 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2815 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2816 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2817 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2818 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2819 else
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2821 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2822 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2823 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2824 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2825 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2826 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2827 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2828 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2831 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2833 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2834 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2835 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2836 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2837 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2838
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2839 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2840 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2841 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2842 if test -n "$CC"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2844 printf "%s\n" "$CC" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2845 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2847 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2848 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2849
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2850
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2851 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2852 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2853 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2854 # Extract the first word of "gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2855 set dummy gcc; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2857 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2858 if test ${ac_cv_prog_ac_ct_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2859 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2860 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2861 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2862 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2863 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2864 else
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2866 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2867 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2868 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2869 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2870 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2871 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2872 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2873 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2874 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2875 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2876 ac_cv_prog_ac_ct_CC="gcc"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2878 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2879 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2880 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2881 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2882 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2883
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2884 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2885 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2887 if test -n "$ac_ct_CC"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2889 printf "%s\n" "$ac_ct_CC" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2890 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2892 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2893 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2894
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2895 if test "x$ac_ct_CC" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2896 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2897 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2898 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2899 yes:)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2902 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2903 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2904 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2905 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2906 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2907 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2908 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2909
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2910 if test -z "$CC"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2911 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2912 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2913 set dummy ${ac_tool_prefix}cc; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2915 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2916 if test ${ac_cv_prog_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2917 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2918 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2919 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2920 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2921 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2922 else
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2924 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2925 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2926 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2927 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2928 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2929 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2930 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2931 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2933 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2934 ac_cv_prog_CC="${ac_tool_prefix}cc"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2936 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2937 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2938 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2939 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2940 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2941
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2942 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2943 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2944 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2945 if test -n "$CC"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2947 printf "%s\n" "$CC" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2948 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2950 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2951 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2952
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2953
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2954 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2955 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2956 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2957 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2958 set dummy cc; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2960 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2961 if test ${ac_cv_prog_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2962 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2963 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2964 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2965 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2966 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2967 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2968 ac_prog_rejected=no
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2970 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2971 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2972 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2973 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2974 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2975 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2976 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2977 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2979 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2980 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2981 ac_prog_rejected=yes
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2982 continue
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2983 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2984 ac_cv_prog_CC="cc"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
2985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2986 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2987 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2988 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2989 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2990 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2991
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2992 if test $ac_prog_rejected = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2993 # We found a bogon in the path, so make sure we never use it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2994 set dummy $ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2995 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2996 if test $# != 0; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2997 # We chose a different compiler from the bogus one.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2998 # However, it has the same basename, so the bogon will be chosen
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2999 # first if we set CC to just the basename; use the full file name.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3000 shift
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3001 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3002 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3003 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3004 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3005 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3006 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3007 if test -n "$CC"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3009 printf "%s\n" "$CC" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3010 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3012 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3013 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3014
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3015
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3016 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3017 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3018 if test -n "$ac_tool_prefix"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3019 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3020 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3024 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3025 if test ${ac_cv_prog_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3026 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3027 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3028 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3029 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3030 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3031 else
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3033 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3034 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3035 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3036 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3037 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3038 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3039 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3040 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3041 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3042 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3043 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3045 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3046 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3047 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3048 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3049 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3050
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3051 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3052 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3053 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3054 if test -n "$CC"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3056 printf "%s\n" "$CC" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3057 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3059 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3060 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3061
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3062
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3063 test -n "$CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3064 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3065 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3066 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3067 ac_ct_CC=$CC
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3068 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3069 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3070 # Extract the first word of "$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3071 set dummy $ac_prog; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3073 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3074 if test ${ac_cv_prog_ac_ct_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3075 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3076 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3077 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3078 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3080 else
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3082 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3083 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3084 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3085 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3086 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3087 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3088 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3089 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3090 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3092 ac_cv_prog_ac_ct_CC="$ac_prog"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3094 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3095 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3096 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3097 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3098 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3099
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3100 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3101 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3103 if test -n "$ac_ct_CC"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3105 printf "%s\n" "$ac_ct_CC" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3106 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3108 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3109 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3110
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3111
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3112 test -n "$ac_ct_CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3113 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3114
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3115 if test "x$ac_ct_CC" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3116 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3117 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3118 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3119 yes:)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3121 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3122 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3123 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3124 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3125 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3126 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3127
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3128 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3129 if test -z "$CC"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3130 if test -n "$ac_tool_prefix"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3131 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3132 set dummy ${ac_tool_prefix}clang; ac_word=$2
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3134 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3135 if test ${ac_cv_prog_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3136 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3137 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3138 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3139 if test -n "$CC"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3140 ac_cv_prog_CC="$CC" # Let the user override the test.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3141 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3143 for as_dir in $PATH
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3144 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3145 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3146 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3147 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3148 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3149 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3150 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3151 for ac_exec_ext in '' $ac_executable_extensions; do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3152 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3153 ac_cv_prog_CC="${ac_tool_prefix}clang"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3155 break 2
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3156 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3157 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3158 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3159 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3160
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3161 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3162 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3163 CC=$ac_cv_prog_CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3164 if test -n "$CC"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3166 printf "%s\n" "$CC" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3167 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3169 printf "%s\n" "no" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3170 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3171
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3172
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3173 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3174 if test -z "$ac_cv_prog_CC"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3175 ac_ct_CC=$CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3176 # Extract the first word of "clang", so it can be a program name with args.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3177 set dummy clang; ac_word=$2
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3179 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3180 if test ${ac_cv_prog_ac_ct_CC+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3181 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3182 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3183 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3184 if test -n "$ac_ct_CC"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3186 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3188 for as_dir in $PATH
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3189 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3190 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3191 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3192 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3193 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3194 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3195 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3196 for ac_exec_ext in '' $ac_executable_extensions; do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3197 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3198 ac_cv_prog_ac_ct_CC="clang"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3200 break 2
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3201 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3202 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3203 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3204 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3205
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3206 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3207 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3209 if test -n "$ac_ct_CC"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3211 printf "%s\n" "$ac_ct_CC" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3212 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3214 printf "%s\n" "no" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3215 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3216
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3217 if test "x$ac_ct_CC" = x; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3218 CC=""
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3219 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3220 case $cross_compiling:$ac_tool_warned in
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3221 yes:)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3223 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3224 ac_tool_warned=yes ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3225 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3226 CC=$ac_ct_CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3227 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3228 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3229 CC="$ac_cv_prog_CC"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3230 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3231
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3232 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3233
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3234
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3235 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3236 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3237 as_fn_error $? "no acceptable C compiler found in \$PATH
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3238 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3239
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3240 # Provide some information about the compiler.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3242 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3243 ac_compiler=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3244 for ac_option in --version -v -V -qversion -version; do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3245 { { ac_try="$ac_compiler $ac_option >&5"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3246 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3248 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3249 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3251 printf "%s\n" "$ac_try_echo"; } >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3252 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3253 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3254 if test -s conftest.err; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3255 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3256 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3257 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3258 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3259 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3260 rm -f conftest.er1 conftest.err
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3262 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3263 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3264
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3266 /* end confdefs.h. */
644
903a8f7bcb7c Variable being set forces compat to never be built even with --with-compat specified.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 643
diff changeset
3267
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3268 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3269 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3270 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3271
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3272 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3273 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3274 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3275 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3276 ac_clean_files_save=$ac_clean_files
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3277 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3278 # Try to create an executable without -o first, disregard a.out.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3279 # It will help us diagnose broken compilers, and finding out an intuition
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3280 # of exeext.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3282 printf %s "checking whether the C compiler works... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3283 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3284
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3285 # The possible output files:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3286 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3287
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3288 ac_rmfiles=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3289 for ac_file in $ac_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3290 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3291 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3293 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3294 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3295 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3296 rm -f $ac_rmfiles
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3297
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3298 if { { ac_try="$ac_link_default"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3299 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3301 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3302 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3304 printf "%s\n" "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3305 (eval "$ac_link_default") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3306 ac_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3308 test $ac_status = 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3309 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3310 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3311 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3312 # in a Makefile. We should not override ac_cv_exeext if it was cached,
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3313 # so that the user can short-circuit this test for compilers unknown to
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3314 # Autoconf.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3315 for ac_file in $ac_files ''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3316 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3317 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3318 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3320 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3321 [ab].out )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3322 # We found the default executable, but exeext='' is most
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3323 # certainly right.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3324 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3325 *.* )
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3326 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3327 then :; else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3328 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3329 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3330 # We set ac_cv_exeext here because the later test for it is not
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3331 # safe: cross compilers may not add the suffix if given an `-o'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3332 # argument, so we may need to know it at that point already.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3333 # Even if this section looks crufty: it has the advantage of
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3334 # actually working.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3335 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3336 * )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3337 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3338 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3339 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3340 test "$ac_cv_exeext" = no && ac_cv_exeext=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3341
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3342 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3343 ac_file=''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3344 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3345 if test -z "$ac_file"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3346 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3348 printf "%s\n" "no" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3349 printf "%s\n" "$as_me: failed program was:" >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3350 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3351
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3352 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3353 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3354 as_fn_error 77 "C compiler cannot create executables
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3355 See \`config.log' for more details" "$LINENO" 5; }
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3356 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3358 printf "%s\n" "yes" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3359 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3361 printf %s "checking for C compiler default output file name... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3363 printf "%s\n" "$ac_file" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3364 ac_exeext=$ac_cv_exeext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3365
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3366 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3367 ac_clean_files=$ac_clean_files_save
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3369 printf %s "checking for suffix of executables... " >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3370 if { { ac_try="$ac_link"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3371 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3373 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3374 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3376 printf "%s\n" "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3377 (eval "$ac_link") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3378 ac_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3380 test $ac_status = 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3381 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3382 # If both `conftest.exe' and `conftest' are `present' (well, observable)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3383 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3384 # work properly (i.e., refer to `conftest.exe'), while it won't with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3385 # `rm'.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3386 for ac_file in conftest.exe conftest conftest.*; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3387 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3388 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3390 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3391 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3392 * ) break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3393 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3394 done
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3395 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3396 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3397 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3398 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3399 See \`config.log' for more details" "$LINENO" 5; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3400 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3401 rm -f conftest conftest$ac_cv_exeext
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3403 printf "%s\n" "$ac_cv_exeext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3404
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3405 rm -f conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3406 EXEEXT=$ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3407 ac_exeext=$EXEEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3409 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3410 #include <stdio.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3411 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3412 main (void)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3413 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3414 FILE *f = fopen ("conftest.out", "w");
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3415 return ferror (f) || fclose (f) != 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3416
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3417 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3418 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3419 }
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
3420 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3421 ac_clean_files="$ac_clean_files conftest.out"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3422 # Check that the compiler produces executables we can run. If not, either
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3423 # the compiler is broken, or we cross compile.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3425 printf %s "checking whether we are cross compiling... " >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3426 if test "$cross_compiling" != yes; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3427 { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3428 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3430 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3431 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3433 printf "%s\n" "$ac_try_echo"; } >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3434 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3435 ac_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3437 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3438 if { ac_try='./conftest$ac_cv_exeext'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3439 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3441 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3442 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3444 printf "%s\n" "$ac_try_echo"; } >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3445 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3446 ac_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3448 test $ac_status = 0; }; }; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3449 cross_compiling=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3450 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3451 if test "$cross_compiling" = maybe; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3452 cross_compiling=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3453 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3454 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3455 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3456 as_fn_error 77 "cannot run C compiled programs.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3457 If you meant to cross compile, use \`--host'.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3458 See \`config.log' for more details" "$LINENO" 5; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3459 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3460 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3461 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3463 printf "%s\n" "$cross_compiling" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3464
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3465 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3466 ac_clean_files=$ac_clean_files_save
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3468 printf %s "checking for suffix of object files... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3469 if test ${ac_cv_objext+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3470 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3471 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3472 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3474 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3475
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3476 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3477 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3478 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3479
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3480 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3481 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3482 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3483 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3484 rm -f conftest.o conftest.obj
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3485 if { { ac_try="$ac_compile"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3486 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3488 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3489 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3491 printf "%s\n" "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3492 (eval "$ac_compile") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3493 ac_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3495 test $ac_status = 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3496 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3497 for ac_file in conftest.o conftest.obj conftest.*; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3498 test -f "$ac_file" || continue;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3499 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3502 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3503 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3504 done
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3505 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3506 printf "%s\n" "$as_me: failed program was:" >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3507 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3508
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3509 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3510 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3511 as_fn_error $? "cannot compute suffix of object files: cannot compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3512 See \`config.log' for more details" "$LINENO" 5; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3513 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3515 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3517 printf "%s\n" "$ac_cv_objext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3518 OBJEXT=$ac_cv_objext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3519 ac_objext=$OBJEXT
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3521 printf %s "checking whether the compiler supports GNU C... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3522 if test ${ac_cv_c_compiler_gnu+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3523 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3524 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3525 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3527 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3528
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3529 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3530 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3531 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3532 #ifndef __GNUC__
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3533 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3534 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3535
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3536 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3537 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3538 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3539 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3540 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3541 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3542 ac_compiler_gnu=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3543 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3544 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3545 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3548
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3549 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3551 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3553
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3554 if test $ac_compiler_gnu = yes; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3555 GCC=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3556 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3557 GCC=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3558 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3559 ac_test_CFLAGS=${CFLAGS+y}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3560 ac_save_CFLAGS=$CFLAGS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3562 printf %s "checking whether $CC accepts -g... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3563 if test ${ac_cv_prog_cc_g+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3564 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3565 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3566 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3567 ac_save_c_werror_flag=$ac_c_werror_flag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3568 ac_c_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3569 ac_cv_prog_cc_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3570 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3572 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3573
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3574 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3575 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3576 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3577
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3578 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3579 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3580 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3581 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3582 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3583 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3584 ac_cv_prog_cc_g=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3585 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3586 CFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3588 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3589
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3590 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3591 main (void)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3592 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3593
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3594 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3595 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3596 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3597 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3598 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3599 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3600
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3601 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3602 ac_c_werror_flag=$ac_save_c_werror_flag
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3603 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3605 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3606
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3607 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3608 main (void)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3609 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3610
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3611 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3612 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3613 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3614 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3615 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3616 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3617 ac_cv_prog_cc_g=yes
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3618 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3620 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3622 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3624 ac_c_werror_flag=$ac_save_c_werror_flag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3625 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3627 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3628 if test $ac_test_CFLAGS; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3629 CFLAGS=$ac_save_CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3630 elif test $ac_cv_prog_cc_g = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3631 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3632 CFLAGS="-g -O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3633 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3634 CFLAGS="-g"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3635 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3636 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3637 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3638 CFLAGS="-O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3639 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3640 CFLAGS=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3641 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3642 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3643 ac_prog_cc_stdc=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3644 if test x$ac_prog_cc_stdc = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3645 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3647 printf %s "checking for $CC option to enable C11 features... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3648 if test ${ac_cv_prog_cc_c11+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3649 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3650 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3651 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3652 ac_cv_prog_cc_c11=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3653 ac_save_CC=$CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3655 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3656 $ac_c_conftest_c11_program
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3657 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3658 for ac_arg in '' -std=gnu11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3659 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3660 CC="$ac_save_CC $ac_arg"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3661 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3662 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3663 ac_cv_prog_cc_c11=$ac_arg
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3664 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3665 rm -f core conftest.err conftest.$ac_objext conftest.beam
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3666 test "x$ac_cv_prog_cc_c11" != "xno" && break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3667 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3668 rm -f conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3669 CC=$ac_save_CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3670 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3671
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3672 if test "x$ac_cv_prog_cc_c11" = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3673 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3675 printf "%s\n" "unsupported" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3676 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3677 if test "x$ac_cv_prog_cc_c11" = x
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3678 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3680 printf "%s\n" "none needed" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3681 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3683 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3684 CC="$CC $ac_cv_prog_cc_c11"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3685 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3686 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3687 ac_prog_cc_stdc=c11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3688 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3689 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3690 if test x$ac_prog_cc_stdc = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3691 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3693 printf %s "checking for $CC option to enable C99 features... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3694 if test ${ac_cv_prog_cc_c99+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3695 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3696 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3697 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3698 ac_cv_prog_cc_c99=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3699 ac_save_CC=$CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3701 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3702 $ac_c_conftest_c99_program
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3703 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3704 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3705 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3706 CC="$ac_save_CC $ac_arg"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3707 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3708 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3709 ac_cv_prog_cc_c99=$ac_arg
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3710 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3711 rm -f core conftest.err conftest.$ac_objext conftest.beam
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3712 test "x$ac_cv_prog_cc_c99" != "xno" && break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3713 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3714 rm -f conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3715 CC=$ac_save_CC
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3716 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3717
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3718 if test "x$ac_cv_prog_cc_c99" = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3719 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3721 printf "%s\n" "unsupported" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3722 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3723 if test "x$ac_cv_prog_cc_c99" = x
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3724 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3726 printf "%s\n" "none needed" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3727 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3729 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3730 CC="$CC $ac_cv_prog_cc_c99"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3731 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3732 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3733 ac_prog_cc_stdc=c99
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3734 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3735 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3736 if test x$ac_prog_cc_stdc = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3737 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3739 printf %s "checking for $CC option to enable C89 features... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3740 if test ${ac_cv_prog_cc_c89+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3741 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3742 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3743 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3744 ac_cv_prog_cc_c89=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3745 ac_save_CC=$CC
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3747 /* end confdefs.h. */
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3748 $ac_c_conftest_c89_program
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3749 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3751 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3752 CC="$ac_save_CC $ac_arg"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3753 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3754 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3755 ac_cv_prog_cc_c89=$ac_arg
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3756 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3757 rm -f core conftest.err conftest.$ac_objext conftest.beam
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3758 test "x$ac_cv_prog_cc_c89" != "xno" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3759 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3760 rm -f conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3761 CC=$ac_save_CC
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3762 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3763
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3764 if test "x$ac_cv_prog_cc_c89" = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3765 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3767 printf "%s\n" "unsupported" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3768 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3769 if test "x$ac_cv_prog_cc_c89" = x
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3770 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3772 printf "%s\n" "none needed" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3773 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3775 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3776 CC="$CC $ac_cv_prog_cc_c89"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3777 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3778 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3779 ac_prog_cc_stdc=c89
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3780 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3781 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3782
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3783 ac_ext=c
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3784 ac_cpp='$CPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3788
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3789
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3790
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3791
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3792
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3793
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3794
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3795 ac_ext=cpp
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3796 ac_cpp='$CXXCPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3800 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3801 if test -n "$CCC"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3802 CXX=$CCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3803 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3804 if test -n "$ac_tool_prefix"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3805 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3806 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3810 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3811 if test ${ac_cv_prog_CXX+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3812 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3813 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3814 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3815 if test -n "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3816 ac_cv_prog_CXX="$CXX" # Let the user override the test.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3817 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3819 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3820 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3821 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3822 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3823 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3824 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3825 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3826 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3827 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3828 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3829 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3831 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3832 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3833 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3834 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3835 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3836
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3837 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3838 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3839 CXX=$ac_cv_prog_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3840 if test -n "$CXX"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3842 printf "%s\n" "$CXX" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3843 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3845 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3846 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3847
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3848
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3849 test -n "$CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3850 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3851 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3852 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3853 ac_ct_CXX=$CXX
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3854 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3855 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3856 # Extract the first word of "$ac_prog", so it can be a program name with args.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3857 set dummy $ac_prog; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3859 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3860 if test ${ac_cv_prog_ac_ct_CXX+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3861 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3862 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3863 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3864 if test -n "$ac_ct_CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3865 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3866 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3868 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3869 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3870 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3871 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3872 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3873 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3874 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3875 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3876 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3877 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3878 ac_cv_prog_ac_ct_CXX="$ac_prog"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3880 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3881 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3882 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3883 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3884 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3885
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3886 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3887 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3888 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3889 if test -n "$ac_ct_CXX"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3891 printf "%s\n" "$ac_ct_CXX" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3892 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3894 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3895 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3896
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3897
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3898 test -n "$ac_ct_CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3899 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3900
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3901 if test "x$ac_ct_CXX" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3902 CXX="g++"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3903 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3904 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3905 yes:)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3907 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3908 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3909 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3910 CXX=$ac_ct_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3911 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3912 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3913
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3914 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3915 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3916 # Provide some information about the compiler.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3918 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3919 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3920 for ac_option in --version -v -V -qversion; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3921 { { ac_try="$ac_compiler $ac_option >&5"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3922 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3924 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3925 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3927 printf "%s\n" "$ac_try_echo"; } >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3928 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3929 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3930 if test -s conftest.err; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3931 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3932 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3933 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3934 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3935 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3936 rm -f conftest.er1 conftest.err
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3938 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3939 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3940
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3942 printf %s "checking whether the compiler supports GNU C++... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3943 if test ${ac_cv_cxx_compiler_gnu+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3944 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3945 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3946 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3948 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3949
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3950 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3951 main (void)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3952 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3953 #ifndef __GNUC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3954 choke me
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3955 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3956
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3957 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3958 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3959 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3960 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3961 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3962 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3963 ac_compiler_gnu=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3964 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3965 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3966 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3968 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3969
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3970 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3972 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3974
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3975 if test $ac_compiler_gnu = yes; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3976 GXX=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3977 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3978 GXX=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3979 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3980 ac_test_CXXFLAGS=${CXXFLAGS+y}
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3981 ac_save_CXXFLAGS=$CXXFLAGS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3983 printf %s "checking whether $CXX accepts -g... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3984 if test ${ac_cv_prog_cxx_g+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3985 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3986 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3987 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3988 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3989 ac_cxx_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3990 ac_cv_prog_cxx_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3991 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3993 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3994
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3995 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
3996 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3997 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3998
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3999 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4000 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4001 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4002 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4003 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4004 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4005 ac_cv_prog_cxx_g=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4006 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4007 CXXFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4009 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4010
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4011 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4012 main (void)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4013 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4014
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4015 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4016 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4017 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4018 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4019 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4020 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4021
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4022 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4023 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4024 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4026 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4027
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4028 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4029 main (void)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4030 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4031
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4032 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4033 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4034 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4035 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4036 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4037 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4038 ac_cv_prog_cxx_g=yes
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4039 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4041 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4043 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4045 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4046 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4048 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4049 if test $ac_test_CXXFLAGS; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4050 CXXFLAGS=$ac_save_CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4051 elif test $ac_cv_prog_cxx_g = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4052 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4053 CXXFLAGS="-g -O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4054 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4055 CXXFLAGS="-g"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4056 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4057 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4058 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4059 CXXFLAGS="-O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4060 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4061 CXXFLAGS=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4062 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4063 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4064 ac_prog_cxx_stdcxx=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4065 if test x$ac_prog_cxx_stdcxx = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4066 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4068 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4069 if test ${ac_cv_prog_cxx_cxx11+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4070 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4071 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4072 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4073 ac_cv_prog_cxx_cxx11=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4074 ac_save_CXX=$CXX
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4076 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4077 $ac_cxx_conftest_cxx11_program
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4078 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4079 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4080 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4081 CXX="$ac_save_CXX $ac_arg"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4082 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4083 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4084 ac_cv_prog_cxx_cxx11=$ac_arg
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4085 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4086 rm -f core conftest.err conftest.$ac_objext conftest.beam
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4087 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4088 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4089 rm -f conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4090 CXX=$ac_save_CXX
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4091 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4092
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4093 if test "x$ac_cv_prog_cxx_cxx11" = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4094 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4096 printf "%s\n" "unsupported" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4097 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4098 if test "x$ac_cv_prog_cxx_cxx11" = x
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4099 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4101 printf "%s\n" "none needed" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4102 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4104 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4105 CXX="$CXX $ac_cv_prog_cxx_cxx11"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4106 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4107 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4108 ac_prog_cxx_stdcxx=cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4109 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4110 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4111 if test x$ac_prog_cxx_stdcxx = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4112 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4114 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4115 if test ${ac_cv_prog_cxx_cxx98+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4116 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4117 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4118 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4119 ac_cv_prog_cxx_cxx98=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4120 ac_save_CXX=$CXX
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4122 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4123 $ac_cxx_conftest_cxx98_program
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4124 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4125 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4126 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4127 CXX="$ac_save_CXX $ac_arg"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4128 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4129 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4130 ac_cv_prog_cxx_cxx98=$ac_arg
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4131 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4132 rm -f core conftest.err conftest.$ac_objext conftest.beam
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4133 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4134 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4135 rm -f conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4136 CXX=$ac_save_CXX
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4137 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4138
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4139 if test "x$ac_cv_prog_cxx_cxx98" = xno
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4140 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4142 printf "%s\n" "unsupported" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4143 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4144 if test "x$ac_cv_prog_cxx_cxx98" = x
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4145 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4147 printf "%s\n" "none needed" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4148 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4150 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4151 CXX="$CXX $ac_cv_prog_cxx_cxx98"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4152 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4153 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4154 ac_prog_cxx_stdcxx=cxx98
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4155 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4156 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4157
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4158 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4159 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4163
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4164
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4165 ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=false
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4166 ac_ext=cpp
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4167 ac_cpp='$CXXCPP $CPPFLAGS'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4171 ac_success=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4172
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4174 printf %s "checking whether $CXX supports C++11 features by default... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4175 if test ${ax_cv_cxx_compile_cxx11+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4176 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4177 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4178 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4180 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4181
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4182
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4183 // If the compiler admits that it is not ready for C++11, why torture it?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4184 // Hopefully, this will speed up the test.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4185
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4186 #ifndef __cplusplus
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4187
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4188 #error "This is not a C++ compiler"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4189
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4190 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4191 // only set it correctly if /Zc:__cplusplus is specified as well as a
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4192 // /std:c++NN switch:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4193 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4194 #elif __cplusplus < 201103L && !defined _MSC_VER
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4195
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4196 #error "This is not a C++11 compiler"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4197
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4198 #else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4199
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4200 namespace cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4201 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4202
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4203 namespace test_static_assert
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4204 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4205
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4206 template <typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4207 struct check
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4208 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4209 static_assert(sizeof(int) <= sizeof(T), "not big enough");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4210 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4211
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4212 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4213
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4214 namespace test_final_override
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4215 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4216
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4217 struct Base
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4218 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4219 virtual ~Base() {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4220 virtual void f() {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4221 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4222
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4223 struct Derived : public Base
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4224 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4225 virtual ~Derived() override {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4226 virtual void f() override {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4227 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4228
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4229 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4230
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4231 namespace test_double_right_angle_brackets
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4232 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4233
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4234 template < typename T >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4235 struct check {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4236
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4237 typedef check<void> single_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4238 typedef check<check<void>> double_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4239 typedef check<check<check<void>>> triple_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4240 typedef check<check<check<check<void>>>> quadruple_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4241
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4242 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4243
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4244 namespace test_decltype
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4245 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4246
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4247 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4248 f()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4249 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4250 int a = 1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4251 decltype(a) b = 2;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4252 return a + b;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4253 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4254
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4255 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4256
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4257 namespace test_type_deduction
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4258 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4259
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4260 template < typename T1, typename T2 >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4261 struct is_same
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4262 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4263 static const bool value = false;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4264 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4265
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4266 template < typename T >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4267 struct is_same<T, T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4268 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4269 static const bool value = true;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4270 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4271
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4272 template < typename T1, typename T2 >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4273 auto
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4274 add(T1 a1, T2 a2) -> decltype(a1 + a2)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4275 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4276 return a1 + a2;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4277 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4278
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4279 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4280 test(const int c, volatile int v)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4281 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4282 static_assert(is_same<int, decltype(0)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4283 static_assert(is_same<int, decltype(c)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4284 static_assert(is_same<int, decltype(v)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4285 auto ac = c;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4286 auto av = v;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4287 auto sumi = ac + av + 'x';
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4288 auto sumf = ac + av + 1.0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4289 static_assert(is_same<int, decltype(ac)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4290 static_assert(is_same<int, decltype(av)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4291 static_assert(is_same<int, decltype(sumi)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4292 static_assert(is_same<int, decltype(sumf)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4293 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4294 return (sumf > 0.0) ? sumi : add(c, v);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4295 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4296
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4297 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4298
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4299 namespace test_noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4300 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4301
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4302 int f() { return 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4303 int g() noexcept { return 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4304
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4305 static_assert(noexcept(f()) == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4306 static_assert(noexcept(g()) == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4307
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4308 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4309
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4310 namespace test_constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4311 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4312
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4313 template < typename CharT >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4314 unsigned long constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4315 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4316 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4317 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4318 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4319
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4320 template < typename CharT >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4321 unsigned long constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4322 strlen_c(const CharT *const s) noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4323 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4324 return strlen_c_r(s, 0UL);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4325 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4326
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4327 static_assert(strlen_c("") == 0UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4328 static_assert(strlen_c("1") == 1UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4329 static_assert(strlen_c("example") == 7UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4330 static_assert(strlen_c("another\0example") == 7UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4331
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4332 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4333
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4334 namespace test_rvalue_references
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4335 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4336
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4337 template < int N >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4338 struct answer
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4339 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4340 static constexpr int value = N;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4341 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4342
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4343 answer<1> f(int&) { return answer<1>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4344 answer<2> f(const int&) { return answer<2>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4345 answer<3> f(int&&) { return answer<3>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4346
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4347 void
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4348 test()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4349 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4350 int i = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4351 const int c = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4352 static_assert(decltype(f(i))::value == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4353 static_assert(decltype(f(c))::value == 2, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4354 static_assert(decltype(f(0))::value == 3, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4355 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4356
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4357 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4358
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4359 namespace test_uniform_initialization
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4360 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4361
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4362 struct test
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4363 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4364 static const int zero {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4365 static const int one {1};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4366 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4367
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4368 static_assert(test::zero == 0, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4369 static_assert(test::one == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4370
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4371 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4372
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4373 namespace test_lambdas
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4374 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4375
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4376 void
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4377 test1()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4378 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4379 auto lambda1 = [](){};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4380 auto lambda2 = lambda1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4381 lambda1();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4382 lambda2();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4383 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4384
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4385 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4386 test2()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4387 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4388 auto a = [](int i, int j){ return i + j; }(1, 2);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4389 auto b = []() -> int { return '0'; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4390 auto c = [=](){ return a + b; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4391 auto d = [&](){ return c; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4392 auto e = [a, &b](int x) mutable {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4393 const auto identity = [](int y){ return y; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4394 for (auto i = 0; i < a; ++i)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4395 a += b--;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4396 return x + identity(a + b);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4397 }(0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4398 return a + b + c + d + e;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4399 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4400
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4401 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4402 test3()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4403 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4404 const auto nullary = [](){ return 0; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4405 const auto unary = [](int x){ return x; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4406 using nullary_t = decltype(nullary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4407 using unary_t = decltype(unary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4408 const auto higher1st = [](nullary_t f){ return f(); };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4409 const auto higher2nd = [unary](nullary_t f1){
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4410 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4411 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4412 return higher1st(nullary) + higher2nd(nullary)(unary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4413 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4414
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4415 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4416
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4417 namespace test_variadic_templates
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4418 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4419
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4420 template <int...>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4421 struct sum;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4422
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4423 template <int N0, int... N1toN>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4424 struct sum<N0, N1toN...>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4425 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4426 static constexpr auto value = N0 + sum<N1toN...>::value;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4427 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4428
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4429 template <>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4430 struct sum<>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4431 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4432 static constexpr auto value = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4433 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4434
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4435 static_assert(sum<>::value == 0, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4436 static_assert(sum<1>::value == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4437 static_assert(sum<23>::value == 23, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4438 static_assert(sum<1, 2>::value == 3, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4439 static_assert(sum<5, 5, 11>::value == 21, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4440 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4441
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4442 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4443
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4444 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4445 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4446 // because of this.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4447 namespace test_template_alias_sfinae
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4448 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4449
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4450 struct foo {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4451
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4452 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4453 using member = typename T::member_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4454
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4455 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4456 void func(...) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4457
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4458 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4459 void func(member<T>*) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4460
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4461 void test();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4462
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4463 void test() { func<foo>(0); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4464
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4465 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4466
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4467 } // namespace cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4468
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4469 #endif // __cplusplus >= 201103L
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4470
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4471
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4472
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4473 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4474 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4475 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4476 ax_cv_cxx_compile_cxx11=yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4477 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4478 ax_cv_cxx_compile_cxx11=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4479 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4481 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4483 printf "%s\n" "$ax_cv_cxx_compile_cxx11" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4484 if test x$ax_cv_cxx_compile_cxx11 = xyes; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4485 ac_success=yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4486 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4487
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4488 if test x$ac_success = xno; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4489 for alternative in ${ax_cxx_compile_alternatives}; do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4490 switch="-std=gnu++${alternative}"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4491 cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4493 printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4494 if eval test \${$cachevar+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4495 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4496 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4497 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4498 ac_save_CXX="$CXX"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4499 CXX="$CXX $switch"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4501 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4502
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4503
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4504 // If the compiler admits that it is not ready for C++11, why torture it?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4505 // Hopefully, this will speed up the test.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4506
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4507 #ifndef __cplusplus
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4508
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4509 #error "This is not a C++ compiler"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4510
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4511 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4512 // only set it correctly if /Zc:__cplusplus is specified as well as a
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4513 // /std:c++NN switch:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4514 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4515 #elif __cplusplus < 201103L && !defined _MSC_VER
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4516
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4517 #error "This is not a C++11 compiler"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4518
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4519 #else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4520
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4521 namespace cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4522 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4523
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4524 namespace test_static_assert
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4525 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4526
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4527 template <typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4528 struct check
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4529 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4530 static_assert(sizeof(int) <= sizeof(T), "not big enough");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4531 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4532
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4533 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4534
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4535 namespace test_final_override
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4536 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4537
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4538 struct Base
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4539 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4540 virtual ~Base() {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4541 virtual void f() {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4542 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4543
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4544 struct Derived : public Base
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4545 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4546 virtual ~Derived() override {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4547 virtual void f() override {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4548 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4549
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4550 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4551
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4552 namespace test_double_right_angle_brackets
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4553 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4554
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4555 template < typename T >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4556 struct check {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4557
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4558 typedef check<void> single_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4559 typedef check<check<void>> double_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4560 typedef check<check<check<void>>> triple_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4561 typedef check<check<check<check<void>>>> quadruple_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4562
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4563 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4564
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4565 namespace test_decltype
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4566 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4567
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4568 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4569 f()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4570 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4571 int a = 1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4572 decltype(a) b = 2;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4573 return a + b;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4574 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4575
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4576 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4577
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4578 namespace test_type_deduction
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4579 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4580
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4581 template < typename T1, typename T2 >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4582 struct is_same
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4583 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4584 static const bool value = false;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4585 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4586
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4587 template < typename T >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4588 struct is_same<T, T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4589 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4590 static const bool value = true;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4591 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4592
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4593 template < typename T1, typename T2 >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4594 auto
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4595 add(T1 a1, T2 a2) -> decltype(a1 + a2)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4596 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4597 return a1 + a2;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4598 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4599
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4600 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4601 test(const int c, volatile int v)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4602 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4603 static_assert(is_same<int, decltype(0)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4604 static_assert(is_same<int, decltype(c)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4605 static_assert(is_same<int, decltype(v)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4606 auto ac = c;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4607 auto av = v;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4608 auto sumi = ac + av + 'x';
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4609 auto sumf = ac + av + 1.0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4610 static_assert(is_same<int, decltype(ac)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4611 static_assert(is_same<int, decltype(av)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4612 static_assert(is_same<int, decltype(sumi)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4613 static_assert(is_same<int, decltype(sumf)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4614 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4615 return (sumf > 0.0) ? sumi : add(c, v);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4616 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4617
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4618 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4619
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4620 namespace test_noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4621 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4622
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4623 int f() { return 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4624 int g() noexcept { return 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4625
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4626 static_assert(noexcept(f()) == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4627 static_assert(noexcept(g()) == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4628
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4629 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4630
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4631 namespace test_constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4632 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4633
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4634 template < typename CharT >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4635 unsigned long constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4636 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4637 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4638 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4639 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4640
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4641 template < typename CharT >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4642 unsigned long constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4643 strlen_c(const CharT *const s) noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4644 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4645 return strlen_c_r(s, 0UL);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4646 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4647
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4648 static_assert(strlen_c("") == 0UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4649 static_assert(strlen_c("1") == 1UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4650 static_assert(strlen_c("example") == 7UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4651 static_assert(strlen_c("another\0example") == 7UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4652
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4653 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4654
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4655 namespace test_rvalue_references
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4656 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4657
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4658 template < int N >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4659 struct answer
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4660 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4661 static constexpr int value = N;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4662 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4663
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4664 answer<1> f(int&) { return answer<1>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4665 answer<2> f(const int&) { return answer<2>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4666 answer<3> f(int&&) { return answer<3>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4667
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4668 void
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4669 test()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4670 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4671 int i = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4672 const int c = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4673 static_assert(decltype(f(i))::value == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4674 static_assert(decltype(f(c))::value == 2, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4675 static_assert(decltype(f(0))::value == 3, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4676 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4677
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4678 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4679
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4680 namespace test_uniform_initialization
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4681 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4682
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4683 struct test
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4684 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4685 static const int zero {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4686 static const int one {1};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4687 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4688
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4689 static_assert(test::zero == 0, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4690 static_assert(test::one == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4691
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4692 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4693
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4694 namespace test_lambdas
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4695 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4696
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4697 void
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4698 test1()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4699 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4700 auto lambda1 = [](){};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4701 auto lambda2 = lambda1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4702 lambda1();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4703 lambda2();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4704 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4705
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4706 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4707 test2()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4708 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4709 auto a = [](int i, int j){ return i + j; }(1, 2);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4710 auto b = []() -> int { return '0'; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4711 auto c = [=](){ return a + b; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4712 auto d = [&](){ return c; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4713 auto e = [a, &b](int x) mutable {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4714 const auto identity = [](int y){ return y; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4715 for (auto i = 0; i < a; ++i)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4716 a += b--;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4717 return x + identity(a + b);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4718 }(0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4719 return a + b + c + d + e;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4720 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4721
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4722 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4723 test3()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4724 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4725 const auto nullary = [](){ return 0; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4726 const auto unary = [](int x){ return x; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4727 using nullary_t = decltype(nullary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4728 using unary_t = decltype(unary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4729 const auto higher1st = [](nullary_t f){ return f(); };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4730 const auto higher2nd = [unary](nullary_t f1){
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4731 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4732 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4733 return higher1st(nullary) + higher2nd(nullary)(unary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4734 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4735
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4736 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4737
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4738 namespace test_variadic_templates
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4739 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4740
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4741 template <int...>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4742 struct sum;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4743
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4744 template <int N0, int... N1toN>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4745 struct sum<N0, N1toN...>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4746 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4747 static constexpr auto value = N0 + sum<N1toN...>::value;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4748 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4749
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4750 template <>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4751 struct sum<>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4752 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4753 static constexpr auto value = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4754 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4755
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4756 static_assert(sum<>::value == 0, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4757 static_assert(sum<1>::value == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4758 static_assert(sum<23>::value == 23, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4759 static_assert(sum<1, 2>::value == 3, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4760 static_assert(sum<5, 5, 11>::value == 21, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4761 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4762
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4763 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4764
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4765 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4766 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4767 // because of this.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4768 namespace test_template_alias_sfinae
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4769 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4770
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4771 struct foo {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4772
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4773 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4774 using member = typename T::member_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4775
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4776 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4777 void func(...) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4778
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4779 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4780 void func(member<T>*) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4781
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4782 void test();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4783
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4784 void test() { func<foo>(0); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4785
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4786 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4787
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4788 } // namespace cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4789
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4790 #endif // __cplusplus >= 201103L
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4791
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4792
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4793
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4794 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4795 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4796 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4797 eval $cachevar=yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4798 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4799 eval $cachevar=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4800 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4802 CXX="$ac_save_CXX"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4803 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4804 eval ac_res=\$$cachevar
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4806 printf "%s\n" "$ac_res" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4807 if eval test x\$$cachevar = xyes; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4808 CXX="$CXX $switch"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4809 if test -n "$CXXCPP" ; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4810 CXXCPP="$CXXCPP $switch"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4811 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4812 ac_success=yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4813 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4814 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4815 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4816 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4817
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4818 if test x$ac_success = xno; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4819 for alternative in ${ax_cxx_compile_alternatives}; do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4820 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4821 cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4823 printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4824 if eval test \${$cachevar+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4825 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4826 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4827 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4828 ac_save_CXX="$CXX"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4829 CXX="$CXX $switch"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4831 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4832
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4833
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4834 // If the compiler admits that it is not ready for C++11, why torture it?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4835 // Hopefully, this will speed up the test.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4836
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4837 #ifndef __cplusplus
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4838
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4839 #error "This is not a C++ compiler"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4840
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4841 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4842 // only set it correctly if /Zc:__cplusplus is specified as well as a
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4843 // /std:c++NN switch:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4844 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4845 #elif __cplusplus < 201103L && !defined _MSC_VER
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4846
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4847 #error "This is not a C++11 compiler"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4848
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4849 #else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4850
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4851 namespace cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4852 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4853
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4854 namespace test_static_assert
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4855 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4856
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4857 template <typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4858 struct check
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4859 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4860 static_assert(sizeof(int) <= sizeof(T), "not big enough");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4861 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4862
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4863 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4864
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4865 namespace test_final_override
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4866 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4867
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4868 struct Base
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4869 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4870 virtual ~Base() {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4871 virtual void f() {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4872 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4873
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4874 struct Derived : public Base
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4875 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4876 virtual ~Derived() override {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4877 virtual void f() override {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4878 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4879
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4880 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4881
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4882 namespace test_double_right_angle_brackets
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4883 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4884
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4885 template < typename T >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4886 struct check {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4887
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4888 typedef check<void> single_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4889 typedef check<check<void>> double_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4890 typedef check<check<check<void>>> triple_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4891 typedef check<check<check<check<void>>>> quadruple_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4892
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4893 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4894
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4895 namespace test_decltype
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4896 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4897
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4898 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4899 f()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4900 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4901 int a = 1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4902 decltype(a) b = 2;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4903 return a + b;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4904 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4905
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4906 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4907
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4908 namespace test_type_deduction
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4909 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4910
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4911 template < typename T1, typename T2 >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4912 struct is_same
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4913 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4914 static const bool value = false;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4915 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4916
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4917 template < typename T >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4918 struct is_same<T, T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4919 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4920 static const bool value = true;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4921 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4922
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4923 template < typename T1, typename T2 >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4924 auto
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4925 add(T1 a1, T2 a2) -> decltype(a1 + a2)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4926 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4927 return a1 + a2;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4928 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4929
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4930 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4931 test(const int c, volatile int v)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4932 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4933 static_assert(is_same<int, decltype(0)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4934 static_assert(is_same<int, decltype(c)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4935 static_assert(is_same<int, decltype(v)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4936 auto ac = c;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4937 auto av = v;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4938 auto sumi = ac + av + 'x';
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4939 auto sumf = ac + av + 1.0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4940 static_assert(is_same<int, decltype(ac)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4941 static_assert(is_same<int, decltype(av)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4942 static_assert(is_same<int, decltype(sumi)>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4943 static_assert(is_same<int, decltype(sumf)>::value == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4944 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4945 return (sumf > 0.0) ? sumi : add(c, v);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4946 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4947
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4948 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4949
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4950 namespace test_noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4951 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4952
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4953 int f() { return 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4954 int g() noexcept { return 0; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4955
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4956 static_assert(noexcept(f()) == false, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4957 static_assert(noexcept(g()) == true, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4958
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4959 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4960
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4961 namespace test_constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4962 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4963
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4964 template < typename CharT >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4965 unsigned long constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4966 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4967 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4968 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4969 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4971 template < typename CharT >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4972 unsigned long constexpr
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4973 strlen_c(const CharT *const s) noexcept
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4974 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4975 return strlen_c_r(s, 0UL);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4976 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4977
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4978 static_assert(strlen_c("") == 0UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4979 static_assert(strlen_c("1") == 1UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4980 static_assert(strlen_c("example") == 7UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4981 static_assert(strlen_c("another\0example") == 7UL, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4982
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4983 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4984
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4985 namespace test_rvalue_references
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4986 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4987
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4988 template < int N >
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4989 struct answer
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4990 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4991 static constexpr int value = N;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4992 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4993
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4994 answer<1> f(int&) { return answer<1>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4995 answer<2> f(const int&) { return answer<2>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4996 answer<3> f(int&&) { return answer<3>(); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4997
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4998 void
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
4999 test()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5000 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5001 int i = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5002 const int c = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5003 static_assert(decltype(f(i))::value == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5004 static_assert(decltype(f(c))::value == 2, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5005 static_assert(decltype(f(0))::value == 3, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5006 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5007
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5008 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5009
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5010 namespace test_uniform_initialization
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5011 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5012
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5013 struct test
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5014 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5015 static const int zero {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5016 static const int one {1};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5017 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5018
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5019 static_assert(test::zero == 0, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5020 static_assert(test::one == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5021
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5022 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5023
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5024 namespace test_lambdas
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5025 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5026
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5027 void
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5028 test1()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5029 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5030 auto lambda1 = [](){};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5031 auto lambda2 = lambda1;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5032 lambda1();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5033 lambda2();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5034 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5035
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5036 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5037 test2()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5038 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5039 auto a = [](int i, int j){ return i + j; }(1, 2);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5040 auto b = []() -> int { return '0'; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5041 auto c = [=](){ return a + b; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5042 auto d = [&](){ return c; }();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5043 auto e = [a, &b](int x) mutable {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5044 const auto identity = [](int y){ return y; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5045 for (auto i = 0; i < a; ++i)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5046 a += b--;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5047 return x + identity(a + b);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5048 }(0);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5049 return a + b + c + d + e;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5050 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5051
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5052 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5053 test3()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5054 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5055 const auto nullary = [](){ return 0; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5056 const auto unary = [](int x){ return x; };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5057 using nullary_t = decltype(nullary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5058 using unary_t = decltype(unary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5059 const auto higher1st = [](nullary_t f){ return f(); };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5060 const auto higher2nd = [unary](nullary_t f1){
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5061 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5062 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5063 return higher1st(nullary) + higher2nd(nullary)(unary);
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5064 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5065
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5066 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5067
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5068 namespace test_variadic_templates
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5069 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5070
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5071 template <int...>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5072 struct sum;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5073
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5074 template <int N0, int... N1toN>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5075 struct sum<N0, N1toN...>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5076 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5077 static constexpr auto value = N0 + sum<N1toN...>::value;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5078 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5079
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5080 template <>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5081 struct sum<>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5082 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5083 static constexpr auto value = 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5084 };
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5085
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5086 static_assert(sum<>::value == 0, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5087 static_assert(sum<1>::value == 1, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5088 static_assert(sum<23>::value == 23, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5089 static_assert(sum<1, 2>::value == 3, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5090 static_assert(sum<5, 5, 11>::value == 21, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5091 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5092
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5093 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5094
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5095 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5096 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5097 // because of this.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5098 namespace test_template_alias_sfinae
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5099 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5100
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5101 struct foo {};
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5102
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5103 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5104 using member = typename T::member_type;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5105
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5106 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5107 void func(...) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5108
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5109 template<typename T>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5110 void func(member<T>*) {}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5111
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5112 void test();
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5113
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5114 void test() { func<foo>(0); }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5115
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5116 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5117
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5118 } // namespace cxx11
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5119
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5120 #endif // __cplusplus >= 201103L
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5121
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5122
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5123
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5124 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5125 if ac_fn_cxx_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5126 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5127 eval $cachevar=yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5128 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5129 eval $cachevar=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5130 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5132 CXX="$ac_save_CXX"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5133 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5134 eval ac_res=\$$cachevar
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5136 printf "%s\n" "$ac_res" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5137 if eval test x\$$cachevar = xyes; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5138 CXX="$CXX $switch"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5139 if test -n "$CXXCPP" ; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5140 CXXCPP="$CXXCPP $switch"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5141 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5142 ac_success=yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5143 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5144 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5145 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5146 if test x$ac_success = xyes; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5147 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5148 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5149 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5150 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5151 ac_ext=c
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5152 ac_cpp='$CPP $CPPFLAGS'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5156
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5157 if test x$ax_cxx_compile_cxx11_required = xtrue; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5158 if test x$ac_success = xno; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5159 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5160 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5161 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5162 if test x$ac_success = xno; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5163 HAVE_CXX11=0
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5165 printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5166 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5167 HAVE_CXX11=1
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5168
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5169 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5170
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5171 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5172
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5173
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5174
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5175 # Extract the first word of "gmake", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5176 set dummy gmake; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5178 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5179 if test ${ac_cv_prog_MAKE+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5180 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5181 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5182 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5183 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5184 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5185 else
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5187 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5188 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5189 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5190 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5191 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5192 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5193 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5194 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5195 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5197 ac_cv_prog_MAKE="gmake"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5199 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5200 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5201 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5202 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5203 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5204
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5205 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5206 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5207 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5208 if test -n "$MAKE"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5210 printf "%s\n" "$MAKE" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5211 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5213 printf "%s\n" "no" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5214 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5215
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5216
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5217 if test x"$MAKE" = x; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5218 # Extract the first word of "make", so it can be a program name with args.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5219 set dummy make; ac_word=$2
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5221 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5222 if test ${ac_cv_prog_MAKE+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5223 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5224 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5225 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5226 if test -n "$MAKE"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5227 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5228 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5230 for as_dir in $PATH
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5231 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5232 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5233 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5234 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5235 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5236 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5237 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5238 for ac_exec_ext in '' $ac_executable_extensions; do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5239 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5240 ac_cv_prog_MAKE="make"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5242 break 2
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5243 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5244 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5245 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5246 IFS=$as_save_IFS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5247
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5248 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5249 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5250 MAKE=$ac_cv_prog_MAKE
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5251 if test -n "$MAKE"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5253 printf "%s\n" "$MAKE" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5254 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5256 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5257 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5258
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5259
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5260 fi
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
5261 if test -d .svn; then
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
5262 # Extract the first word of "svnversion", so it can be a program name with args.
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5263 set dummy svnversion; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5265 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5266 if test ${ac_cv_prog_SVNVERSION+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5267 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5268 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5269 else $as_nop
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5270 if test -n "$SVNVERSION"; then
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5271 ac_cv_prog_SVNVERSION="$SVNVERSION" # Let the user override the test.
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5272 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5274 for as_dir in $PATH
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5275 do
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5276 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5277 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5278 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5279 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5280 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5281 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5282 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5283 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5284 ac_cv_prog_SVNVERSION="svnversion"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5286 break 2
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5287 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5288 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5289 done
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5290 IFS=$as_save_IFS
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5291
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5292 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5293 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5294 SVNVERSION=$ac_cv_prog_SVNVERSION
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5295 if test -n "$SVNVERSION"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5297 printf "%s\n" "$SVNVERSION" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5298 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5300 printf "%s\n" "no" >&6; }
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5301 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5302
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5303
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
5304 fi
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5305 if test x"$SVNVERSION" = x; then
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5306 SVNVERSION=0
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5307 else
1162
52e3aa735bdb Attempt to fix parsing errors with the double : separated
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1161
diff changeset
5308 SVNVERSION="\` $SVNVERSION -n . | cut -d \":\" -f 1 | tr -d MS \`"
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
5309 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5310
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5311
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5312
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5313 # Find a good install program. We prefer a C program (faster),
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5314 # so one script is as good as another. But avoid the broken or
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5315 # incompatible versions:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5316 # SysV /etc/install, /usr/sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5317 # SunOS /usr/etc/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5318 # IRIX /sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5319 # AIX /bin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5320 # AmigaOS /C/install, which installs bootblocks on floppy discs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5321 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5322 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5323 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5324 # OS/2's system install, which has a completely different semantic
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5325 # ./install, which can be erroneously created by make from ./install.sh.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5326 # Reject install programs that cannot install multiple files.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5328 printf %s "checking for a BSD-compatible install... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5329 if test -z "$INSTALL"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5330 if test ${ac_cv_path_install+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5331 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5332 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5333 else $as_nop
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5335 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5336 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5337 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5338 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5339 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5340 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5341 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5342 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5343 # Account for fact that we put trailing slashes in our PATH walk.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5344 case $as_dir in #((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5345 ./ | /[cC]/* | \
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5346 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5347 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5348 /usr/ucb/* ) ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5349 *)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5350 # OSF1 and SCO ODT 3.0 have their own names for install.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5351 # Don't use installbsd from OSF since it installs stuff as root
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5352 # by default.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5353 for ac_prog in ginstall scoinst install; do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5354 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5355 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5356 if test $ac_prog = install &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5357 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5358 # AIX install. It has an incompatible calling convention.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5359 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5360 elif test $ac_prog = install &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5361 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5362 # program-specific install script used by HP pwplus--don't use.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5363 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5364 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5365 rm -rf conftest.one conftest.two conftest.dir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5366 echo one > conftest.one
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5367 echo two > conftest.two
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5368 mkdir conftest.dir
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5369 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5370 test -s conftest.one && test -s conftest.two &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5371 test -s conftest.dir/conftest.one &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5372 test -s conftest.dir/conftest.two
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5373 then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5374 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5375 break 3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5376 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5377 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5378 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5379 done
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5380 done
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5381 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5382 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5383
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5384 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5385 IFS=$as_save_IFS
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5386
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5387 rm -rf conftest.one conftest.two conftest.dir
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5388
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5389 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5390 if test ${ac_cv_path_install+y}; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5391 INSTALL=$ac_cv_path_install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5392 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5393 # As a last resort, use the slow shell script. Don't cache a
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5394 # value for INSTALL within a source directory, because that will
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5395 # break other packages using the cache if that directory is
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5396 # removed, or if the value is a relative name.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5397 INSTALL=$ac_install_sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5398 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5399 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5401 printf "%s\n" "$INSTALL" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5402
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5404 # It thinks the first close brace ends the variable substitution.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5405 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5406
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5407 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5408
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5409 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5410
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5411
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5412
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5413
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5414
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5415
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5416 # Make sure we can run config.sub.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5417 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5418 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5419
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5421 printf %s "checking build system type... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5422 if test ${ac_cv_build+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5423 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5424 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5425 else $as_nop
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5426 ac_build_alias=$build_alias
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5427 test "x$ac_build_alias" = x &&
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5428 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5429 test "x$ac_build_alias" = x &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5430 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5431 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5432 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5433
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5434 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5436 printf "%s\n" "$ac_cv_build" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5437 case $ac_cv_build in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5438 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5439 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5440 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5441 build=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5442 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5443 set x $ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5444 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5445 build_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5446 build_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5447 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5448 # Remember, the first character of IFS is used to create $*,
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5449 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5450 build_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5451 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5452 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5453
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5454
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5456 printf %s "checking host system type... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5457 if test ${ac_cv_host+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5458 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5459 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5460 else $as_nop
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5461 if test "x$host_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5462 ac_cv_host=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5463 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5464 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5465 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5466 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5467
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5468 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5470 printf "%s\n" "$ac_cv_host" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5471 case $ac_cv_host in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5472 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5473 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5474 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5475 host=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5476 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5477 set x $ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5478 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5479 host_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5480 host_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5481 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5482 # Remember, the first character of IFS is used to create $*,
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5483 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5484 host_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5485 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5486 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5487
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5488
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5490 printf %s "checking target system type... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5491 if test ${ac_cv_target+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5492 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5493 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5494 else $as_nop
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5495 if test "x$target_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5496 ac_cv_target=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5497 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5498 ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5499 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5500 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5501
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5502 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5504 printf "%s\n" "$ac_cv_target" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5505 case $ac_cv_target in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5506 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5507 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5508 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5509 target=$ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5510 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5511 set x $ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5512 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5513 target_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5514 target_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5515 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5516 # Remember, the first character of IFS is used to create $*,
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5517 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5518 target_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5519 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5520 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5521
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5522
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5523 # The aliases save the names the user supplied, while $host etc.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5524 # will get canonicalized.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5525 test -n "$target_alias" &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5526 test "$program_prefix$program_suffix$program_transform_name" = \
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5527 NONENONEs,x,x, &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5528 program_prefix=${target_alias}-
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5529
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
5530
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5531 # Check whether --with-dwcompat was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5532 if test ${with_dwcompat+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5533 then :
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5534 withval=$with_dwcompat; with_dwcompat=$withval
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5535 else $as_nop
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5536 with_dwcompat=no
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
5537 fi
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
5538
1095
1ab93c92d3ea Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1094
diff changeset
5539
1ab93c92d3ea Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1094
diff changeset
5540
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5541 # Check whether --with-gtk2 was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5542 if test ${with_gtk2+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5543 then :
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5544 withval=$with_gtk2; with_gtk2=$withval
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5545 else $as_nop
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5546 with_gtk2=no
1095
1ab93c92d3ea Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1094
diff changeset
5547 fi
1ab93c92d3ea Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1094
diff changeset
5548
1ab93c92d3ea Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1094
diff changeset
5549
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5550
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5551 # Check whether --with-gtk4 was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5552 if test ${with_gtk4+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5553 then :
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5554 withval=$with_gtk4; with_gtk4=$withval
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5555 else $as_nop
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5556 with_gtk4=no
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5557 fi
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5558
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5559
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5560
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5561 # Check whether --with-deprecated was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5562 if test ${with_deprecated+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5563 then :
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5564 withval=$with_deprecated; with_deprecated=$withval
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5565 else $as_nop
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5566 with_deprecated=no
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5567 fi
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5568
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5569
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
5570
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5571 # Check whether --with-arch was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5572 if test ${with_arch+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5573 then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5574 withval=$with_arch; with_arch=$withval
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5575 else $as_nop
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5576 with_arch=no
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5577 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5578
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5579
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5580
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
5581 # Check whether --with-sdk was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5582 if test ${with_sdk+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5583 then :
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
5584 withval=$with_sdk; with_sdk=$withval
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5585 else $as_nop
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
5586 with_sdk=no
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
5587 fi
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
5588
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
5589
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
5590
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
5591 # Check whether --with-minver was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5592 if test ${with_minver+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5593 then :
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
5594 withval=$with_minver; with_minver=$withval
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5595 else $as_nop
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
5596 with_minver=no
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
5597 fi
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
5598
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
5599
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
5600
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5601 ac_header_dirent=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5602 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5603 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5605 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5606 if eval test \${$as_ac_Header+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5607 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5608 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5609 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5611 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5612 #include <sys/types.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5613 #include <$ac_hdr>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5614
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5615 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5616 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5617 {
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5618 if ((DIR *) 0)
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5619 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5620 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5621 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5622 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5623 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5624 if ac_fn_c_try_compile "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5625 then :
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5626 eval "$as_ac_Header=yes"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5627 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5628 eval "$as_ac_Header=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5629 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5631 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5632 eval ac_res=\$$as_ac_Header
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5634 printf "%s\n" "$ac_res" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5635 if eval test \"x\$"$as_ac_Header"\" = x"yes"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5636 then :
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5637 cat >>confdefs.h <<_ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5638 #define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5639 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5640
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5641 ac_header_dirent=$ac_hdr; break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5642 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5643
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5644 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5645 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5646 if test $ac_header_dirent = dirent.h; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5648 printf %s "checking for library containing opendir... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5649 if test ${ac_cv_search_opendir+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5650 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5651 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5652 else $as_nop
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5653 ac_func_search_save_LIBS=$LIBS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5655 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5656
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5657 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5658 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5659 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5660 char opendir ();
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5661 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5662 main (void)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5663 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5664 return opendir ();
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5665 ;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5666 return 0;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5667 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5668 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5669 for ac_lib in '' dir
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5670 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5671 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5672 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5673 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5674 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5676 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5677 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5678 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5679 ac_cv_search_opendir=$ac_res
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5680 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5682 conftest$ac_exeext
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5683 if test ${ac_cv_search_opendir+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5684 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5685 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5686 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5687 done
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5688 if test ${ac_cv_search_opendir+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5689 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5690
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5691 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5692 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5693 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5694 rm conftest.$ac_ext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5695 LIBS=$ac_func_search_save_LIBS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5696 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5698 printf "%s\n" "$ac_cv_search_opendir" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5699 ac_res=$ac_cv_search_opendir
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5700 if test "$ac_res" != no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5701 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5703
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5704 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5705
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5706 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5708 printf %s "checking for library containing opendir... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5709 if test ${ac_cv_search_opendir+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5710 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5711 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5712 else $as_nop
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5713 ac_func_search_save_LIBS=$LIBS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5715 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5716
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5717 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5718 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5719 builtin and then its argument prototype would still apply. */
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5720 char opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5721 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5722 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5723 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5724 return opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5725 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5726 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5727 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5728 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5729 for ac_lib in '' x
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5730 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5731 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5732 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5733 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5734 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5735 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5736 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5737 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5738 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5739 ac_cv_search_opendir=$ac_res
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5740 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5742 conftest$ac_exeext
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5743 if test ${ac_cv_search_opendir+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5744 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5745 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5746 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5747 done
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5748 if test ${ac_cv_search_opendir+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5749 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5750
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5751 else $as_nop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5752 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5753 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5754 rm conftest.$ac_ext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5755 LIBS=$ac_func_search_save_LIBS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5756 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5758 printf "%s\n" "$ac_cv_search_opendir" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5759 ac_res=$ac_cv_search_opendir
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5760 if test "$ac_res" != no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5761 then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5763
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5764 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5765
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5766 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5767
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5768 ac_header= ac_cache=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5769 for ac_item in $ac_header_c_list
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5770 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5771 if test $ac_cache; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5772 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5773 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5774 printf "%s\n" "#define $ac_item 1" >> confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5775 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5776 ac_header= ac_cache=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5777 elif test $ac_header; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5778 ac_cache=$ac_item
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5779 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5780 ac_header=$ac_item
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5781 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5782 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5783
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5784
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5785
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5786
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5787
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5788
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5789
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5790
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5791 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5792 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5793
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5794 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5795
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5796 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5797 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5798 if test "x$ac_cv_header_unistd_h" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5799 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5800 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5801
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5802 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5803
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5804 ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5805 if test "x$ac_cv_header_sys_stat_h" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5806 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5807 printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5808
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5809 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5810
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5811
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5812
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5813 for ac_func in pipe
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5814 do :
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5815 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5816 if test "x$ac_cv_func_pipe" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5817 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5818 printf "%s\n" "#define HAVE_PIPE 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5819
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5820 printf "%s\n" "#define HAVE_PIPE 1" >>confdefs.h
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5821
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5822 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5823
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5824 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5825
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5826 for ac_func in vsnprintf
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5827 do :
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5828 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5829 if test "x$ac_cv_func_vsnprintf" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5830 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5831 printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5832
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5833 printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5834
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5835 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5836
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5837 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5838
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5839 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5840 if test "x$ac_cv_func_connect" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5841 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5842 printf "%s\n" "#define HAVE_CONNECT 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5843
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5844 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5845
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5846 if test x"$ac_cv_func_connect" = x"no"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5847 if test -z "$libsocket"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5849 printf %s "checking for socket in -lsocket... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5850 if test ${ac_cv_lib_socket_socket+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5851 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5852 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5853 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5854 ac_check_lib_save_LIBS=$LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5855 LIBS="-lsocket $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5857 /* end confdefs.h. */
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5858
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5859 /* Override any GCC internal prototype to avoid an error.
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5860 Use char because int might match the return type of a GCC
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5861 builtin and then its argument prototype would still apply. */
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5862 char socket ();
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5863 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5864 main (void)
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5865 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5866 return socket ();
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5867 ;
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5868 return 0;
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5869 }
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5870 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5871 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5872 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5873 ac_cv_lib_socket_socket=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5874 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5875 ac_cv_lib_socket_socket=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5876 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5878 conftest$ac_exeext conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5879 LIBS=$ac_check_lib_save_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5880 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5882 printf "%s\n" "$ac_cv_lib_socket_socket" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5883 if test "x$ac_cv_lib_socket_socket" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5884 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5885 LIBS="$LIBS -lsocket"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5886 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5887
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5888 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5889
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5890 if test -z "$libinet"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5892 printf %s "checking for socket in -linet... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5893 if test ${ac_cv_lib_inet_socket+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5894 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5895 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5896 else $as_nop
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5897 ac_check_lib_save_LIBS=$LIBS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5898 LIBS="-linet $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5900 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5901
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5902 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5903 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5904 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5905 char socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5906 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5907 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5908 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5909 return socket ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5910 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5911 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5912 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5913 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5914 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5915 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5916 ac_cv_lib_inet_socket=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5917 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5918 ac_cv_lib_inet_socket=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5919 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5921 conftest$ac_exeext conftest.$ac_ext
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5922 LIBS=$ac_check_lib_save_LIBS
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
5923 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5925 printf "%s\n" "$ac_cv_lib_inet_socket" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5926 if test "x$ac_cv_lib_inet_socket" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5927 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5928 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5929 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5930
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5931 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5932
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5933 if test -z "$libnsl"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5935 printf %s "checking for gethostname in -lnsl... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5936 if test ${ac_cv_lib_nsl_gethostname+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5937 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5938 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5939 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5940 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5941 LIBS="-lnsl $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5943 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5944
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5945 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5946 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5947 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5948 char gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5949 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5950 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5951 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5952 return gethostname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5953 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5954 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5955 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5956 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5957 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5958 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5959 ac_cv_lib_nsl_gethostname=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5960 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5961 ac_cv_lib_nsl_gethostname=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5962 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5964 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5965 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5966 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5968 printf "%s\n" "$ac_cv_lib_nsl_gethostname" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5969 if test "x$ac_cv_lib_nsl_gethostname" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5970 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5971 LIBS="$LIBS -lnsl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5972 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5973
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5974 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5975 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5976
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5978 printf %s "checking for getpwnam in -lsun... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5979 if test ${ac_cv_lib_sun_getpwnam+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5980 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5981 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5982 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5983 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5984 LIBS="-lsun $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5986 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5987
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5988 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5989 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5990 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5991 char getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5992 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
5993 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5994 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5995 return getpwnam ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5996 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5997 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5998 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5999 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6000 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6001 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6002 ac_cv_lib_sun_getpwnam=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6003 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6004 ac_cv_lib_sun_getpwnam=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6005 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6007 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6008 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6009 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6011 printf "%s\n" "$ac_cv_lib_sun_getpwnam" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6012 if test "x$ac_cv_lib_sun_getpwnam" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6013 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6014 LIBS="$LIBS -lsun"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6015 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6016
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6018 printf %s "checking for inet_addr in -ldgc... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6019 if test ${ac_cv_lib_dgc_inet_addr+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6020 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6021 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6022 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6023 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6024 LIBS="-ldgc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6026 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6027
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6028 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6029 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6030 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6031 char inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6032 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6033 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6034 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6035 return inet_addr ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6036 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6037 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6038 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6039 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6040 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6041 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6042 ac_cv_lib_dgc_inet_addr=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6043 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6044 ac_cv_lib_dgc_inet_addr=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6045 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6047 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6048 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6049 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6051 printf "%s\n" "$ac_cv_lib_dgc_inet_addr" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6052 if test "x$ac_cv_lib_dgc_inet_addr" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6053 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6054 LIBS="$LIBS -ldgc"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6055 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6056
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6058 printf %s "checking for gethostbyname in -lresolv... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6059 if test ${ac_cv_lib_resolv_gethostbyname+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6060 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6061 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6062 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6063 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6064 LIBS="-lresolv $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6066 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6067
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6068 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6069 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6070 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6071 char gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6072 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6073 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6074 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6075 return gethostbyname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6076 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6077 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6078 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6079 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6080 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6081 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6082 ac_cv_lib_resolv_gethostbyname=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6083 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6084 ac_cv_lib_resolv_gethostbyname=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6085 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6087 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6088 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6089 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6091 printf "%s\n" "$ac_cv_lib_resolv_gethostbyname" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6092 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6093 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6094 LIBS="$LIBS -lresolv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6095 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6096
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6098 printf %s "checking for atan2 in -lm... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6099 if test ${ac_cv_lib_m_atan2+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6100 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6101 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6102 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6103 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6104 LIBS="-lm $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6106 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6107
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6108 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6109 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6110 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6111 char atan2 ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6112 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6113 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6114 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6115 return atan2 ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6116 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6117 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6118 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6119 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6120 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6121 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6122 ac_cv_lib_m_atan2=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6123 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6124 ac_cv_lib_m_atan2=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6125 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6127 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6128 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6129 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6131 printf "%s\n" "$ac_cv_lib_m_atan2" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6132 if test "x$ac_cv_lib_m_atan2" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6133 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6134 LIBS="$LIBS -lm"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6135 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6136
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6137
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6138 build_gtk="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6139 check_pthreads="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6140 PLATLIBS=""
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6141 SONAME=""
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6142 PLATCCFLAGS="-g -O2 -fPIC -Wall"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6143 ARFLAGS="cqs"
2862
7479ab54e014 Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2748
diff changeset
6144 ARCH=""
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6145
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6146 case "$target" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6147 *cygwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6148 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6149 *mingw32)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6150
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6151 printf "%s\n" "#define DW_USE_GTK 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6152
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6153 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6154 *linux*)
1351
751f127439f7 Changes to the build system to no longer use the version during configure.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1189
diff changeset
6155 SONAME="-Wl,-soname,lib$TARGET.so.\$(DW_MAJOR_VERSION)"
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
6156 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6157 *apple-darwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6158 case "$with_arch" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6159 no)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6160 ARCH=""
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6161 ;;
2217
6cdb907755cb Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2204
diff changeset
6162 classic)
6cdb907755cb Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2204
diff changeset
6163 ARCH="-arch ppc -arch x86_64 -arch i386"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6164 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6165 32bit)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6166 ARCH="-arch ppc -arch i386"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6167 ;;
1351
751f127439f7 Changes to the build system to no longer use the version during configure.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1189
diff changeset
6168 intel)
751f127439f7 Changes to the build system to no longer use the version during configure.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1189
diff changeset
6169 ARCH="-arch i386 -arch x86_64"
751f127439f7 Changes to the build system to no longer use the version during configure.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1189
diff changeset
6170 ;;
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6171 powerpc)
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6172 ARCH="-arch ppc -arch ppc64"
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6173 ;;
2129
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
6174 arm)
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
6175 ARCH="-arch arm64"
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
6176 ;;
2185
2a52d9fc2de4 Mac: Added configure option --with-arch=modern that builds 64bit Intel and ARM.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2160
diff changeset
6177 modern)
2a52d9fc2de4 Mac: Added configure option --with-arch=modern that builds 64bit Intel and ARM.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2160
diff changeset
6178 ARCH="-arch x86_64 -arch arm64"
2a52d9fc2de4 Mac: Added configure option --with-arch=modern that builds 64bit Intel and ARM.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2160
diff changeset
6179 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6180 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6181 ARCH="-arch $with_arch"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6182 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6183 esac
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
6184 case "$with_sdk" in
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
6185 no)
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
6186 ;;
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
6187 *)
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
6188 CC="$CC -isysroot$with_sdk"
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
6189 ;;
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
6190 esac
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6191 case "$with_minver" in
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6192 no)
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6193 ;;
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6194 *)
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6195 CFLAGS="$CFLAGS -mmacosx-version-min=$with_minver"
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6196 LIBS="$LIBS -mmacosx-version-min=$with_minver"
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6197 ;;
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
6198 esac
1351
751f127439f7 Changes to the build system to no longer use the version during configure.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1189
diff changeset
6199 SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress -headerpad_max_install_names"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6200 SOSUFFIX=dylib
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6201 DW_DIR=mac
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6202 DW_SRC=dw.m
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6203 DW_DEFINE=__MAC__
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6204 LIBS="$LIBS -framework Cocoa -framework WebKit"
2087
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6205 save_libs="$LIBS"
2128
17f5c1c199b4 Mac: Switch to using -weak_framework UserNotifications so binaries will work
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2111
diff changeset
6206 LIBS="$LIBS -weak_framework UserNotifications"
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
6207 INSTALL_TEST=""
2087
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6208 ac_fn_c_check_func "$LINENO" "exit" "ac_cv_func_exit"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6209 if test "x$ac_cv_func_exit" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6210 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6211
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6212 else $as_nop
2087
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6213 LIBS="$save_libs"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6214 fi
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6215
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6216 build_gtk="no"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6217 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6218 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6219 ;;
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
6220 esac
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6221
2087
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6222 if test $with_dwcompat = yes; then
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6223 COMPAT_OBJECT="dwcompat.o"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6224 INSTALL_COMPAT="installdwcompat"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6225 SYSCONF_LINK_TARGET_SHARED2="lib$TARGET2.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6226 else
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6227 COMPAT_OBJECT=""
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6228 INSTALL_COMPAT=""
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6229 SYSCONF_LINK_TARGET_SHARED2=""
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6230 fi
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6231 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6232 SYSCONF_LINK_TARGET_STATIC="lib$TARGET.a"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6233
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6234 TARGETS="$SYSCONF_LINK_TARGET_SHARED $SYSCONF_LINK_TARGET_SHARED2"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
6235
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6236 if test $build_gtk = "yes"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6237 ac_ext=c
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6238 ac_cpp='$CPP $CPPFLAGS'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6243 printf %s "checking how to run the C preprocessor... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6244 # On Suns, sometimes $CPP names a directory.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6245 if test -n "$CPP" && test -d "$CPP"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6246 CPP=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6247 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6248 if test -z "$CPP"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6249 if test ${ac_cv_prog_CPP+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6250 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6251 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6252 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6253 # Double quotes because $CC needs to be expanded
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6254 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6255 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6256 ac_preproc_ok=false
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6257 for ac_c_preproc_warn_flag in '' yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6258 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6259 # Use a header file that comes with gcc, so configuring glibc
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6260 # with a fresh cross-compiler works.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6261 # On the NeXT, cc -E runs the code through the compiler's parser,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6262 # not just through cpp. "Syntax error" is here to catch this case.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6264 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6265 #include <limits.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6266 Syntax error
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6267 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6268 if ac_fn_c_try_cpp "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6269 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6270
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6271 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6272 # Broken: fails on valid input.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6273 continue
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6274 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6275 rm -f conftest.err conftest.i conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6276
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6277 # OK, works on sane cases. Now check whether nonexistent headers
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6278 # can be detected and how.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6280 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6281 #include <ac_nonexistent.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6282 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6283 if ac_fn_c_try_cpp "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6284 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6285 # Broken: success on invalid input.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6286 continue
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6287 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6288 # Passes both tests.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6289 ac_preproc_ok=:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6290 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6291 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6292 rm -f conftest.err conftest.i conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6293
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6294 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6296 rm -f conftest.i conftest.err conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6297 if $ac_preproc_ok
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6298 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6299 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6300 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6301
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6302 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6303 ac_cv_prog_CPP=$CPP
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6304
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6305 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6306 CPP=$ac_cv_prog_CPP
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6307 else
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6308 ac_cv_prog_CPP=$CPP
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6309 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6311 printf "%s\n" "$CPP" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6312 ac_preproc_ok=false
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6313 for ac_c_preproc_warn_flag in '' yes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6314 do
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6315 # Use a header file that comes with gcc, so configuring glibc
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6316 # with a fresh cross-compiler works.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6317 # On the NeXT, cc -E runs the code through the compiler's parser,
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6318 # not just through cpp. "Syntax error" is here to catch this case.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6320 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6321 #include <limits.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6322 Syntax error
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6323 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6324 if ac_fn_c_try_cpp "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6325 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6326
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6327 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6328 # Broken: fails on valid input.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6329 continue
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6330 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6331 rm -f conftest.err conftest.i conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6332
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6333 # OK, works on sane cases. Now check whether nonexistent headers
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6334 # can be detected and how.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6336 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6337 #include <ac_nonexistent.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6338 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6339 if ac_fn_c_try_cpp "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6340 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6341 # Broken: success on invalid input.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6342 continue
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6343 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6344 # Passes both tests.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6345 ac_preproc_ok=:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6346 break
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6347 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6348 rm -f conftest.err conftest.i conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6349
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6350 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6352 rm -f conftest.i conftest.err conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6353 if $ac_preproc_ok
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6354 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6355
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6356 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6357 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6359 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6360 See \`config.log' for more details" "$LINENO" 5; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6361 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6362
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6363 ac_ext=c
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6364 ac_cpp='$CPP $CPPFLAGS'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6368
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6369
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6371 printf %s "checking for X... " >&6; }
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6372
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6373
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6374 # Check whether --with-x was given.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6375 if test ${with_x+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6376 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6377 withval=$with_x;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6378 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6379
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6380 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6381 if test "x$with_x" = xno; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6382 # The user explicitly disabled X.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6383 have_x=disabled
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6384 else
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6385 case $x_includes,$x_libraries in #(
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6386 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6387 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6388 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6389 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6390 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6391 # One or both of the vars are not set, and there is no cached value.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6392 ac_x_includes=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6393 ac_x_libraries=no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6394 # Do we need to do anything special at all?
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6395 ac_save_LIBS=$LIBS
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6396 LIBS="-lX11 $LIBS"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6398 /* end confdefs.h. */
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6399 #include <X11/Xlib.h>
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6400 int
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6401 main (void)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6402 {
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6403 XrmInitialize ()
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6404 ;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6405 return 0;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6406 }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6407 _ACEOF
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6408 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6409 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6410 # We can compile and link X programs with no special options.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6411 ac_x_includes=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6412 ac_x_libraries=
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6413 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6415 conftest$ac_exeext conftest.$ac_ext
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6416 LIBS="$ac_save_LIBS"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6417 # If that didn't work, only try xmkmf and file system searches
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6418 # for native compilation.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6419 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6420 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6421 rm -f -r conftest.dir
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6422 if mkdir conftest.dir; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6423 cd conftest.dir
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6424 cat >Imakefile <<'_ACEOF'
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6425 incroot:
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6426 @echo incroot='${INCROOT}'
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6427 usrlibdir:
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6428 @echo usrlibdir='${USRLIBDIR}'
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6429 libdir:
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6430 @echo libdir='${LIBDIR}'
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6431 _ACEOF
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6432 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6433 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6434 for ac_var in incroot usrlibdir libdir; do
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6435 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6436 done
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6437 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6438 for ac_extension in a so sl dylib la dll; do
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6439 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6440 test -f "$ac_im_libdir/libX11.$ac_extension"; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6441 ac_im_usrlibdir=$ac_im_libdir; break
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6442 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6443 done
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6444 # Screen out bogus values from the imake configuration. They are
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6445 # bogus both because they are the default anyway, and because
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6446 # using them would break gcc on systems where it needs fixed includes.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6447 case $ac_im_incroot in
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6448 /usr/include) ac_x_includes= ;;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6449 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6450 esac
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6451 case $ac_im_usrlibdir in
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6452 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6453 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6454 esac
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6455 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6456 cd ..
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6457 rm -f -r conftest.dir
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6458 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6459
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6460 # Standard set of common directories for X headers.
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6461 # Check X11 before X11Rn because it is often a symlink to the current release.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6462 ac_x_header_dirs='
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6463 /usr/X11/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6464 /usr/X11R7/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6465 /usr/X11R6/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6466 /usr/X11R5/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6467 /usr/X11R4/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6468
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6469 /usr/include/X11
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6470 /usr/include/X11R7
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6471 /usr/include/X11R6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6472 /usr/include/X11R5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6473 /usr/include/X11R4
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6474
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6475 /usr/local/X11/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6476 /usr/local/X11R7/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6477 /usr/local/X11R6/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6478 /usr/local/X11R5/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6479 /usr/local/X11R4/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6480
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6481 /usr/local/include/X11
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6482 /usr/local/include/X11R7
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6483 /usr/local/include/X11R6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6484 /usr/local/include/X11R5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6485 /usr/local/include/X11R4
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6486
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6487 /opt/X11/include
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6488
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6489 /usr/X386/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6490 /usr/x386/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6491 /usr/XFree86/include/X11
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6492
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6493 /usr/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6494 /usr/local/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6495 /usr/unsupported/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6496 /usr/athena/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6497 /usr/local/x11r5/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6498 /usr/lpp/Xamples/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6499
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6500 /usr/openwin/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6501 /usr/openwin/share/include'
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6502
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6503 if test "$ac_x_includes" = no; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6504 # Guess where to find include files, by looking for Xlib.h.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6505 # First, try using that file with no special directory specified.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6507 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6508 #include <X11/Xlib.h>
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6509 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6510 if ac_fn_c_try_cpp "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6511 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6512 # We can compile using X headers with no special include directory.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6513 ac_x_includes=
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6514 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6515 for ac_dir in $ac_x_header_dirs; do
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6516 if test -r "$ac_dir/X11/Xlib.h"; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6517 ac_x_includes=$ac_dir
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6518 break
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6519 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6520 done
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6521 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6522 rm -f conftest.err conftest.i conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6523 fi # $ac_x_includes = no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6524
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6525 if test "$ac_x_libraries" = no; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6526 # Check for the libraries.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6527 # See if we find them without any special options.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6528 # Don't add to $LIBS permanently.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6529 ac_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6530 LIBS="-lX11 $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6532 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6533 #include <X11/Xlib.h>
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6534 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6535 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6536 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6537 XrmInitialize ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6538 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6539 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6540 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6541 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6542 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6543 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6544 LIBS=$ac_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6545 # We can link X programs with no special library path.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6546 ac_x_libraries=
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6547 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6548 LIBS=$ac_save_LIBS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6549 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6550 do
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6551 # Don't even attempt the hair of trying to link an X program!
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6552 for ac_extension in a so sl dylib la dll; do
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6553 if test -r "$ac_dir/libX11.$ac_extension"; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6554 ac_x_libraries=$ac_dir
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6555 break 2
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6556 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6557 done
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6558 done
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6559 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6561 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6562 fi # $ac_x_libraries = no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6563
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6564 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6565 # Record the results.
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6566 case $ac_x_includes,$ac_x_libraries in #(
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6567 no,* | *,no | *\'*) :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6568 # Didn't find X, or a directory has "'" in its name.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6569 ac_cv_have_x="have_x=no" ;; #(
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6570 *) :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6571 # Record where we found X for the cache.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6572 ac_cv_have_x="have_x=yes\
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6573 ac_x_includes='$ac_x_includes'\
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6574 ac_x_libraries='$ac_x_libraries'" ;;
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6575 esac
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6576 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6577 ;; #(
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6578 *) have_x=yes;;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6579 esac
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6580 eval "$ac_cv_have_x"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6581 fi # $with_x != no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6582
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6583 if test "$have_x" != yes; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6585 printf "%s\n" "$have_x" >&6; }
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6586 no_x=yes
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6587 else
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6588 # If each of the values was on the command line, it overrides each guess.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6589 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6590 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6591 # Update the cache value to reflect the command line values.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6592 ac_cv_have_x="have_x=yes\
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6593 ac_x_includes='$x_includes'\
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6594 ac_x_libraries='$x_libraries'"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6596 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6597 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6598
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6599 if test "$no_x" = yes; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6600 # Not all programs may use this symbol, but it does not hurt to define it.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6601
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6602 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6603
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6604 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6605 else
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6606 if test -n "$x_includes"; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6607 X_CFLAGS="$X_CFLAGS -I$x_includes"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6608 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6609
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6610 # It would also be nice to do this for all -L options, not just this one.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6611 if test -n "$x_libraries"; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6612 X_LIBS="$X_LIBS -L$x_libraries"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6613 # For Solaris; some versions of Sun CC require a space after -R and
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6614 # others require no space. Words are not sufficient . . . .
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6616 printf %s "checking whether -R must be followed by a space... " >&6; }
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6617 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6618 ac_xsave_c_werror_flag=$ac_c_werror_flag
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6619 ac_c_werror_flag=yes
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6621 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6622
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6623 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6624 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6625 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6626
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6627 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6628 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6629 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6630 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6631 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6632 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6634 printf "%s\n" "no" >&6; }
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6635 X_LIBS="$X_LIBS -R$x_libraries"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6636 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6637 LIBS="$ac_xsave_LIBS -R $x_libraries"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6639 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6640
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6641 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6642 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6643 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6644
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6645 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6646 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6647 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6648 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6649 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6650 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6652 printf "%s\n" "yes" >&6; }
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6653 X_LIBS="$X_LIBS -R $x_libraries"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6654 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6656 printf "%s\n" "neither works" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6657 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6659 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6660 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6662 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6663 ac_c_werror_flag=$ac_xsave_c_werror_flag
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6664 LIBS=$ac_xsave_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6665 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6666
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6667 # Check for system-dependent libraries X programs must link with.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6668 # Do this before checking for the system-independent R6 libraries
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6669 # (-lICE), since we may need -lsocket or whatever for X linking.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6670
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6671 if test "$ISC" = yes; then
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6672 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6673 else
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6674 # Martyn Johnson says this is needed for Ultrix, if the X
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6675 # libraries were built with DECnet support. And Karl Berry says
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6676 # the Alpha needs dnet_stub (dnet does not exist).
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6677 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6679 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6680
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6681 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6682 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6683 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6684 char XOpenDisplay ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6685 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6686 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6687 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6688 return XOpenDisplay ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6689 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6690 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6691 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6692 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6693 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6694 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6695
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6696 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6698 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6699 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6700 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6701 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6702 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6703 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6704 LIBS="-ldnet $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6706 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6707
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6708 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6709 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6710 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6711 char dnet_ntoa ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6712 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6713 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6714 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6715 return dnet_ntoa ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6716 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6717 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6718 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6719 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6720 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6721 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6722 ac_cv_lib_dnet_dnet_ntoa=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6723 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6724 ac_cv_lib_dnet_dnet_ntoa=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6725 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6727 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6728 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6729 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6731 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6732 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6733 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6734 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6735 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6736
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6737 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6739 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6740 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6741 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6742 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6743 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6744 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6745 LIBS="-ldnet_stub $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6747 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6748
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6749 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6750 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6751 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6752 char dnet_ntoa ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6753 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6754 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6755 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6756 return dnet_ntoa ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6757 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6758 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6759 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6760 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6761 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6762 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6763 ac_cv_lib_dnet_stub_dnet_ntoa=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6764 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6765 ac_cv_lib_dnet_stub_dnet_ntoa=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6766 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6768 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6769 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6770 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6772 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6773 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6774 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6775 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6776 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6777
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6778 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6779 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6781 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6782 LIBS="$ac_xsave_LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6783
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6784 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6785 # to get the SysV transport functions.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6786 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6787 # needs -lnsl.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6788 # The nsl library prevents programs from opening the X display
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6789 # on Irix 5.2, according to T.E. Dickey.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6790 # The functions gethostbyname, getservbyname, and inet_addr are
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6791 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6792 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6793 if test "x$ac_cv_func_gethostbyname" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6794 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6795
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6796 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6797
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6798 if test $ac_cv_func_gethostbyname = no; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6800 printf %s "checking for gethostbyname in -lnsl... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6801 if test ${ac_cv_lib_nsl_gethostbyname+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6802 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6803 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6804 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6805 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6806 LIBS="-lnsl $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6808 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6809
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6810 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6811 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6812 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6813 char gethostbyname ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6814 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6815 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6816 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6817 return gethostbyname ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6818 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6819 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6820 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6821 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6822 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6823 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6824 ac_cv_lib_nsl_gethostbyname=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6825 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6826 ac_cv_lib_nsl_gethostbyname=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6827 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6829 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6830 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6831 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6833 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6834 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6835 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6836 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6837 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6838
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6839 if test $ac_cv_lib_nsl_gethostbyname = no; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6841 printf %s "checking for gethostbyname in -lbsd... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6842 if test ${ac_cv_lib_bsd_gethostbyname+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6843 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6844 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6845 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6846 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6847 LIBS="-lbsd $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6849 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6850
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6851 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6852 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6853 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6854 char gethostbyname ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6855 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6856 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6857 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6858 return gethostbyname ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6859 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6860 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6861 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6862 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6863 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6864 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6865 ac_cv_lib_bsd_gethostbyname=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6866 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6867 ac_cv_lib_bsd_gethostbyname=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6868 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6870 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6871 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6872 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6874 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6875 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6876 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6877 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6878 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6879
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6880 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6881 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6882
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6883 # lieder@skyler.mavd.honeywell.com says without -lsocket,
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6884 # socket/setsockopt and other routines are undefined under SCO ODT
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6885 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6886 # on later versions), says Simon Leinen: it contains gethostby*
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6887 # variants that don't use the name server (or something). -lsocket
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6888 # must be given before -lnsl if both are needed. We assume that
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6889 # if connect needs -lnsl, so does gethostbyname.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6890 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6891 if test "x$ac_cv_func_connect" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6892 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6893
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6894 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6895
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6896 if test $ac_cv_func_connect = no; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6898 printf %s "checking for connect in -lsocket... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6899 if test ${ac_cv_lib_socket_connect+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6900 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6901 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6902 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6903 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6904 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6906 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6907
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6908 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6909 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6910 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6911 char connect ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6912 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6913 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6914 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6915 return connect ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6916 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6917 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6918 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6919 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6920 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6921 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6922 ac_cv_lib_socket_connect=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6923 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6924 ac_cv_lib_socket_connect=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6925 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6927 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6928 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6929 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6931 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6932 if test "x$ac_cv_lib_socket_connect" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6933 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6934 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6935 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6936
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6937 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6938
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6939 # Guillermo Gomez says -lposix is necessary on A/UX.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6940 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6941 if test "x$ac_cv_func_remove" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6942 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6943
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6944 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6945
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6946 if test $ac_cv_func_remove = no; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6948 printf %s "checking for remove in -lposix... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6949 if test ${ac_cv_lib_posix_remove+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6950 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6951 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6952 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6953 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6954 LIBS="-lposix $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6956 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6957
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6958 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6959 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6960 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6961 char remove ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6962 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6963 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6964 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6965 return remove ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6966 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6967 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6968 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6969 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6970 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6971 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6972 ac_cv_lib_posix_remove=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6973 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6974 ac_cv_lib_posix_remove=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6975 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6977 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6978 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6979 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6981 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6982 if test "x$ac_cv_lib_posix_remove" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6983 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6984 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6985 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6986
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6987 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6988
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6989 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6990 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6991 if test "x$ac_cv_func_shmat" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6992 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6993
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6994 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6995
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
6996 if test $ac_cv_func_shmat = no; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6998 printf %s "checking for shmat in -lipc... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
6999 if test ${ac_cv_lib_ipc_shmat+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7000 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7001 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7002 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7003 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7004 LIBS="-lipc $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7006 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7007
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7008 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7009 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7010 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7011 char shmat ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7012 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7013 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7014 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7015 return shmat ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7016 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7017 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7018 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7019 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7020 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7021 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7022 ac_cv_lib_ipc_shmat=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7023 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7024 ac_cv_lib_ipc_shmat=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7025 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7027 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7028 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7029 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7031 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7032 if test "x$ac_cv_lib_ipc_shmat" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7033 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7034 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7035 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7036
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7037 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7038 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7039
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7040 # Check for libraries that X11R6 Xt/Xaw programs need.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7041 ac_save_LDFLAGS=$LDFLAGS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7042 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7043 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7044 # check for ICE first), but we must link in the order -lSM -lICE or
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7045 # we get undefined symbols. So assume we have SM if we have ICE.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7046 # These have to be linked with before -lX11, unlike the other
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7047 # libraries we check for below, so use a different variable.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7048 # John Interrante, Karl Berry
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7050 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7051 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7052 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7053 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7054 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7055 ac_check_lib_save_LIBS=$LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7056 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7058 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7059
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7060 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7061 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7062 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7063 char IceConnectionNumber ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7064 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7065 main (void)
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7066 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7067 return IceConnectionNumber ();
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7068 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7069 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7070 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7071 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7072 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7073 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7074 ac_cv_lib_ICE_IceConnectionNumber=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7075 else $as_nop
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7076 ac_cv_lib_ICE_IceConnectionNumber=no
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7077 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7079 conftest$ac_exeext conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7080 LIBS=$ac_check_lib_save_LIBS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7081 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7083 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7084 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7085 then :
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7086 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7087 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7088
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7089 LDFLAGS=$ac_save_LDFLAGS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7090
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7091 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7092
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
7093 LIBS="$LIBS $X_LIBS -lX11"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7094 # Extract the first word of "pkg-config", so it can be a program name with args.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7095 set dummy pkg-config; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7097 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7098 if test ${ac_cv_prog_PKG_CFG+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7099 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7100 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7101 else $as_nop
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7102 if test -n "$PKG_CFG"; then
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7103 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7104 else
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7106 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7107 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7108 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7109 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7110 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7111 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7112 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7113 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7114 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7115 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7116 ac_cv_prog_PKG_CFG="pkg-config"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7118 break 2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7119 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7120 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7121 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7122 IFS=$as_save_IFS
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7123
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7124 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7125 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7126 PKG_CFG=$ac_cv_prog_PKG_CFG
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7127 if test -n "$PKG_CFG"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CFG" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7129 printf "%s\n" "$PKG_CFG" >&6; }
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7130 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7132 printf "%s\n" "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7133 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7134
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7135
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7136 if test x"$PKG_CFG" != x; then
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7137 # Figure out the best available GTK packages...
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7138 # Preference order GTK3>GTK4>GTK2, WebKit2>WebKit1.1>WebKit1.0>WebKit
1095
1ab93c92d3ea Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1094
diff changeset
7139 GTK_LIBS=""
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7140 GTK_PACKAGES=""
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7141 WEBKIT_PKG=""
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7142 WEBKIT_ALT_PKG=""
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
7143 if test $with_gtk4 = "yes"; then
2747
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
7144 # First try the X11 version so we can call Xlib directly
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
7145 # to fill in the holes not available with Wayland
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
7146 GTK_PACKAGES="gtk4-x11"
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
7147 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
2747
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
7148 if test x"$GTK_LIBS" = x; then
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
7149 GTK_PACKAGES="gtk4"
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
7150 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
7151 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7152 if test x"$GTK_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7153 DW_DIR=gtk4
2978
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7154 # WebKit2GTK built for GTK4 becomes 5.0 or 6.0
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7155 WEBKIT_PKG="webkitgtk-6.0"
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7156 WEBKIT_ALT_PKG="webkit2gtk-5.0"
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7157 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7158 else
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7159 # Put the GTK2 test here since --with-gtk2 is mutually
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7160 # exclusive with --with-gtk4
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7161 if test $with_gtk2 = "yes"; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7162 GTK_PACKAGES="gtk+-2.0 gthread-2.0"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7163 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7164 if test x"$GTK_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7165 DW_DIR=gtk
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7166 WEBKIT_PKG="webkit-1.1"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7167 WEBKIT_ALT_PKG="webkit-1.0"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7168 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7169 fi
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
7170 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7171 # We did not successfully find a GTK installation after
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7172 # handling --with-gtk2 and --with-gtk4 so try GTK3
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
7173 if test x"$GTK_LIBS" = x; then
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7174 # GTK3 Defaults section
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7175 GTK_PACKAGES="gtk+-3.0"
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
7176 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7177 WEBKIT_PKG="webkit2gtk-4.0"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7178 WEBKIT_ALT_PKG="webkitgtk-3.0"
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
7179 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7180 echo "checking for GTK version: $DW_DIR"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7181 # Test for the preferred WebKit package
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7182 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7183 if test x"$WEBKIT_LIBS" = x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7184 # Preferred package is not available, try the alternate if defined
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7185 if test x"$WEBKIT_ALT_PKG" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7186 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_ALT_PKG`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7187 if test x"$WEBKIT_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7188 WEBKIT_PKG=$WEBKIT_ALT_PKG
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7189 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7190 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7191 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7192 echo "checking for WebKit package: $WEBKIT_PKG"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7193 WEBKIT_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7194 # If we got a WebKit package that might work...
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7195 # Add defintitions necessary for the correct code paths
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7196 if test x"$WEBKIT_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7197 if test "$WEBKIT_PKG" = "webkit-1.0"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7198
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7199 printf "%s\n" "#define USE_WEBKIT10 1" >>confdefs.h
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7200
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7201 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7202 if test "$WEBKIT_PKG" = "webkit-1.1"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7203
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7204 printf "%s\n" "#define USE_WEBKIT11 1" >>confdefs.h
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7205
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7206 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
7207 if test "$WEBKIT_PKG" = "webkit2gtk-4.0"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7208
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7209 printf "%s\n" "#define USE_WEBKIT2 1" >>confdefs.h
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7210
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7211 fi
2978
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7212 if test "$WEBKIT_PKG" = "webkitgtk-6.0"; then
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7213
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7214 printf "%s\n" "#define USE_WEBKIT6 1" >>confdefs.h
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7215
d84182f0054e GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2970
diff changeset
7216 fi
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7217 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7218 if test x"$RPATH" != x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7219 RPATH="-Wl,-R$RPATH"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7220 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7221 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7222
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7223 GTK_CFLAGS=`$PKG_CFG --cflags $GTK_PACKAGES`
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7224 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES`
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7225
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7226
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7227
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7228
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7229
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7230
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7231
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7232 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7233 if test -n "$ac_tool_prefix"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7234 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7235 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7237 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7238 if test ${ac_cv_path_PKG_CONFIG+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7239 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7240 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7241 else $as_nop
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7242 case $PKG_CONFIG in
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7243 [\\/]* | ?:[\\/]*)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7244 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7245 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7246 *)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7248 for as_dir in $PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7249 do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7250 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7251 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7252 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7253 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7254 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7255 esac
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7256 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7257 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7258 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7260 break 2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7261 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7262 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7263 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7264 IFS=$as_save_IFS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7265
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7266 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7267 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7268 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7269 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7270 if test -n "$PKG_CONFIG"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7272 printf "%s\n" "$PKG_CONFIG" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7273 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7275 printf "%s\n" "no" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7276 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7277
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7278
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7279 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7280 if test -z "$ac_cv_path_PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7281 ac_pt_PKG_CONFIG=$PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7282 # Extract the first word of "pkg-config", so it can be a program name with args.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7283 set dummy pkg-config; ac_word=$2
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7285 printf %s "checking for $ac_word... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7286 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7287 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7288 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7289 else $as_nop
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7290 case $ac_pt_PKG_CONFIG in
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7291 [\\/]* | ?:[\\/]*)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7292 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7293 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7294 *)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7296 for as_dir in $PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7297 do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7298 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7299 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7300 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7301 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7302 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7303 esac
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7304 for ac_exec_ext in '' $ac_executable_extensions; do
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7305 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7306 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7308 break 2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7309 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7310 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7311 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7312 IFS=$as_save_IFS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7313
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7314 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7315 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7316 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7317 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7318 if test -n "$ac_pt_PKG_CONFIG"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7320 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7321 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7323 printf "%s\n" "no" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7324 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7325
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7326 if test "x$ac_pt_PKG_CONFIG" = x; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7327 PKG_CONFIG=""
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7328 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7329 case $cross_compiling:$ac_tool_warned in
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7330 yes:)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7332 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7333 ac_tool_warned=yes ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7334 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7335 PKG_CONFIG=$ac_pt_PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7336 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7337 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7338 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7339 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7340
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7341 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7342 if test -n "$PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7343 _pkg_min_version=0.9.0
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7345 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7346 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7348 printf "%s\n" "yes" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7349 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7351 printf "%s\n" "no" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7352 PKG_CONFIG=""
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7353 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7354 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7355
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7356 pkg_failed=no
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7358 printf %s "checking for GLIB... " >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7359
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7360 if test -n "$GLIB_CFLAGS"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7361 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7362 elif test -n "$PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7363 if test -n "$PKG_CONFIG" && \
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7364 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32.0\""; } >&5
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7365 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32.0") 2>&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7366 ac_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7368 test $ac_status = 0; }; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7369 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.32.0" 2>/dev/null`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7370 test "x$?" != "x0" && pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7371 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7372 pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7373 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7374 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7375 pkg_failed=untried
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7376 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7377 if test -n "$GLIB_LIBS"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7378 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7379 elif test -n "$PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7380 if test -n "$PKG_CONFIG" && \
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7381 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32.0\""; } >&5
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7382 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32.0") 2>&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7383 ac_status=$?
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7385 test $ac_status = 0; }; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7386 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.32.0" 2>/dev/null`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7387 test "x$?" != "x0" && pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7388 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7389 pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7390 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7391 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7392 pkg_failed=untried
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7393 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7394
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7395
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7396
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7397 if test $pkg_failed = yes; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7399 printf "%s\n" "no" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7400
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7402 _pkg_short_errors_supported=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7403 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7404 _pkg_short_errors_supported=no
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7405 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7406 if test $_pkg_short_errors_supported = yes; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7407 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.32.0" 2>&1`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7408 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7409 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.32.0" 2>&1`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7410 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7411 # Put the nasty error message in config.log where it belongs
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7412 echo "$GLIB_PKG_ERRORS" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7413
2203
12fb7f32f3a9 GTK: DW_INCLUDE_DEPRECATED should bring in DW_INCLUDE_DEPRECATED_RESOURCES.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2202
diff changeset
7414 CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7415 elif test $pkg_failed = untried; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7417 printf "%s\n" "no" >&6; }
2203
12fb7f32f3a9 GTK: DW_INCLUDE_DEPRECATED should bring in DW_INCLUDE_DEPRECATED_RESOURCES.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2202
diff changeset
7418 CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7419 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7420 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7421 GLIB_LIBS=$pkg_cv_GLIB_LIBS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7423 printf "%s\n" "yes" >&6; }
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7424 DW_GRESOURCE="enabled"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7425 fi
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7426 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7427
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7428 if test $check_pthreads = "yes"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7429 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7430 if test "x$ac_cv_header_pthread_h" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7431 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7432
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7433 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7434 as_fn_error $? "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7435 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7436
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7438 printf %s "checking for pthread_attr_init in -lpthread... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7439 if test ${ac_cv_lib_pthread_pthread_attr_init+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7440 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7441 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7442 else $as_nop
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7443 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7444 LIBS="-lpthread $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7446 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7447
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7448 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7449 Use char because int might match the return type of a GCC
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7450 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7451 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7452 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7453 main (void)
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7454 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7455 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7456 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7457 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7458 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7459 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7460 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7461 then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7462 ac_cv_lib_pthread_pthread_attr_init=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7463 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7464 ac_cv_lib_pthread_pthread_attr_init=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7465 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7467 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7468 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7469 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7471 printf "%s\n" "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7472 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7473 then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7474 PTHREAD_LIBS="-lpthread"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7475 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7477 printf %s "checking for pthread_attr_init in -lpthreads... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7478 if test ${ac_cv_lib_pthreads_pthread_attr_init+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7479 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7480 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7481 else $as_nop
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7482 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7483 LIBS="-lpthreads $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7485 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7486
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7487 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7488 Use char because int might match the return type of a GCC
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7489 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7490 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7491 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7492 main (void)
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7493 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7494 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7495 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7496 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7497 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7498 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7499 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7500 then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7501 ac_cv_lib_pthreads_pthread_attr_init=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7502 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7503 ac_cv_lib_pthreads_pthread_attr_init=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7504 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7506 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7507 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7508 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7510 printf "%s\n" "$ac_cv_lib_pthreads_pthread_attr_init" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7511 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7512 then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7513 PTHREAD_LIBS="-lpthreads"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7514 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7516 printf %s "checking for pthread_attr_init in -lc_r... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7517 if test ${ac_cv_lib_c_r_pthread_attr_init+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7518 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7519 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7520 else $as_nop
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7521 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7522 LIBS="-lc_r $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7524 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7525
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7526 /* Override any GCC internal prototype to avoid an error.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7527 Use char because int might match the return type of a GCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7528 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7529 char pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7530 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7531 main (void)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7532 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7533 return pthread_attr_init ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7534 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7535 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7536 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7537 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7538 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7539 then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7540 ac_cv_lib_c_r_pthread_attr_init=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7541 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7542 ac_cv_lib_c_r_pthread_attr_init=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7543 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7545 conftest$ac_exeext conftest.$ac_ext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7546 LIBS=$ac_check_lib_save_LIBS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7547 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7549 printf "%s\n" "$ac_cv_lib_c_r_pthread_attr_init" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7550 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7551 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7552 PTHREAD_LIBS="-lc_r"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7553 else $as_nop
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7555 printf %s "checking for pthread_attr_init in -lc... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7556 if test ${ac_cv_lib_c_pthread_attr_init+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7557 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7558 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7559 else $as_nop
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7560 ac_check_lib_save_LIBS=$LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7561 LIBS="-lc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7563 /* end confdefs.h. */
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7564
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7565 /* Override any GCC internal prototype to avoid an error.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7566 Use char because int might match the return type of a GCC
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7567 builtin and then its argument prototype would still apply. */
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7568 char pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7569 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7570 main (void)
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7571 {
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7572 return pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7573 ;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7574 return 0;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7575 }
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7576 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7577 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7578 then :
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7579 ac_cv_lib_c_pthread_attr_init=yes
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7580 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7581 ac_cv_lib_c_pthread_attr_init=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7582 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7584 conftest$ac_exeext conftest.$ac_ext
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7585 LIBS=$ac_check_lib_save_LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7586 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_attr_init" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7588 printf "%s\n" "$ac_cv_lib_c_pthread_attr_init" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7589 if test "x$ac_cv_lib_c_pthread_attr_init" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7590 then :
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7591 PTHREAD_LIBS="-lc"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7592 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7593 as_fn_error $? "pthread library not found. dwindows cannot build without it." "$LINENO" 5
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7594
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7595 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7596
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7597
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7598 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7599
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7600
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7601 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7602
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7603
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7604 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7605
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7606 fi
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7607
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7608 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $WEBKIT_CFLAGS"
588
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
7609
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7610 if test $with_deprecated = yes; then
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7611 CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED"
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7612 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
7613 if test x"$WEBKIT_LIBS" != x; then
2062
1a93c508bb51 GTK: Fix check for webkit when pkg-config returns a library path first.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2061
diff changeset
7614 WEBKIT_LIB=`$PKG_CFG --silence-errors --libs-only-l $WEBKIT_PKG | cut -b 3-`
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7615 as_ac_Lib=`printf "%s\n" "ac_cv_lib_$WEBKIT_LIB""_webkit_web_view_new" | $as_tr_sh`
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7617 printf %s "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7618 if eval test \${$as_ac_Lib+y}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7619 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7620 printf %s "(cached) " >&6
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7621 else $as_nop
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7622 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7623 LIBS="-l$WEBKIT_LIB $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7625 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7626
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7627 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7628 Use char because int might match the return type of a GCC
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7629 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7630 char webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7631 int
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7632 main (void)
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7633 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7634 return webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7635 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7636 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7637 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7638 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7639 if ac_fn_c_try_link "$LINENO"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7640 then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7641 eval "$as_ac_Lib=yes"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7642 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7643 eval "$as_ac_Lib=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7644 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7646 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7647 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7648 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7649 eval ac_res=\$$as_ac_Lib
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7651 printf "%s\n" "$ac_res" >&6; }
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7652 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7653 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7654
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7655 printf "%s\n" "#define USE_WEBKIT 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7656
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7657 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7658
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7659 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7660
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
7661 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $WEBKIT_LIBS $PLATLIBS"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7662
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7663
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7664 for ac_func in ubuntu_overlay_scrollbar_set_enabled
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
7665 do :
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
7666 ac_fn_c_check_func "$LINENO" "ubuntu_overlay_scrollbar_set_enabled" "ac_cv_func_ubuntu_overlay_scrollbar_set_enabled"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7667 if test "x$ac_cv_func_ubuntu_overlay_scrollbar_set_enabled" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7668 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7669 printf "%s\n" "#define HAVE_UBUNTU_OVERLAY_SCROLLBAR_SET_ENABLED 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7670
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7671 printf "%s\n" "#define HAVE_OVERLAY_SCROLLBARS 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7672
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7673 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7674
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
7675 done
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
7676
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7677 for ac_func in ubuntu_gtk_set_use_overlay_scrollbar
1794
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
7678 do :
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
7679 ac_fn_c_check_func "$LINENO" "ubuntu_gtk_set_use_overlay_scrollbar" "ac_cv_func_ubuntu_gtk_set_use_overlay_scrollbar"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7680 if test "x$ac_cv_func_ubuntu_gtk_set_use_overlay_scrollbar" = xyes
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7681 then :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7682 printf "%s\n" "#define HAVE_UBUNTU_GTK_SET_USE_OVERLAY_SCROLLBAR 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7683
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7684 printf "%s\n" "#define HAVE_OVERLAY_SCROLLBARS2 1" >>confdefs.h
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7685
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7686 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7687
1794
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
7688 done
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
7689
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7690 RM="rm -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7691 LN="ln -s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7692 CP="cp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7693 MV="mv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7694 MKDIR="mkdir"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7695
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7696
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7697
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7698
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7699
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7700
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7701
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7702
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7703
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
7704
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
7705
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
7706
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
7707
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
7708
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
7709
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
7710
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
7711
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7712
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7713
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7714
663
86c404056262 Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 644
diff changeset
7715
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7716
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7717
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7718
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7719
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7720
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7721
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7722
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
7723
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
7724
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
7725
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
7726 ac_config_files="$ac_config_files Makefile dwindows1.pc dwindows-config1 org.dbsoft.dwindows.dwtest.desktop"
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7727
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7728 cat >confcache <<\_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7729 # This file is a shell script that caches the results of configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7730 # tests run on this system so they can be shared between configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7731 # scripts and configure runs, see configure's option --config-cache.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7732 # It is not useful on other systems. If it contains results you don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7733 # want to keep, you may remove or edit it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7734 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7735 # config.status only pays attention to the cache file if you give it
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7736 # the --recheck option to rerun configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7737 #
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7740 # following values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7741
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7742 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7743
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7744 # The following way of writing the cache mishandles newlines in values,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7745 # but we know of no workaround that is simple, portable, and efficient.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7746 # So, we kill variables containing newlines.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7747 # Ultrix sh set writes to stderr and can't be redirected directly,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7748 # and sets the high bit in the cache file unless we assign to the vars.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7749 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7750 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7751 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7752 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7753 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7754 case $ac_var in #(
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7755 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7756 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7757 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7758 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7759 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7760 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7761 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7762 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7763 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7764 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7765
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7766 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7767 case $as_nl`(ac_space=' '; set) 2>&1` in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7768 *${as_nl}ac_space=\ *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7769 # `set' does not quote correctly, so add quotes: double-quote
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7770 # substitution turns \\\\ into \\, and sed turns \\ into \.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7771 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7772 "s/'/'\\\\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7774 ;; #(
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7775 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7776 # `set' quotes correctly as required by POSIX, so do not add quotes.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7777 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7778 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7779 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7780 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7781 ) |
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7782 sed '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7783 /^ac_cv_env_/b end
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7784 t clear
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7785 :clear
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7786 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7787 t end
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7788 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7789 :end' >>confcache
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7790 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7791 if test -w "$cache_file"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7792 if test "x$cache_file" != "x/dev/null"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7794 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7795 if test ! -f "$cache_file" || test -h "$cache_file"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7796 cat confcache >"$cache_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7797 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7798 case $cache_file in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7799 */* | ?:*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7800 mv -f confcache "$cache_file"$$ &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7801 mv -f "$cache_file"$$ "$cache_file" ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7802 *)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7803 mv -f confcache "$cache_file" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7804 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7805 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7806 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7807 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7809 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7810 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7811 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7812 rm -f confcache
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7813
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7814 test "x$prefix" = xNONE && prefix=$ac_default_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7815 # Let make expand exec_prefix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7816 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7817
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7818 DEFS=-DHAVE_CONFIG_H
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7819
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7820 ac_libobjs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7821 ac_ltlibobjs=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7822 U=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7823 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7824 # 1. Remove the extension, and $U if already installed.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7825 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7826 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7827 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7828 # will be set to the directory where LIBOBJS objects are built.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7829 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7830 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7831 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7832 LIBOBJS=$ac_libobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7833
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7834 LTLIBOBJS=$ac_ltlibobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7835
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7836
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7837
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7838 : "${CONFIG_STATUS=./config.status}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7839 ac_write_fail=0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7840 ac_clean_files_save=$ac_clean_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7841 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7843 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7844 as_write_fail=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7845 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7846 #! $SHELL
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7847 # Generated by $as_me.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7848 # Run this file to recreate the current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7849 # Compiler output produced by configure, useful for debugging
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7850 # configure, is in config.log if it exists.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7851
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7852 debug=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7853 ac_cs_recheck=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7854 ac_cs_silent=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7855
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7856 SHELL=\${CONFIG_SHELL-$SHELL}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7857 export SHELL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7858 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7859 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7860 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7861 ## M4sh Initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7862 ## -------------------- ##
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7863
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7864 # Be more Bourne compatible
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7865 DUALCASE=1; export DUALCASE # for MKS sh
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7866 as_nop=:
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7867 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7868 then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7869 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7870 NULLCMD=:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7871 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7872 # is contrary to our usage. Disable this feature.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7873 alias -g '${1+"$@"}'='"$@"'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7874 setopt NO_GLOB_SUBST
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7875 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7876 case `(set -o) 2>/dev/null` in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7877 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7878 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7879 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7880 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7881 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7882 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7883
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7884
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7885
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7886 # Reset variables that may have inherited troublesome values from
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7887 # the environment.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7888
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7889 # IFS needs to be set, to space, tab, and newline, in precisely that order.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7890 # (If _AS_PATH_WALK were called with IFS unset, it would have the
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7891 # side effect of setting IFS to empty, thus disabling word splitting.)
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7892 # Quoting is to prevent editors from complaining about space-tab.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7893 as_nl='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7894 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7895 export as_nl
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7896 IFS=" "" $as_nl"
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7897
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7898 PS1='$ '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7899 PS2='> '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7900 PS4='+ '
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7901
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7902 # Ensure predictable behavior from utilities with locale-dependent output.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7903 LC_ALL=C
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7904 export LC_ALL
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7905 LANGUAGE=C
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7906 export LANGUAGE
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7907
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7908 # We cannot yet rely on "unset" to work, but we need these variables
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7909 # to be unset--not just set to an empty or harmless value--now, to
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7910 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7911 # also avoids known problems related to "unset" and subshell syntax
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7912 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7913 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7914 do eval test \${$as_var+y} \
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7915 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7916 done
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7917
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7918 # Ensure that fds 0, 1, and 2 are open.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7919 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7920 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7921 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7922
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7923 # The user is always right.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7924 if ${PATH_SEPARATOR+false} :; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7925 PATH_SEPARATOR=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7926 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7927 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7928 PATH_SEPARATOR=';'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7929 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7930 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7931
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7932
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7933 # Find who we are. Look in the path if we contain no directory separator.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7934 as_myself=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7935 case $0 in #((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7936 *[\\/]* ) as_myself=$0 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7937 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7938 for as_dir in $PATH
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7939 do
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7940 IFS=$as_save_IFS
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7941 case $as_dir in #(((
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7942 '') as_dir=./ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7943 */) ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7944 *) as_dir=$as_dir/ ;;
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7945 esac
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7946 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7947 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7948 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7949
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7950 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7951 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7952 # We did not find ourselves, most probably we were run as `sh COMMAND'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7953 # in which case we are not to be found in the path.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7954 if test "x$as_myself" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7955 as_myself=$0
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7956 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7957 if test ! -f "$as_myself"; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7958 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7959 exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7960 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7961
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7962
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7963
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7964 # as_fn_error STATUS ERROR [LINENO LOG_FD]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7965 # ----------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7966 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7967 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7968 # script with STATUS, using 1 if that was 0.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7969 as_fn_error ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7970 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7971 as_status=$1; test $as_status -eq 0 && as_status=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7972 if test "$4"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7973 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7975 fi
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7976 printf "%s\n" "$as_me: error: $2" >&2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7977 as_fn_exit $as_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7978 } # as_fn_error
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7979
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7980
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
7981
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7982 # as_fn_set_status STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7983 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7984 # Set $? to STATUS, without forking.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7985 as_fn_set_status ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7986 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7987 return $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7988 } # as_fn_set_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7989
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7990 # as_fn_exit STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7991 # -----------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7993 as_fn_exit ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7994 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7995 set +e
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7996 as_fn_set_status $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7997 exit $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7998 } # as_fn_exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7999
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8000 # as_fn_unset VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8001 # ---------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8002 # Portably unset VAR.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8003 as_fn_unset ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8004 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8005 { eval $1=; unset $1;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8006 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8007 as_unset=as_fn_unset
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8008
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8009 # as_fn_append VAR VALUE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8010 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8011 # Append the text in VALUE to the end of the definition contained in VAR. Take
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8012 # advantage of any shell optimizations that allow amortized linear growth over
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8013 # repeated appends, instead of the typical quadratic growth present in naive
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8014 # implementations.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8015 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8016 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8017 eval 'as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8018 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8019 eval $1+=\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8020 }'
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8021 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8022 as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8023 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8024 eval $1=\$$1\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8025 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8026 fi # as_fn_append
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8027
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8028 # as_fn_arith ARG...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8029 # ------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8030 # Perform arithmetic evaluation on the ARGs, and store the result in the
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8031 # global $as_val. Take advantage of shells that can avoid forks. The arguments
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8032 # must be portable across $(()) and expr.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8033 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8034 then :
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8035 eval 'as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8036 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8037 as_val=$(( $* ))
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8038 }'
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8039 else $as_nop
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8040 as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8041 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8042 as_val=`expr "$@" || test $? -eq 1`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8043 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8044 fi # as_fn_arith
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8045
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8046
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8047 if expr a : '\(a\)' >/dev/null 2>&1 &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8048 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8049 as_expr=expr
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8050 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8051 as_expr=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8052 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8053
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8054 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8055 as_basename=basename
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8056 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8057 as_basename=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8058 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8059
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8060 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8061 as_dirname=dirname
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8062 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8063 as_dirname=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8064 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8065
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8066 as_me=`$as_basename -- "$0" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8067 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8068 X"$0" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8069 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8070 printf "%s\n" X/"$0" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8071 sed '/^.*\/\([^/][^/]*\)\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8072 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8073 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8074 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8075 /^X\/\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8076 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8077 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8078 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8079 /^X\/\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8080 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8081 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8082 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8083 s/.*/./; q'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8084
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8085 # Avoid depending upon Character Ranges.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8086 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8087 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8088 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8089 as_cr_digits='0123456789'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8090 as_cr_alnum=$as_cr_Letters$as_cr_digits
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8091
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8092
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8093 # Determine whether it's possible to make 'echo' print without a newline.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8094 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8095 # for compatibility with existing Makefiles.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8096 ECHO_C= ECHO_N= ECHO_T=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8097 case `echo -n x` in #(((((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8098 -n*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8099 case `echo 'xy\c'` in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8100 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8101 xy) ECHO_C='\c';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8102 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8103 ECHO_T=' ';;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8104 esac;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8105 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8106 ECHO_N='-n';;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8107 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8108
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8109 # For backward compatibility with old third-party macros, we provide
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8110 # the shell variables $as_echo and $as_echo_n. New code should use
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8111 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8112 as_echo='printf %s\n'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8113 as_echo_n='printf %s'
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8114
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8115 rm -f conf$$ conf$$.exe conf$$.file
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8116 if test -d conf$$.dir; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8117 rm -f conf$$.dir/conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8118 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8119 rm -f conf$$.dir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8120 mkdir conf$$.dir 2>/dev/null
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8121 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8122 if (echo >conf$$.file) 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8123 if ln -s conf$$.file conf$$ 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8124 as_ln_s='ln -s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8125 # ... but there are two gotchas:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8126 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8127 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8128 # In both cases, we have to default to `cp -pR'.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8129 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8130 as_ln_s='cp -pR'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8131 elif ln conf$$.file conf$$ 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8132 as_ln_s=ln
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8133 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8134 as_ln_s='cp -pR'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8135 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8136 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8137 as_ln_s='cp -pR'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8138 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8139 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8140 rmdir conf$$.dir 2>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8141
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8142
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8143 # as_fn_mkdir_p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8144 # -------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8145 # Create "$as_dir" as a directory, including parents if necessary.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8146 as_fn_mkdir_p ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8147 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8148
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8149 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8150 -*) as_dir=./$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8151 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8152 test -d "$as_dir" || eval $as_mkdir_p || {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8153 as_dirs=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8154 while :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8155 case $as_dir in #(
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8156 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8157 *) as_qdir=$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8158 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8159 as_dirs="'$as_qdir' $as_dirs"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8160 as_dir=`$as_dirname -- "$as_dir" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8162 X"$as_dir" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8163 X"$as_dir" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8165 printf "%s\n" X"$as_dir" |
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8167 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8168 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8169 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8170 /^X\(\/\/\)[^/].*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8171 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8172 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8173 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8174 /^X\(\/\/\)$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8175 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8176 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8177 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8178 /^X\(\/\).*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8179 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8180 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8181 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8182 s/.*/./; q'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8183 test -d "$as_dir" && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8184 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8185 test -z "$as_dirs" || eval "mkdir $as_dirs"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8186 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8187
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8188
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8189 } # as_fn_mkdir_p
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8190 if mkdir -p . 2>/dev/null; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8191 as_mkdir_p='mkdir -p "$as_dir"'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8192 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8193 test -d ./-p && rmdir ./-p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8194 as_mkdir_p=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8195 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8196
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8197
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8198 # as_fn_executable_p FILE
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8199 # -----------------------
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8200 # Test if FILE is an executable regular file.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8201 as_fn_executable_p ()
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8202 {
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8203 test -f "$1" && test -x "$1"
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8204 } # as_fn_executable_p
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8205 as_test_x='test -x'
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8206 as_executable_p=as_fn_executable_p
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8207
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8208 # Sed expression to map a string onto a valid CPP name.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8209 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8210
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8211 # Sed expression to map a string onto a valid variable name.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8212 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8213
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8214
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8215 exec 6>&1
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8216 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8217 ## Main body of $CONFIG_STATUS script. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8218 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8219 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8220 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8221
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8223 # Save the log message, to keep $0 and so on meaningful, and to
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8224 # report actual input values of CONFIG_FILES etc. instead of their
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8225 # values after options handling.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8226 ac_log="
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8227 This file was extended by dwindows $as_me 3.3, which was
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8228 generated by GNU Autoconf 2.71. Invocation command line was
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8229
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8230 CONFIG_FILES = $CONFIG_FILES
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8231 CONFIG_HEADERS = $CONFIG_HEADERS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8232 CONFIG_LINKS = $CONFIG_LINKS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8233 CONFIG_COMMANDS = $CONFIG_COMMANDS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8234 $ $0 $@
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8235
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8237 "
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8238
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8239 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8240
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8241 case $ac_config_files in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8242 "*) set x $ac_config_files; shift; ac_config_files=$*;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8243 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8244
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8245 case $ac_config_headers in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8246 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8247 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8248
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8249
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8251 # Files that config.status was made for.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8252 config_files="$ac_config_files"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8253 config_headers="$ac_config_headers"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8254
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8255 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8256
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8258 ac_cs_usage="\
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8259 \`$as_me' instantiates files and other configuration actions
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8260 from templates according to the current configuration. Unless the files
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8261 and actions are specified as TAGs, all are instantiated by default.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8262
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8263 Usage: $0 [OPTION]... [TAG]...
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8264
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8265 -h, --help print this help, then exit
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8266 -V, --version print version number and configuration settings, then exit
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8267 --config print configuration, then exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8268 -q, --quiet, --silent
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8269 do not print progress messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8270 -d, --debug don't remove temporary files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8271 --recheck update $as_me by reconfiguring in the same conditions
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8272 --file=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8273 instantiate the configuration file FILE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8274 --header=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8275 instantiate the configuration header FILE
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8276
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8277 Configuration files:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8278 $config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8279
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8280 Configuration headers:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8281 $config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8282
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8283 Report bugs to the package provider."
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8284
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8285 _ACEOF
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8286 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8287 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8289 ac_cs_config='$ac_cs_config_escaped'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8290 ac_cs_version="\\
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8291 dwindows config.status 3.3
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8292 configured by $0, generated by GNU Autoconf 2.71,
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8293 with options \\"\$ac_cs_config\\"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8294
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8295 Copyright (C) 2021 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8296 This config.status script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8297 gives unlimited permission to copy, distribute and modify it."
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8298
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8299 ac_pwd='$ac_pwd'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8300 srcdir='$srcdir'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8301 INSTALL='$INSTALL'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8302 test -n "\$AWK" || AWK=awk
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8303 _ACEOF
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8304
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8306 # The default lists apply if the user does not specify any file.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8307 ac_need_defaults=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8308 while test $# != 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8309 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8310 case $1 in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8311 --*=?*)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8312 ac_option=`expr "X$1" : 'X\([^=]*\)='`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8313 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8314 ac_shift=:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8315 ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8316 --*=)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8317 ac_option=`expr "X$1" : 'X\([^=]*\)='`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8318 ac_optarg=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8319 ac_shift=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8320 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8321 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8322 ac_option=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8323 ac_optarg=$2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8324 ac_shift=shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8325 ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8326 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8327
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8328 case $ac_option in
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8329 # Handling of the options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8330 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8331 ac_cs_recheck=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8332 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8333 printf "%s\n" "$ac_cs_version"; exit ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8334 --config | --confi | --conf | --con | --co | --c )
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8335 printf "%s\n" "$ac_cs_config"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8336 --debug | --debu | --deb | --de | --d | -d )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8337 debug=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8338 --file | --fil | --fi | --f )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8339 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8340 case $ac_optarg in
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8341 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8342 '') as_fn_error $? "missing file argument" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8343 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8344 as_fn_append CONFIG_FILES " '$ac_optarg'"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8345 ac_need_defaults=false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8346 --header | --heade | --head | --hea )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8347 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8348 case $ac_optarg in
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8349 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8350 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8351 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8352 ac_need_defaults=false;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8353 --he | --h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8354 # Conflict between --help and --header
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8355 as_fn_error $? "ambiguous option: \`$1'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8356 Try \`$0 --help' for more information.";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8357 --help | --hel | -h )
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8358 printf "%s\n" "$ac_cs_usage"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8359 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8360 | -silent | --silent | --silen | --sile | --sil | --si | --s)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8361 ac_cs_silent=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8362
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8363 # This is an error.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8364 -*) as_fn_error $? "unrecognized option: \`$1'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8365 Try \`$0 --help' for more information." ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8366
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8367 *) as_fn_append ac_config_targets " $1"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8368 ac_need_defaults=false ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
8369
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8370 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8371 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8372 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8373
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8374 ac_configure_extra_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8375
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8376 if $ac_cs_silent; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8377 exec 6>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8378 ac_configure_extra_args="$ac_configure_extra_args --silent"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8379 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8380
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8381 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8383 if \$ac_cs_recheck; then
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
8384 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8385 shift
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8386 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8387 CONFIG_SHELL='$SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8388 export CONFIG_SHELL
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8389 exec "\$@"
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8390 fi
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8391
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8392 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8394 exec 5>>config.log
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8395 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8396 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8397 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8398 ## Running $as_me. ##
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8399 _ASBOX
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8400 printf "%s\n" "$ac_log"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8401 } >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8402
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8403 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8405 _ACEOF
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8406
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8408
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8409 # Handling of arguments.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
8410 for ac_config_target in $ac_config_targets
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
8411 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8412 case $ac_config_target in
2160
07f1366a724c Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2130
diff changeset
8413 "dwconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS dwconfig.h" ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8414 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1850
495793f9b503 Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1794
diff changeset
8415 "dwindows1.pc") CONFIG_FILES="$CONFIG_FILES dwindows1.pc" ;;
1611
2675e0edcc1d First attempt at fixing dwindows-config --version after the build
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1596
diff changeset
8416 "dwindows-config1") CONFIG_FILES="$CONFIG_FILES dwindows-config1" ;;
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
8417 "org.dbsoft.dwindows.dwtest.desktop") CONFIG_FILES="$CONFIG_FILES org.dbsoft.dwindows.dwtest.desktop" ;;
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8418
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8419 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
8420 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
8421 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
8422
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8423
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8424 # If the user did not use the arguments to specify the items to instantiate,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8425 # then the envvar interface is used. Set only those that are not.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8426 # We use the long form for the default assignment because of an extremely
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8427 # bizarre bug on SunOS 4.1.3.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8428 if $ac_need_defaults; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8429 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8430 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8431 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8432
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8433 # Have a temporary directory for convenience. Make it in the build tree
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8434 # simply because there is no reason against having it here, and in addition,
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8435 # creating and moving files from /tmp can sometimes cause problems.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8436 # Hook for its removal unless debugging.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8437 # Note that there is a small window in which the directory will not be cleaned:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8438 # after its creation but before its name has been assigned to `$tmp'.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8439 $debug ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8440 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8441 tmp= ac_tmp=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8442 trap 'exit_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8443 : "${ac_tmp:=$tmp}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8444 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8445 ' 0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8446 trap 'as_fn_exit 1' 1 2 13 15
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8447 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8448 # Create a (secure) tmp directory for tmp files.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8449
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8450 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8451 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8452 test -d "$tmp"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8453 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8454 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8455 tmp=./conf$$-$RANDOM
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8456 (umask 077 && mkdir "$tmp")
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8457 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8458 ac_tmp=$tmp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8459
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8460 # Set up the scripts for CONFIG_FILES section.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8461 # No need to generate them if there are no CONFIG_FILES.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8462 # This happens for instance with `./config.status config.h'.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8463 if test -n "$CONFIG_FILES"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8464
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8465
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8466 ac_cr=`echo X | tr X '\015'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8467 # On cygwin, bash can eat \r inside `` if the user requested igncr.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8468 # But we know of no other shell where ac_cr would be empty at this
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8469 # point, so we can use a bashism as a fallback.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8470 if test "x$ac_cr" = x; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8471 eval ac_cr=\$\'\\r\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8472 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8473 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8474 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8475 ac_cs_awk_cr='\\r'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8476 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8477 ac_cs_awk_cr=$ac_cr
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8478 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8479
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8480 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8481 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8482
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8483
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8484 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8485 echo "cat >conf$$subs.awk <<_ACEOF" &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8486 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8487 echo "_ACEOF"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8488 } >conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8489 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8490 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8491 ac_delim='%!_!# '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8492 for ac_last_try in false false false false false :; do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8493 . ./conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8494 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8495
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8496 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8497 if test $ac_delim_n = $ac_delim_num; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8498 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8499 elif $ac_last_try; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8500 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8501 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8502 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8503 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8504 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8505 rm -f conf$$subs.sh
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8506
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8508 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8509 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8510 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8511 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8512 s/^/S["/; s/!.*/"]=/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8513 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8514 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8515 s/^[^!]*!//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8516 :repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8517 t repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8518 s/'"$ac_delim"'$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8519 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8520 :nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8521 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8522 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8523 t more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8524 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8525 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8526 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8527 b repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8528 :more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8529 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8530 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8531 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8532 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8533 t nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8534 :delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8535 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8536 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8537 t more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8538 s/["\\]/\\&/g; s/^/"/; s/$/"/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8539 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8540 b
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8541 :more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8542 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8543 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8544 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8545 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8546 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8547 ' <conf$$subs.awk | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8548 /^[^""]/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8549 N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8550 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8551 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8552 ' >>$CONFIG_STATUS || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8553 rm -f conf$$subs.awk
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8555 _ACAWK
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8556 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8557 for (key in S) S_is_set[key] = 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8558 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8559
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8560 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8561 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8562 line = $ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8563 nfields = split(line, field, "@")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8564 substed = 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8565 len = length(field[1])
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8566 for (i = 2; i < nfields; i++) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8567 key = field[i]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8568 keylen = length(key)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8569 if (S_is_set[key]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8570 value = S[key]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8571 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8572 len += length(value) + length(field[++i])
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8573 substed = 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8574 } else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8575 len += 1 + keylen
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8576 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8577
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8578 print line
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8579 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8580
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8581 _ACAWK
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8582 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8584 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8585 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8586 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8587 cat
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8588 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8589 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8590 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8591
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8592 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8593 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8594 # trailing colons and then remove the whole line if VPATH becomes empty
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8595 # (actually we leave an empty line to preserve line numbers).
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8596 if test "x$srcdir" = x.; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8597 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8598 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8599 s///
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8600 s/^/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8601 s/[ ]*$/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8602 s/:\$(srcdir):/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8603 s/:\${srcdir}:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8604 s/:@srcdir@:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8605 s/^:*//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8606 s/:*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8607 x
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8608 s/\(=[ ]*\).*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8609 G
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8610 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8611 s/^[^=]*=[ ]*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8612 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8613 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8614
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8616 fi # test -n "$CONFIG_FILES"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8617
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8618 # Set up the scripts for CONFIG_HEADERS section.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8619 # No need to generate them if there are no CONFIG_HEADERS.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8620 # This happens for instance with `./config.status Makefile'.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8621 if test -n "$CONFIG_HEADERS"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8622 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8623 BEGIN {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8624 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8625
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8626 # Transform confdefs.h into an awk script `defines.awk', embedded as
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8627 # here-document in config.status, that substitutes the proper values into
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8628 # config.h.in to produce config.h.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8629
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8630 # Create a delimiter string that does not exist in confdefs.h, to ease
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8631 # handling of long lines.
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8632 ac_delim='%!_!# '
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8633 for ac_last_try in false false :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8634 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8635 if test -z "$ac_tt"; then
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8636 break
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8637 elif $ac_last_try; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8638 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8639 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8640 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8641 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8642 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
8643
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8644 # For the awk script, D is an array of macro values keyed by name,
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8645 # likewise P contains macro parameters if any. Preserve backslash
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8646 # newline sequences.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8647
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8648 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8649 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8650 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8651 t rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8652 :rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8653 s/^[ ]*#[ ]*define[ ][ ]*/ /
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8654 t def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8655 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8656 :def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8657 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8658 t bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8659 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8660 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8661 D["\1"]=" \3"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8662 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8663 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8664 :bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8665 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8666 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8667 D["\1"]=" \3\\\\\\n"\\/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8668 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8669 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8670 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8671 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8672 :cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8673 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8674 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8675 t clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8676 :clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8677 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8678 t bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8679 s/["\\]/\\&/g; s/^/"/; s/$/"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8680 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8681 :bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8682 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8683 b cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8684 ' <confdefs.h | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8685 s/'"$ac_delim"'/"\\\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8686 "/g' >>$CONFIG_STATUS || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8687
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8689 for (key in D) D_is_set[key] = 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8690 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8691 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8692 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8693 line = \$ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8694 split(line, arg, " ")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8695 if (arg[1] == "#") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8696 defundef = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8697 mac1 = arg[3]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8698 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8699 defundef = substr(arg[1], 2)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8700 mac1 = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8701 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8702 split(mac1, mac2, "(") #)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8703 macro = mac2[1]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8704 prefix = substr(line, 1, index(line, defundef) - 1)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8705 if (D_is_set[macro]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8706 # Preserve the white space surrounding the "#".
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8707 print prefix "define", macro P[macro] D[macro]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8708 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8709 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8710 # Replace #undef with comments. This is necessary, for example,
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8711 # in the case of _POSIX_SOURCE, which is predefined and required
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8712 # on some systems where configure will not decide to define it.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8713 if (defundef == "undef") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8714 print "/*", prefix defundef, macro, "*/"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8715 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8716 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8717 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8718 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8719 { print }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8720 _ACAWK
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8721 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8723 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8724 fi # test -n "$CONFIG_HEADERS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8725
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8726
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8727 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8728 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8729 for ac_tag
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8730 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8731 case $ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8732 :[FHLC]) ac_mode=$ac_tag; continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8733 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8734 case $ac_mode$ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8735 :[FHL]*:*);;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8736 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8737 :[FH]-) ac_tag=-:-;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8738 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8739 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8740 ac_save_IFS=$IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8741 IFS=:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8742 set x $ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8743 IFS=$ac_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8744 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8745 ac_file=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8746 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8747
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8748 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8749 :L) ac_source=$1;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8750 :[FH])
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8751 ac_file_inputs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8752 for ac_f
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8753 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8754 case $ac_f in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8755 -) ac_f="$ac_tmp/stdin";;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8756 *) # Look for the file first in the build tree, then in the source tree
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8757 # (if the path is not absolute). The absolute path cannot be DOS-style,
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8758 # because $ac_f cannot contain `:'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8759 test -f "$ac_f" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8760 case $ac_f in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8761 [\\/$]*) false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8762 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8763 esac ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8764 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8765 esac
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8766 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8767 as_fn_append ac_file_inputs " '$ac_f'"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8768 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8769
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8770 # Let's still pretend it is `configure' which instantiates (i.e., don't
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8771 # use $as_me), people would be surprised to read:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8772 # /* config.h. Generated by config.status. */
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8773 configure_input='Generated from '`
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8774 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8775 `' by configure.'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8776 if test x"$ac_file" != x-; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8777 configure_input="$ac_file. $configure_input"
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8779 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8780 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8781 # Neutralize special characters interpreted by sed in replacement strings.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8782 case $configure_input in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8783 *\&* | *\|* | *\\* )
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8784 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8785 sed 's/[\\\\&|]/\\\\&/g'`;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8786 *) ac_sed_conf_input=$configure_input;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8787 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8788
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8789 case $ac_tag in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8790 *:-:* | *:-) cat >"$ac_tmp/stdin" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8792 esac
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
8793 ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
8794 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8795
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8796 ac_dir=`$as_dirname -- "$ac_file" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8797 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8798 X"$ac_file" : 'X\(//\)[^/]' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8799 X"$ac_file" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8800 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8801 printf "%s\n" X"$ac_file" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8803 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8804 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8805 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8806 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8807 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8808 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8809 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8810 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8811 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8812 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8813 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8814 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8815 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8816 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8817 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8818 s/.*/./; q'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8819 as_dir="$ac_dir"; as_fn_mkdir_p
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8820 ac_builddir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8821
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8822 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8824 *)
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8825 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8826 # A ".." for each directory in $ac_dir_suffix.
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8827 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8828 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8829 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8830 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8831 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8832 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8833 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8834 ac_abs_builddir=$ac_pwd$ac_dir_suffix
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8835 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8836 ac_top_builddir=$ac_top_build_prefix
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8837
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8838 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8839 .) # We are building in place.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8840 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8841 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8842 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8843 [\\/]* | ?:[\\/]* ) # Absolute name.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8844 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8845 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8846 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8847 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8848 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8849 ac_top_srcdir=$ac_top_build_prefix$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8850 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8851 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8852 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8853
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8854
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8855 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8856 :F)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8857 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8858 # CONFIG_FILE
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8859 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8860
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8861 case $INSTALL in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8862 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8863 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8864 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8865 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8866
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8867
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8868 # Neutralize VPATH when `$srcdir' = `.'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8869 # Shell code in configure.ac might set extrasub.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8870 # FIXME: do we really want to maintain this feature?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8872 ac_sed_extra="$ac_vpsub
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8873 $extrasub
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8874 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8876 :t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8878 s|@configure_input@|$ac_sed_conf_input|;t t
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8879 s&@top_builddir@&$ac_top_builddir_sub&;t t
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8880 s&@top_build_prefix@&$ac_top_build_prefix&;t t
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8881 s&@srcdir@&$ac_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8882 s&@abs_srcdir@&$ac_abs_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8883 s&@top_srcdir@&$ac_top_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8884 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8885 s&@builddir@&$ac_builddir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8886 s&@abs_builddir@&$ac_abs_builddir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8887 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8888 s&@INSTALL@&$ac_INSTALL&;t t
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8889 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8890 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8891 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8892
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8893
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8894 rm -f "$ac_tmp/stdin"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8895 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8896 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8897 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8898 esac \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8900 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8901 :H)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8902 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8903 # CONFIG_HEADER
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8904 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8905 if test x"$ac_file" != x-; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8906 {
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8907 printf "%s\n" "/* $configure_input */" >&1 \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8908 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8909 } >"$ac_tmp/config.h" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8911 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8913 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8914 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8915 rm -f "$ac_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8916 mv "$ac_tmp/config.h" "$ac_file" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8917 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8918 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8919 else
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8920 printf "%s\n" "/* $configure_input */" >&1 \
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8921 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8922 || as_fn_error $? "could not create -" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8923 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8924 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8925
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8926
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8927 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8928
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8929 done # for ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8930
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8931
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8932 as_fn_exit 0
1594
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
8933 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8934 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8935
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8936 test $ac_write_fail = 0 ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8937 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8938
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8939
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8940 # configure is writing to config.log, and then calls config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8941 # config.status does its own redirection, appending to config.log.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8942 # Unfortunately, on DOS this fails, as config.log is still kept open
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8943 # by configure, so config.status won't be able to write to it; its
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8944 # output is simply discarded. So we exec the FD to /dev/null,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8945 # effectively closing config.log, so it can be properly (re)opened and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8946 # appended to by config.status. When coming back to configure, we
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8947 # need to make the FD available again.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8948 if test "$no_create" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8949 ac_cs_success=:
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8950 ac_config_status_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8951 test "$silent" = yes &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8952 ac_config_status_args="$ac_config_status_args --quiet"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8953 exec 5>/dev/null
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8954 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8955 exec 5>>config.log
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8956 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8957 # would make configure fail if this is the last instruction.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8958 $ac_cs_success || as_fn_exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8959 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8960 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2970
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8962 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8963 fi
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8964
83c17a84bc27 Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2862
diff changeset
8965