Mercurial > dwindows
annotate configure @ 3005:522ef24b0aba default tip
GTK4: Fix even more deprecation warnings in GTK 4.10 and later.
Migrate to GtkAlertDialog for 4.10 from GtkMessageDialog.
Still need to center the dialog or something.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 20 Dec 2023 05:17:54 +0000 |
parents | a464a74505f7 |
children |
rev | line source |
---|---|
3 | 1 #! /bin/sh |
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 | 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 | 10 # This configure script is free software; the Free Software Foundation |
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 | 21 emulate sh |
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 | 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 | 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 | 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 | 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 | 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 | 589 |
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 | 592 # so uname gets run too. |
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
594 | |
595 # | |
596 # Initializations. | |
597 # | |
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 | 602 cross_compiling=no |
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 | 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 | 787 |
788 # Initialize some variables set by options. | |
789 ac_init_help= | |
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 | 793 # The variables have the same names as the options, with |
794 # dashes changed to underlines. | |
795 cache_file=/dev/null | |
796 exec_prefix=NONE | |
797 no_create= | |
798 no_recursion= | |
799 prefix=NONE | |
800 program_prefix=NONE | |
801 program_suffix=NONE | |
802 program_transform_name=s,x,x, | |
803 silent= | |
804 site= | |
805 srcdir= | |
806 verbose= | |
807 x_includes=NONE | |
808 x_libraries=NONE | |
809 | |
810 # Installation directory options. | |
811 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
812 # and all the variables that are supposed to be based on exec_prefix | |
813 # by default will actually change. | |
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 | 816 bindir='${exec_prefix}/bin' |
817 sbindir='${exec_prefix}/sbin' | |
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 | 821 sysconfdir='${prefix}/etc' |
822 sharedstatedir='${prefix}/com' | |
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 | 825 includedir='${prefix}/include' |
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 | 836 |
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 | 839 for ac_option |
840 do | |
841 # If the previous option needs an argument, assign it. | |
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 | 844 ac_prev= |
845 continue | |
846 fi | |
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 | 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 | 857 |
858 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
859 ac_prev=bindir ;; | |
860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
861 bindir=$ac_optarg ;; | |
862 | |
863 -build | --build | --buil | --bui | --bu) | |
864 ac_prev=build_alias ;; | |
865 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
866 build_alias=$ac_optarg ;; | |
867 | |
868 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
870 ac_prev=cache_file ;; | |
871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
873 cache_file=$ac_optarg ;; | |
874 | |
875 --config-cache | -C) | |
876 cache_file=config.cache ;; | |
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 | 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 | 881 datadir=$ac_optarg ;; |
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 | 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 | 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 | 915 |
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 | 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 | 931 |
932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
934 | --exec | --exe | --ex) | |
935 ac_prev=exec_prefix ;; | |
936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
938 | --exec=* | --exe=* | --ex=*) | |
939 exec_prefix=$ac_optarg ;; | |
940 | |
941 -gas | --gas | --ga | --g) | |
942 # Obsolete; use --with-gas. | |
943 with_gas=yes ;; | |
944 | |
945 -help | --help | --hel | --he | -h) | |
946 ac_init_help=long ;; | |
947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
948 ac_init_help=recursive ;; | |
949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
950 ac_init_help=short ;; | |
951 | |
952 -host | --host | --hos | --ho) | |
953 ac_prev=host_alias ;; | |
954 -host=* | --host=* | --hos=* | --ho=*) | |
955 host_alias=$ac_optarg ;; | |
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 | 963 -includedir | --includedir | --includedi | --included | --include \ |
964 | --includ | --inclu | --incl | --inc) | |
965 ac_prev=includedir ;; | |
966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
967 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
968 includedir=$ac_optarg ;; | |
969 | |
970 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
971 ac_prev=infodir ;; | |
972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
973 infodir=$ac_optarg ;; | |
974 | |
975 -libdir | --libdir | --libdi | --libd) | |
976 ac_prev=libdir ;; | |
977 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
978 libdir=$ac_optarg ;; | |
979 | |
980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
981 | --libexe | --libex | --libe) | |
982 ac_prev=libexecdir ;; | |
983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
984 | --libexe=* | --libex=* | --libe=*) | |
985 libexecdir=$ac_optarg ;; | |
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 | 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 | 994 ac_prev=localstatedir ;; |
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 | 997 localstatedir=$ac_optarg ;; |
998 | |
999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
1000 ac_prev=mandir ;; | |
1001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
1002 mandir=$ac_optarg ;; | |
1003 | |
1004 -nfp | --nfp | --nf) | |
1005 # Obsolete; use --without-fp. | |
1006 with_fp=no ;; | |
1007 | |
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 | 1010 no_create=yes ;; |
1011 | |
1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
1014 no_recursion=yes ;; | |
1015 | |
1016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
1017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
1018 | --oldin | --oldi | --old | --ol | --o) | |
1019 ac_prev=oldincludedir ;; | |
1020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
1021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
1022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
1023 oldincludedir=$ac_optarg ;; | |
1024 | |
1025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
1026 ac_prev=prefix ;; | |
1027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
1028 prefix=$ac_optarg ;; | |
1029 | |
1030 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
1031 | --program-pre | --program-pr | --program-p) | |
1032 ac_prev=program_prefix ;; | |
1033 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
1034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
1035 program_prefix=$ac_optarg ;; | |
1036 | |
1037 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
1038 | --program-suf | --program-su | --program-s) | |
1039 ac_prev=program_suffix ;; | |
1040 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
1041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
1042 program_suffix=$ac_optarg ;; | |
1043 | |
1044 -program-transform-name | --program-transform-name \ | |
1045 | --program-transform-nam | --program-transform-na \ | |
1046 | --program-transform-n | --program-transform- \ | |
1047 | --program-transform | --program-transfor \ | |
1048 | --program-transfo | --program-transf \ | |
1049 | --program-trans | --program-tran \ | |
1050 | --progr-tra | --program-tr | --program-t) | |
1051 ac_prev=program_transform_name ;; | |
1052 -program-transform-name=* | --program-transform-name=* \ | |
1053 | --program-transform-nam=* | --program-transform-na=* \ | |
1054 | --program-transform-n=* | --program-transform-=* \ | |
1055 | --program-transform=* | --program-transfor=* \ | |
1056 | --program-transfo=* | --program-transf=* \ | |
1057 | --program-trans=* | --program-tran=* \ | |
1058 | --progr-tra=* | --program-tr=* | --program-t=*) | |
1059 program_transform_name=$ac_optarg ;; | |
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 | 1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1072 | -silent | --silent | --silen | --sile | --sil) | |
1073 silent=yes ;; | |
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 | 1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1085 ac_prev=sbindir ;; | |
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1087 | --sbi=* | --sb=*) | |
1088 sbindir=$ac_optarg ;; | |
1089 | |
1090 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1091 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1092 | --sharedst | --shareds | --shared | --share | --shar \ | |
1093 | --sha | --sh) | |
1094 ac_prev=sharedstatedir ;; | |
1095 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1096 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1097 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1098 | --sha=* | --sh=*) | |
1099 sharedstatedir=$ac_optarg ;; | |
1100 | |
1101 -site | --site | --sit) | |
1102 ac_prev=site ;; | |
1103 -site=* | --site=* | --sit=*) | |
1104 site=$ac_optarg ;; | |
1105 | |
1106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1107 ac_prev=srcdir ;; | |
1108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1109 srcdir=$ac_optarg ;; | |
1110 | |
1111 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1112 | --syscon | --sysco | --sysc | --sys | --sy) | |
1113 ac_prev=sysconfdir ;; | |
1114 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1115 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1116 sysconfdir=$ac_optarg ;; | |
1117 | |
1118 -target | --target | --targe | --targ | --tar | --ta | --t) | |
1119 ac_prev=target_alias ;; | |
1120 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1121 target_alias=$ac_optarg ;; | |
1122 | |
1123 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1124 verbose=yes ;; | |
1125 | |
1126 -version | --version | --versio | --versi | --vers | -V) | |
1127 ac_init_version=: ;; | |
1128 | |
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 | 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 | 1144 |
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 | 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 | 1160 |
1161 --x) | |
1162 # Obsolete; use --with-x. | |
1163 with_x=yes ;; | |
1164 | |
1165 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1166 | --x-incl | --x-inc | --x-in | --x-i) | |
1167 ac_prev=x_includes ;; | |
1168 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1169 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1170 x_includes=$ac_optarg ;; | |
1171 | |
1172 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1173 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1174 ac_prev=x_libraries ;; | |
1175 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1176 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1177 x_libraries=$ac_optarg ;; | |
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 | 1181 ;; |
1182 | |
1183 *=*) | |
1184 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
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 | 1191 export $ac_envvar ;; |
1192 | |
1193 *) | |
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 | 1199 ;; |
1200 | |
1201 esac | |
1202 done | |
1203 | |
1204 if test -n "$ac_prev"; then | |
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 | 1236 done |
1237 | |
1238 # There might be people who depend on the old broken behavior: `$host' | |
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 | 1241 build=$build_alias |
1242 host=$host_alias | |
1243 target=$target_alias | |
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 | 1246 if test "x$host_alias" != x; then |
1247 if test "x$build_alias" = x; then | |
1248 cross_compiling=maybe | |
1249 elif test "x$build_alias" != "x$host_alias"; then | |
1250 cross_compiling=yes | |
1251 fi | |
1252 fi | |
1253 | |
1254 ac_tool_prefix= | |
1255 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1256 | |
1257 test "$silent" = yes && exec 6>/dev/null | |
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 | 1268 # Find the source files, if location was not specified. |
1269 if test -z "$srcdir"; then | |
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 | 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 | 1297 srcdir=.. |
1298 fi | |
1299 else | |
1300 ac_srcdir_defaulted=no | |
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 | 1326 |
1327 # | |
1328 # Report the --help message. | |
1329 # | |
1330 if test "$ac_init_help" = "long"; then | |
1331 # Omit some internal or obsolete options to make the list less imposing. | |
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 | 1335 |
1336 Usage: $0 [OPTION]... [VAR=VALUE]... | |
1337 | |
1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1339 VAR=VALUE. See below for descriptions of some of the useful variables. | |
1340 | |
1341 Defaults for the options are specified in brackets. | |
1342 | |
1343 Configuration: | |
1344 -h, --help display this help and exit | |
1345 --help=short display options specific to this package | |
1346 --help=recursive display the short help of all the included packages | |
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 | 1349 --cache-file=FILE cache test results in FILE [disabled] |
1350 -C, --config-cache alias for \`--cache-file=config.cache' | |
1351 -n, --no-create do not create output files | |
1352 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1353 | |
1354 Installation directories: | |
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 | 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 | 1359 |
1360 By default, \`make install' will install all the files in | |
1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1363 for instance \`--prefix=\$HOME'. | |
1364 | |
1365 For better control, use the options below. | |
1366 | |
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 | 1401 fi |
1402 | |
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 | 1408 |
1409 Optional Packages: | |
1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
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 | 1420 |
1421 Some influential environment variables: | |
1422 CC C compiler command | |
1423 CFLAGS C compiler flags | |
1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
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 | 1440 |
1441 Use these variables to override the choices made by `configure' or to help | |
1442 it to find libraries and programs with nonstandard names/locations. | |
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 | 1447 fi |
1448 | |
1449 if test "$ac_init_help" = "recursive"; then | |
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 | 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 | 1502 done |
1503 fi | |
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 | 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 | 1512 This configure script is free software; the Free Software Foundation |
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 | 1800 This file contains any messages produced by compilers while |
1801 running configure, to aid debugging if configure makes a mistake. | |
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 | 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 | 1810 { |
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 | 1815 |
1816 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1817 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1818 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1819 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1820 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1821 | |
1822 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1823 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1824 | |
1825 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1826 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
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 | 1829 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1830 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1831 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1832 | |
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 | 1848 } >&5 |
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 | 1859 |
1860 # Keep a trace of the command line. | |
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 | 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 | 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 | 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 | 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 | 1907 |
1908 # When interrupted or exit'd, cleanup temporary files, and complete | |
1909 # config.log. We remove comments because anyway the quotes in there | |
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 2004 done |
2005 ac_signal=0 | |
2006 | |
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 | 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 | 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 | 2054 fi |
2055 done | |
2056 | |
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 | 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 | 2066 esac |
2067 fi | |
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 | 2071 >$cache_file |
2072 fi | |
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 | 2705 # Check that the precious variables saved in the cache have kept the same |
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 | 2709 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
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 | 2713 case $ac_old_set,$ac_new_set in |
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 | 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 | 2722 ,);; |
2723 *) | |
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 | 2741 fi;; |
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 | 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 | 2767 ac_ext=c |
2768 ac_cpp='$CPP $CPPFLAGS' | |
2769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2771 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
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 | 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 | 2792 INCLUDES="-I." |
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 | 2803 ac_ext=c |
2804 ac_cpp='$CPP $CPPFLAGS' | |
2805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2807 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2808 if test -n "$ac_tool_prefix"; then | |
2809 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
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 | 2817 if test -n "$CC"; then |
2818 ac_cv_prog_CC="$CC" # Let the user override the test. | |
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 | 2838 |
2839 fi | |
2840 fi | |
2841 CC=$ac_cv_prog_CC | |
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 | 2850 |
2851 fi | |
2852 if test -z "$ac_cv_prog_CC"; then | |
2853 ac_ct_CC=$CC | |
2854 # Extract the first word of "gcc", so it can be a program name with args. | |
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 | 2862 if test -n "$ac_ct_CC"; then |
2863 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
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 | 2883 |
2884 fi | |
2885 fi | |
2886 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
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 | 2906 else |
2907 CC="$ac_cv_prog_CC" | |
2908 fi | |
2909 | |
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 | 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 | 2920 if test -n "$CC"; then |
2921 ac_cv_prog_CC="$CC" # Let the user override the test. | |
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 | 2941 |
2942 fi | |
2943 fi | |
2944 CC=$ac_cv_prog_CC | |
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 | 2955 fi |
2956 if test -z "$CC"; then | |
2957 # Extract the first word of "cc", so it can be a program name with args. | |
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 | 2965 if test -n "$CC"; then |
2966 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2967 else | |
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 | 2991 |
2992 if test $ac_prog_rejected = yes; then | |
2993 # We found a bogon in the path, so make sure we never use it. | |
2994 set dummy $ac_cv_prog_CC | |
2995 shift | |
2996 if test $# != 0; then | |
2997 # We chose a different compiler from the bogus one. | |
2998 # However, it has the same basename, so the bogon will be chosen | |
2999 # first if we set CC to just the basename; use the full file name. | |
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 | 3002 fi |
3003 fi | |
3004 fi | |
3005 fi | |
3006 CC=$ac_cv_prog_CC | |
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 | 3015 |
3016 fi | |
3017 if test -z "$CC"; then | |
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 | 3020 do |
3021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
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 | 3029 if test -n "$CC"; then |
3030 ac_cv_prog_CC="$CC" # Let the user override the test. | |
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 | 3050 |
3051 fi | |
3052 fi | |
3053 CC=$ac_cv_prog_CC | |
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 | 3062 |
3063 test -n "$CC" && break | |
3064 done | |
3065 fi | |
3066 if test -z "$CC"; then | |
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 | 3069 do |
3070 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
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 | 3078 if test -n "$ac_ct_CC"; then |
3079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
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 | 3099 |
3100 fi | |
3101 fi | |
3102 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
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 | 3111 |
3112 test -n "$ac_ct_CC" && break | |
3113 done | |
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 | 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 | 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 | 3270 { |
3271 | |
3272 ; | |
3273 return 0; | |
3274 } | |
3275 _ACEOF | |
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 | 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 | 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 | 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 | 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 | 3338 esac |
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 | 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 | 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 | 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 | 3382 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3383 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
3384 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
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 | 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 | 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 | 3392 * ) break;; |
3393 esac | |
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 | 3404 |
3405 rm -f conftest.$ac_ext | |
3406 EXEEXT=$ac_cv_exeext | |
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 | 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 | 3478 { |
3479 | |
3480 ; | |
3481 return 0; | |
3482 } | |
3483 _ACEOF | |
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 | 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 | 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 | 3501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3502 break;; | |
3503 esac | |
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 | 3514 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
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 | 3518 OBJEXT=$ac_cv_objext |
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 | 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 | 3531 { |
3532 #ifndef __GNUC__ | |
3533 choke me | |
3534 #endif | |
3535 | |
3536 ; | |
3537 return 0; | |
3538 } | |
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 | 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 | 3547 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3548 | |
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 | 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 | 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 | 3576 { |
3577 | |
3578 ; | |
3579 return 0; | |
3580 } | |
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 | 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 | 3629 CFLAGS=$ac_save_CFLAGS |
3630 elif test $ac_cv_prog_cc_g = yes; then | |
3631 if test "$GCC" = yes; then | |
3632 CFLAGS="-g -O2" | |
3633 else | |
3634 CFLAGS="-g" | |
3635 fi | |
3636 else | |
3637 if test "$GCC" = yes; then | |
3638 CFLAGS="-O2" | |
3639 else | |
3640 CFLAGS= | |
3641 fi | |
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 | 3957 ; |
3958 return 0; | |
3959 } | |
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 | 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 | 3997 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3998 |
3 | 3999 ; |
4000 return 0; | |
4001 } | |
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 | 4158 ac_ext=c |
4159 ac_cpp='$CPP $CPPFLAGS' | |
4160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4162 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
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 | 5175 # Extract the first word of "gmake", so it can be a program name with args. |
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 | 5183 if test -n "$MAKE"; then |
5184 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
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 | 5204 |
5205 fi | |
5206 fi | |
5207 MAKE=$ac_cv_prog_MAKE | |
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 | 5259 |
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 | 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 | 5314 # so one script is as good as another. But avoid the broken or |
5315 # incompatible versions: | |
5316 # SysV /etc/install, /usr/sbin/install | |
5317 # SunOS /usr/etc/install | |
5318 # IRIX /sbin/install | |
5319 # AIX /bin/install | |
5320 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
5321 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
5322 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
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 | 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 | 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 | 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 | 5388 |
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 | 5391 INSTALL=$ac_cv_path_install |
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 | 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 | 5397 INSTALL=$ac_install_sh |
5398 fi | |
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 | 5402 |
5403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
5404 # It thinks the first close brace ends the variable substitution. | |
5405 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
5406 | |
5407 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
5408 | |
5409 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
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 | 5601 ac_header_dirent=no |
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 | 5612 #include <sys/types.h> |
5613 #include <$ac_hdr> | |
5614 | |
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 | 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 | 5620 ; |
5621 return 0; | |
5622 } | |
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 | 5640 |
5641 ac_header_dirent=$ac_hdr; break | |
5642 fi | |
5643 | |
5644 done | |
5645 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | |
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 | 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 | 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 | 5723 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5724 return opendir (); |
3 | 5725 ; |
5726 return 0; | |
5727 } | |
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 | 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 | 5905 char socket (); |
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 | 5908 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5909 return socket (); |
3 | 5910 ; |
5911 return 0; | |
5912 } | |
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 | 5928 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
5929 fi | |
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 | 5940 ac_check_lib_save_LIBS=$LIBS |
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 | 5948 char gethostname (); |
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 | 5951 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5952 return gethostname (); |
3 | 5953 ; |
5954 return 0; | |
5955 } | |
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 | 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 | 5965 LIBS=$ac_check_lib_save_LIBS |
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 | 5971 LIBS="$LIBS -lnsl" |
5972 fi | |
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 | 5983 ac_check_lib_save_LIBS=$LIBS |
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 | 5991 char getpwnam (); |
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 | 5994 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5995 return getpwnam (); |
3 | 5996 ; |
5997 return 0; | |
5998 } | |
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 | 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 | 6008 LIBS=$ac_check_lib_save_LIBS |
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 | 6014 LIBS="$LIBS -lsun" |
6015 fi | |
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 | 6023 ac_check_lib_save_LIBS=$LIBS |
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 | 6031 char inet_addr (); |
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 | 6034 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6035 return inet_addr (); |
3 | 6036 ; |
6037 return 0; | |
6038 } | |
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 | 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 | 6048 LIBS=$ac_check_lib_save_LIBS |
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 | 6054 LIBS="$LIBS -ldgc" |
6055 fi | |
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 | 6063 ac_check_lib_save_LIBS=$LIBS |
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 | 6071 char gethostbyname (); |
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 | 6074 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6075 return gethostbyname (); |
3 | 6076 ; |
6077 return 0; | |
6078 } | |
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 | 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 | 6088 LIBS=$ac_check_lib_save_LIBS |
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 | 6094 LIBS="$LIBS -lresolv" |
6095 fi | |
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 *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
|
6148 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
|
6149 ;; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6150 *apple-darwin*) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6151 case "$with_arch" in |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6152 no) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6153 ARCH="" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6154 ;; |
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
|
6155 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
|
6156 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
|
6157 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6158 32bit) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6159 ARCH="-arch ppc -arch i386" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6160 ;; |
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
|
6161 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
|
6162 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
|
6163 ;; |
2003
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
6164 powerpc) |
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
6165 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
|
6166 ;; |
2129
2fb132a1d1fa
Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2128
diff
changeset
|
6167 arm) |
2fb132a1d1fa
Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2128
diff
changeset
|
6168 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
|
6169 ;; |
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
|
6170 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
|
6171 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
|
6172 ;; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6173 *) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6174 ARCH="-arch $with_arch" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6175 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6176 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
|
6177 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
|
6178 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
|
6179 ;; |
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
|
6180 *) |
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
|
6181 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
|
6182 ;; |
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
|
6183 esac |
2220
4020bdb806dc
Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2217
diff
changeset
|
6184 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
|
6185 no) |
4020bdb806dc
Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2217
diff
changeset
|
6186 ;; |
4020bdb806dc
Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2217
diff
changeset
|
6187 *) |
4020bdb806dc
Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2217
diff
changeset
|
6188 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
|
6189 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
|
6190 ;; |
4020bdb806dc
Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2217
diff
changeset
|
6191 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
|
6192 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
|
6193 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
|
6194 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
|
6195 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
|
6196 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
|
6197 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
|
6198 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
|
6199 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
|
6200 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
|
6201 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
|
6202 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
|
6203 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6204 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6205 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
|
6206 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
|
6207 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
|
6208 |
2003
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
6209 build_gtk="no" |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6210 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6211 *) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6212 ;; |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
6213 esac |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
6214 |
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
|
6215 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
|
6216 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
|
6217 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
|
6218 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
|
6219 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
|
6220 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
|
6221 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
|
6222 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
|
6223 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
|
6224 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
|
6225 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
|
6226 |
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 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
|
6228 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6229 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
|
6230 ac_ext=c |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6231 ac_cpp='$CPP $CPPFLAGS' |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6232 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
|
6233 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
|
6234 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
|
6235 { 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
|
6236 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
|
6237 # 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
|
6238 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
|
6239 CPP= |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6240 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6241 if test -z "$CPP"; then |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6242 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
|
6243 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6244 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6245 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6246 # 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
|
6247 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
|
6248 do |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6249 ac_preproc_ok=false |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6250 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
|
6251 do |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6252 # 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
|
6253 # 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
|
6254 # 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
|
6255 # 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
|
6256 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
|
6257 /* end confdefs.h. */ |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6258 #include <limits.h> |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6259 Syntax error |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6260 _ACEOF |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6261 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
|
6262 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6263 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6264 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6265 # Broken: fails on valid input. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6266 continue |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6267 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6268 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
|
6269 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6270 # 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
|
6271 # can be detected and how. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6272 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
|
6273 /* end confdefs.h. */ |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6274 #include <ac_nonexistent.h> |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6275 _ACEOF |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6276 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
|
6277 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6278 # Broken: success on invalid input. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6279 continue |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6280 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6281 # Passes both tests. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6282 ac_preproc_ok=: |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6283 break |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6284 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6285 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
|
6286 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6287 done |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6288 # 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
|
6289 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
|
6290 if $ac_preproc_ok |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6291 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6292 break |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6293 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6294 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6295 done |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6296 ac_cv_prog_CPP=$CPP |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6297 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6298 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6299 CPP=$ac_cv_prog_CPP |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6300 else |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6301 ac_cv_prog_CPP=$CPP |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6302 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6303 { 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
|
6304 printf "%s\n" "$CPP" >&6; } |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6305 ac_preproc_ok=false |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6306 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
|
6307 do |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6308 # 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
|
6309 # 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
|
6310 # 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
|
6311 # 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
|
6312 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
|
6313 /* end confdefs.h. */ |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6314 #include <limits.h> |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6315 Syntax error |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6316 _ACEOF |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6317 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
|
6318 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6319 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6320 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6321 # Broken: fails on valid input. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6322 continue |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6323 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6324 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
|
6325 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6326 # 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
|
6327 # can be detected and how. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6328 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
|
6329 /* end confdefs.h. */ |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6330 #include <ac_nonexistent.h> |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6331 _ACEOF |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6332 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
|
6333 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6334 # Broken: success on invalid input. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6335 continue |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6336 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6337 # Passes both tests. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6338 ac_preproc_ok=: |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6339 break |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6340 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6341 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
|
6342 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6343 done |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6344 # 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
|
6345 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
|
6346 if $ac_preproc_ok |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6347 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6348 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6349 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6350 { { 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
|
6351 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
|
6352 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
|
6353 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
|
6354 fi |
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 ac_ext=c |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6357 ac_cpp='$CPP $CPPFLAGS' |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6358 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
|
6359 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
|
6360 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
|
6361 |
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 { 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
|
6364 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
|
6365 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6366 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6367 # 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
|
6368 if test ${with_x+y} |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6369 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
|
6370 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
|
6371 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
|
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 # $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
|
6374 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
|
6375 # 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
|
6376 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
|
6377 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
|
6378 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
|
6379 *\'*) 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
|
6380 *,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
|
6381 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6382 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6383 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
|
6384 # 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
|
6385 ac_x_includes=no |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6386 ac_x_libraries=no |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6387 # 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
|
6388 ac_save_LIBS=$LIBS |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6389 LIBS="-lX11 $LIBS" |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6390 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
|
6391 /* end confdefs.h. */ |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6392 #include <X11/Xlib.h> |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6393 int |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6394 main (void) |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6395 { |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6396 XrmInitialize () |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6397 ; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6398 return 0; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6399 } |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6400 _ACEOF |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6401 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
|
6402 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6403 # 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
|
6404 ac_x_includes= |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6405 ac_x_libraries= |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6406 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6407 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
|
6408 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
|
6409 LIBS="$ac_save_LIBS" |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6410 # 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
|
6411 # for native compilation. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6412 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
|
6413 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6414 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
|
6415 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
|
6416 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
|
6417 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
|
6418 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
|
6419 @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
|
6420 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
|
6421 @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
|
6422 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
|
6423 @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
|
6424 _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 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
|
6426 # 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
|
6427 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
|
6428 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
|
6429 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
|
6430 # 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
|
6431 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
|
6432 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
|
6433 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
|
6434 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
|
6435 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
|
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 # 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
|
6438 # 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
|
6439 # 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
|
6440 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
|
6441 /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
|
6442 *) 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
|
6443 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
|
6444 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
|
6445 /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
|
6446 *) 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
|
6447 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
|
6448 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
|
6449 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
|
6450 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
|
6451 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
|
6452 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6453 # 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
|
6454 # 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
|
6455 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
|
6456 /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
|
6457 /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
|
6458 /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
|
6459 /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
|
6460 /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
|
6461 |
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 /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
|
6463 /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
|
6464 /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
|
6465 /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
|
6466 /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
|
6467 |
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 /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
|
6469 /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
|
6470 /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
|
6471 /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
|
6472 /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
|
6473 |
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 /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
|
6475 /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
|
6476 /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
|
6477 /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
|
6478 /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
|
6479 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6480 /opt/X11/include |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6481 |
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
|
6482 /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
|
6483 /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
|
6484 /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
|
6485 |
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 /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
|
6487 /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
|
6488 /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
|
6489 /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
|
6490 /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
|
6491 /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
|
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/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
|
6494 /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
|
6495 |
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 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
|
6497 # 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
|
6498 # 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
|
6499 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
|
6500 /* 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
|
6501 #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
|
6502 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6503 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
|
6504 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
|
6505 # 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
|
6506 ac_x_includes= |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6507 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
|
6508 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
|
6509 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
|
6510 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
|
6511 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
|
6512 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
|
6513 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
|
6514 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
|
6515 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
|
6516 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
|
6517 |
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 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
|
6519 # 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
|
6520 # 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
|
6521 # 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
|
6522 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
|
6523 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
|
6524 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
|
6525 /* 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
|
6526 #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
|
6527 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6528 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
|
6529 { |
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 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
|
6531 ; |
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 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
|
6533 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6535 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
|
6536 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
|
6537 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
|
6538 # 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
|
6539 ac_x_libraries= |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6540 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
|
6541 LIBS=$ac_save_LIBS |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6542 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
|
6543 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
|
6544 # 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
|
6545 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
|
6546 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
|
6547 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
|
6548 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
|
6549 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
|
6550 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
|
6551 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
|
6552 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6553 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
|
6554 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
|
6555 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
|
6556 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6557 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6558 # 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
|
6559 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
|
6560 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
|
6561 # 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
|
6562 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
|
6563 *) : |
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
|
6564 # 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
|
6565 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
|
6566 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
|
6567 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
|
6568 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
|
6569 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
|
6570 ;; #( |
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 *) 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
|
6572 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
|
6573 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
|
6574 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
|
6575 |
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 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
|
6577 { 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
|
6578 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
|
6579 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
|
6580 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
|
6581 # 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
|
6582 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
|
6583 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
|
6584 # 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
|
6585 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
|
6586 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
|
6587 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
|
6588 { 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
|
6589 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
|
6590 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
|
6591 |
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 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
|
6593 # 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
|
6594 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6595 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
|
6596 |
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 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
|
6598 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
|
6599 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
|
6600 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
|
6601 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
|
6602 |
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 # 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
|
6604 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
|
6605 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
|
6606 # 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
|
6607 # 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
|
6608 { 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
|
6609 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
|
6610 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
|
6611 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
|
6612 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
|
6613 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
|
6614 /* 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
|
6615 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6616 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6617 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
|
6618 { |
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 |
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 ; |
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 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
|
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6624 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
|
6625 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6626 { 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
|
6627 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
|
6628 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
|
6629 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
|
6630 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
|
6631 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
|
6632 /* 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
|
6633 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6634 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6635 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
|
6636 { |
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 |
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 ; |
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 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
|
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6642 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
|
6643 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6644 { 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
|
6645 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
|
6646 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
|
6647 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6648 { 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
|
6649 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
|
6650 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6651 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
|
6652 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
|
6653 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6654 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
|
6655 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
|
6656 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
|
6657 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
|
6658 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
|
6659 |
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 # 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
|
6661 # 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
|
6662 # (-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
|
6663 |
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 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
|
6665 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
|
6666 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
|
6667 # 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
|
6668 # 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
|
6669 # 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
|
6670 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
|
6671 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
|
6672 /* 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
|
6673 |
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 /* 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
|
6675 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
|
6676 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
|
6677 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
|
6678 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6679 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
|
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 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
|
6682 ; |
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 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
|
6684 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6686 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
|
6687 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6688 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6689 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6690 { 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
|
6691 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
|
6692 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
|
6693 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6694 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6695 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
|
6696 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
|
6697 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
|
6698 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
|
6699 /* 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
|
6700 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6701 /* 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
|
6702 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
|
6703 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
|
6704 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
|
6705 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6706 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
|
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 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
|
6709 ; |
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 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
|
6711 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6713 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
|
6714 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
|
6715 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
|
6716 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
|
6717 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
|
6718 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6719 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
|
6720 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
|
6721 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
|
6722 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6723 { 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
|
6724 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
|
6725 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
|
6726 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
|
6727 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
|
6728 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
|
6729 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6730 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
|
6731 { 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
|
6732 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
|
6733 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
|
6734 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6735 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6736 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
|
6737 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
|
6738 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
|
6739 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
|
6740 /* 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
|
6741 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6742 /* 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
|
6743 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
|
6744 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
|
6745 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
|
6746 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6747 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
|
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 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
|
6750 ; |
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 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
|
6752 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6754 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
|
6755 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
|
6756 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
|
6757 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
|
6758 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
|
6759 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6760 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
|
6761 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
|
6762 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
|
6763 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6764 { 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
|
6765 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
|
6766 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
|
6767 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
|
6768 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
|
6769 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
|
6770 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6771 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
|
6772 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6773 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
|
6774 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
|
6775 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
|
6776 |
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 # 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
|
6778 # 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
|
6779 # 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
|
6780 # 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
|
6781 # 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
|
6782 # 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
|
6783 # 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
|
6784 # 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
|
6785 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
|
6786 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
|
6787 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
|
6788 |
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 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
|
6790 |
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 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
|
6792 { 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
|
6793 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
|
6794 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
|
6795 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6796 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6797 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
|
6798 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
|
6799 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
|
6800 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
|
6801 /* 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
|
6802 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6803 /* 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
|
6804 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
|
6805 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
|
6806 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
|
6807 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6808 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
|
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 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
|
6811 ; |
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 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
|
6813 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6815 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
|
6816 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
|
6817 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
|
6818 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
|
6819 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
|
6820 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6821 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
|
6822 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
|
6823 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
|
6824 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6825 { 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
|
6826 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
|
6827 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
|
6828 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
|
6829 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
|
6830 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
|
6831 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6832 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
|
6833 { 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
|
6834 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
|
6835 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
|
6836 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6837 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6838 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
|
6839 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
|
6840 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
|
6841 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
|
6842 /* 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
|
6843 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6844 /* 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
|
6845 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
|
6846 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
|
6847 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
|
6848 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6849 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
|
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 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
|
6852 ; |
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 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
|
6854 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6856 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
|
6857 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
|
6858 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
|
6859 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
|
6860 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
|
6861 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6862 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
|
6863 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
|
6864 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
|
6865 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6866 { 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
|
6867 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
|
6868 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
|
6869 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
|
6870 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
|
6871 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
|
6872 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6873 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
|
6874 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
|
6875 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6876 # 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
|
6877 # 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
|
6878 # 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
|
6879 # 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
|
6880 # 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
|
6881 # 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
|
6882 # 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
|
6883 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
|
6884 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
|
6885 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
|
6886 |
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 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
|
6888 |
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 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
|
6890 { 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
|
6891 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
|
6892 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
|
6893 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6894 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6895 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
|
6896 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
|
6897 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
|
6898 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
|
6899 /* 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
|
6900 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6901 /* 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
|
6902 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
|
6903 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
|
6904 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
|
6905 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6906 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
|
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 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
|
6909 ; |
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 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
|
6911 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6913 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
|
6914 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
|
6915 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
|
6916 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
|
6917 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
|
6918 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6919 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
|
6920 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
|
6921 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
|
6922 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6923 { 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
|
6924 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
|
6925 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
|
6926 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
|
6927 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
|
6928 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
|
6929 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6930 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
|
6931 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6932 # 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
|
6933 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
|
6934 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
|
6935 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
|
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 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
|
6940 { 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
|
6941 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
|
6942 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
|
6943 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6944 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6945 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
|
6946 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
|
6947 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
|
6948 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
|
6949 /* 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
|
6950 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6951 /* 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
|
6952 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
|
6953 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
|
6954 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
|
6955 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6956 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
|
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 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
|
6959 ; |
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 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
|
6961 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6963 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
|
6964 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
|
6965 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
|
6966 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
|
6967 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
|
6968 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6969 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
|
6970 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
|
6971 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
|
6972 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6973 { 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
|
6974 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
|
6975 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
|
6976 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
|
6977 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
|
6978 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
|
6979 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6980 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
|
6981 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
6982 # 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
|
6983 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
|
6984 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
|
6985 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
|
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 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
|
6990 { 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
|
6991 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
|
6992 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
|
6993 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6994 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
6995 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
|
6996 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
|
6997 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
|
6998 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
|
6999 /* 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
|
7000 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
7001 /* 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
|
7002 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
|
7003 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
|
7004 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
|
7005 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7006 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
|
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 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
|
7009 ; |
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 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
|
7011 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7013 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
|
7014 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
|
7015 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
|
7016 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
|
7017 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
|
7018 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7019 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
|
7020 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
|
7021 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
|
7022 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7023 { 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
|
7024 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
|
7025 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
|
7026 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
|
7027 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
|
7028 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
|
7029 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
7030 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
|
7031 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
|
7032 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
7033 # 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
|
7034 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
|
7035 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
|
7036 # 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
|
7037 # 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
|
7038 # 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
|
7039 # 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
|
7040 # 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
|
7041 # John Interrante, Karl Berry |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7042 { 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
|
7043 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
|
7044 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
|
7045 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7046 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7047 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
|
7048 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
|
7049 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
|
7050 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
|
7051 /* 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
|
7052 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
7053 /* 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
|
7054 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
|
7055 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
|
7056 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
|
7057 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7058 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
|
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 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
|
7061 ; |
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 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
|
7063 } |
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 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7065 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
|
7066 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
|
7067 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
|
7068 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
|
7069 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
|
7070 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7071 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
|
7072 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
|
7073 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
|
7074 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7075 { 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
|
7076 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
|
7077 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
|
7078 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
|
7079 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
|
7080 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
|
7081 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
7082 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
|
7083 |
966ef0eeed4f
GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2005
diff
changeset
|
7084 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
|
7085 |
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 LIBS="$LIBS $X_LIBS -lX11" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7087 # 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
|
7088 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
|
7089 { 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
|
7090 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
|
7091 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
|
7092 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7093 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7094 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
|
7095 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
|
7096 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
|
7097 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
|
7098 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
|
7099 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
|
7100 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
|
7101 IFS=$as_save_IFS |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7102 case $as_dir in #((( |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7103 '') as_dir=./ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7104 */) ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7105 *) as_dir=$as_dir/ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7106 esac |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7107 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
|
7108 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
|
7109 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
|
7110 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
|
7111 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
|
7112 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
|
7113 done |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7114 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7115 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
|
7116 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7117 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
|
7118 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
|
7119 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
|
7120 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
|
7121 { 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
|
7122 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
|
7123 else |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7124 { 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
|
7125 printf "%s\n" "no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7126 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7127 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7128 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7129 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
|
7130 # 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
|
7131 # 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
|
7132 GTK_LIBS="" |
2748
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7133 GTK_PACKAGES="" |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7134 WEBKIT_PKG="" |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7135 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
|
7136 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
|
7137 # 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
|
7138 # 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
|
7139 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
|
7140 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
|
7141 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
|
7142 GTK_PACKAGES="gtk4" |
c83d6261ce3e
GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2746
diff
changeset
|
7143 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
|
7144 fi |
2748
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7145 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
|
7146 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
|
7147 # 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
|
7148 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
|
7149 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
|
7150 fi |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7151 else |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7152 # 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
|
7153 # exclusive with --with-gtk4 |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7154 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
|
7155 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
|
7156 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
|
7157 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
|
7158 DW_DIR=gtk |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7159 WEBKIT_PKG="webkit-1.1" |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7160 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
|
7161 fi |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7162 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
|
7163 fi |
2748
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7164 # 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
|
7165 # 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
|
7166 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
|
7167 # 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
|
7168 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
|
7169 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
|
7170 WEBKIT_PKG="webkit2gtk-4.0" |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7171 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
|
7172 fi |
2748
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7173 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
|
7174 # 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
|
7175 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
|
7176 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
|
7177 # 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
|
7178 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
|
7179 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
|
7180 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
|
7181 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
|
7182 fi |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7183 fi |
2748
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7184 fi |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7185 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
|
7186 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
|
7187 # 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
|
7188 # 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
|
7189 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
|
7190 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
|
7191 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7192 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
|
7193 |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7194 fi |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7195 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
|
7196 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7197 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
|
7198 |
2748
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7199 fi |
d8db838d5616
Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2747
diff
changeset
|
7200 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
|
7201 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7202 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
|
7203 |
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
7204 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
|
7205 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
|
7206 |
d84182f0054e
GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2970
diff
changeset
|
7207 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
|
7208 |
d84182f0054e
GTK4: Support for dw_html_javascript_add() and DW_SIGNAL_HTML_MESSAGE.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2970
diff
changeset
|
7209 fi |
2003
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
7210 fi |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7211 if test x"$RPATH" != x; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7212 RPATH="-Wl,-R$RPATH" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7213 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7214 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7215 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7216 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
|
7217 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
|
7218 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7219 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7220 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7221 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7222 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7223 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7224 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7225 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
|
7226 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
|
7227 # 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
|
7228 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
|
7229 { 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
|
7230 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
|
7231 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
|
7232 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7233 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7234 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
|
7235 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
|
7236 [\\/]* | ?:[\\/]*) |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7237 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
|
7238 ;; |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7239 *) |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7240 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
|
7241 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
|
7242 do |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7243 IFS=$as_save_IFS |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7244 case $as_dir in #((( |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7245 '') as_dir=./ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7246 */) ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7247 *) as_dir=$as_dir/ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7248 esac |
2202
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7249 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
|
7250 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
|
7251 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
|
7252 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
|
7253 break 2 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7254 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7255 done |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7256 done |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7257 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
|
7258 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7259 ;; |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7260 esac |
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 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
|
7263 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
|
7264 { 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
|
7265 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
|
7266 else |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7267 { 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
|
7268 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
|
7269 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7270 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7271 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7272 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7273 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
|
7274 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
|
7275 # 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
|
7276 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
|
7277 { 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
|
7278 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
|
7279 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
|
7280 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7281 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7282 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
|
7283 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
|
7284 [\\/]* | ?:[\\/]*) |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7285 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
|
7286 ;; |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7287 *) |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7288 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
|
7289 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
|
7290 do |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7291 IFS=$as_save_IFS |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7292 case $as_dir in #((( |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7293 '') as_dir=./ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7294 */) ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7295 *) as_dir=$as_dir/ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7296 esac |
2202
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7297 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
|
7298 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
|
7299 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
|
7300 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
|
7301 break 2 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7302 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7303 done |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7304 done |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7305 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
|
7306 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7307 ;; |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7308 esac |
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 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
|
7311 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
|
7312 { 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
|
7313 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
|
7314 else |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7315 { 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
|
7316 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
|
7317 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7318 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7319 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
|
7320 PKG_CONFIG="" |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7321 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7322 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
|
7323 yes:) |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7324 { 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
|
7325 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
|
7326 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
|
7327 esac |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7328 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
|
7329 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7330 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7331 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
|
7332 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7333 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7334 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7335 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
|
7336 _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
|
7337 { 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
|
7338 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
|
7339 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
|
7340 { 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
|
7341 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
|
7342 else |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7343 { 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
|
7344 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
|
7345 PKG_CONFIG="" |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7346 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7347 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7348 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7349 pkg_failed=no |
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}: checking for GLIB" >&5 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7351 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
|
7352 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7353 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
|
7354 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
|
7355 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
|
7356 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
|
7357 { { 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
|
7358 ($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
|
7359 ac_status=$? |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7360 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
|
7361 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
|
7362 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
|
7363 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
|
7364 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7365 pkg_failed=yes |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7366 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7367 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7368 pkg_failed=untried |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7369 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7370 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
|
7371 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
|
7372 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
|
7373 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
|
7374 { { 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
|
7375 ($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
|
7376 ac_status=$? |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7377 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
|
7378 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
|
7379 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
|
7380 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
|
7381 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7382 pkg_failed=yes |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7383 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7384 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7385 pkg_failed=untried |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7386 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7387 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7388 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7389 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7390 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
|
7391 { 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
|
7392 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
|
7393 |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7394 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
|
7395 _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
|
7396 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7397 _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
|
7398 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7399 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
|
7400 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
|
7401 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7402 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
|
7403 fi |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7404 # 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
|
7405 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
|
7406 |
2203
12fb7f32f3a9
GTK: DW_INCLUDE_DEPRECATED should bring in DW_INCLUDE_DEPRECATED_RESOURCES.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2202
diff
changeset
|
7407 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
|
7408 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
|
7409 { 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
|
7410 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
|
7411 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
|
7412 else |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7413 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
|
7414 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
|
7415 { 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
|
7416 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
|
7417 DW_GRESOURCE="enabled" |
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7418 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
|
7419 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
|
7420 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7421 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
|
7422 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
|
7423 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
|
7424 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7425 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7426 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7427 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
|
7428 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7429 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7430 { 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
|
7431 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
|
7432 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
|
7433 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7434 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7435 else $as_nop |
3 | 7436 ac_check_lib_save_LIBS=$LIBS |
7437 LIBS="-lpthread $LIBS" | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7439 /* end confdefs.h. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7440 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7441 /* Override any GCC internal prototype to avoid an error. |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7442 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
|
7443 builtin and then its argument prototype would still apply. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7444 char pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7445 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7446 main (void) |
643
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 return pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7449 ; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7450 return 0; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7451 } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7452 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7453 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
|
7454 then : |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7455 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
|
7456 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7457 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
|
7458 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7459 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
|
7460 conftest$ac_exeext conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7461 LIBS=$ac_check_lib_save_LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7462 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7463 { 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
|
7464 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
|
7465 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
|
7466 then : |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7467 PTHREAD_LIBS="-lpthread" |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7468 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7469 { 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
|
7470 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
|
7471 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
|
7472 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7473 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7474 else $as_nop |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7475 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7476 LIBS="-lpthreads $LIBS" |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7478 /* end confdefs.h. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7479 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7480 /* Override any GCC internal prototype to avoid an error. |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7481 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
|
7482 builtin and then its argument prototype would still apply. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7483 char pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7484 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7485 main (void) |
643
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 return pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7488 ; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7489 return 0; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7490 } |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7491 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7492 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
|
7493 then : |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7494 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
|
7495 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7496 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
|
7497 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7498 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
|
7499 conftest$ac_exeext conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7500 LIBS=$ac_check_lib_save_LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7501 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7502 { 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
|
7503 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
|
7504 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
|
7505 then : |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7506 PTHREAD_LIBS="-lpthreads" |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7507 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7508 { 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
|
7509 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
|
7510 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
|
7511 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7512 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7513 else $as_nop |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7514 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7515 LIBS="-lc_r $LIBS" |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7516 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
|
7517 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7518 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7519 /* 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
|
7520 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
|
7521 builtin and then its argument prototype would still apply. */ |
3 | 7522 char pthread_attr_init (); |
7523 int | |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7524 main (void) |
3 | 7525 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7526 return pthread_attr_init (); |
3 | 7527 ; |
7528 return 0; | |
7529 } | |
7530 _ACEOF | |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7531 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
|
7532 then : |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7533 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
|
7534 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7535 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
|
7536 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7537 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
|
7538 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
|
7539 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
|
7540 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7541 { 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
|
7542 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
|
7543 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
|
7544 then : |
3 | 7545 PTHREAD_LIBS="-lc_r" |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7546 else $as_nop |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7547 { 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
|
7548 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
|
7549 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
|
7550 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7551 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7552 else $as_nop |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7553 ac_check_lib_save_LIBS=$LIBS |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7554 LIBS="-lc $LIBS" |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7555 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
|
7556 /* end confdefs.h. */ |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7557 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7558 /* 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
|
7559 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
|
7560 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
|
7561 char pthread_attr_init (); |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7562 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7563 main (void) |
761
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 return pthread_attr_init (); |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7566 ; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7567 return 0; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7568 } |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7569 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7570 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
|
7571 then : |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7572 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
|
7573 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7574 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
|
7575 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7576 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
|
7577 conftest$ac_exeext conftest.$ac_ext |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7578 LIBS=$ac_check_lib_save_LIBS |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7579 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7580 { 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
|
7581 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
|
7582 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
|
7583 then : |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7584 PTHREAD_LIBS="-lc" |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7585 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7586 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
|
7587 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7588 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7589 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7590 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7591 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7592 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7593 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7594 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7595 |
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 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7598 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7599 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
|
7600 |
2003
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
7601 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
|
7602 |
1913
5d32be499016
The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
7603 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
|
7604 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
|
7605 fi |
2005
a17cc1958369
GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2003
diff
changeset
|
7606 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
|
7607 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
|
7608 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
|
7609 { 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
|
7610 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
|
7611 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
|
7612 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7613 printf %s "(cached) " >&6 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7614 else $as_nop |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7615 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7616 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
|
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7618 /* end confdefs.h. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7619 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7620 /* Override any GCC internal prototype to avoid an error. |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7621 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
|
7622 builtin and then its argument prototype would still apply. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7623 char webkit_web_view_new (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7624 int |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7625 main (void) |
643
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 return webkit_web_view_new (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7628 ; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7629 return 0; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7630 } |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7631 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7632 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
|
7633 then : |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7634 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
|
7635 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7636 eval "$as_ac_Lib=no" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7637 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7638 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
|
7639 conftest$ac_exeext conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7640 LIBS=$ac_check_lib_save_LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7641 fi |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7642 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
|
7643 { 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
|
7644 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
|
7645 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
|
7646 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7647 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7648 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
|
7649 |
2003
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
7650 fi |
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
7651 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7652 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7653 |
2003
dee122916f3c
GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1913
diff
changeset
|
7654 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
|
7655 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7656 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7657 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
|
7658 do : |
2cfbfccbbafe
Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1611
diff
changeset
|
7659 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
|
7660 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
|
7661 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7662 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
|
7663 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7664 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
|
7665 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7666 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7667 |
1793
2cfbfccbbafe
Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1611
diff
changeset
|
7668 done |
2cfbfccbbafe
Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1611
diff
changeset
|
7669 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7670 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
|
7671 do : |
97b1edb41d44
Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1793
diff
changeset
|
7672 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
|
7673 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
|
7674 then : |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7675 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
|
7676 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7677 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
|
7678 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7679 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7680 |
1794
97b1edb41d44
Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1793
diff
changeset
|
7681 done |
97b1edb41d44
Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1793
diff
changeset
|
7682 |
3 | 7683 RM="rm -f" |
7684 LN="ln -s" | |
7685 CP="cp" | |
7686 MV="mv" | |
7687 MKDIR="mkdir" | |
7688 | |
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
|
7689 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7690 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7691 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7692 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7693 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7694 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7695 |
7d2108cbcd3e
Porting DW 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 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
7697 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
7698 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
7699 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
7700 |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
7701 |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
7702 |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
7703 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
7704 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7705 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7706 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7707 |
663
86c404056262
Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
644
diff
changeset
|
7708 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7709 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7710 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7711 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7712 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7713 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7714 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7715 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7716 |
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
|
7717 |
2202
c677d728e143
GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2185
diff
changeset
|
7718 |
2109
068681933258
GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2087
diff
changeset
|
7719 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
|
7720 |
3 | 7721 cat >confcache <<\_ACEOF |
7722 # This file is a shell script that caches the results of configure | |
7723 # tests run on this system so they can be shared between configure | |
7724 # scripts and configure runs, see configure's option --config-cache. | |
7725 # It is not useful on other systems. If it contains results you don't | |
7726 # want to keep, you may remove or edit it. | |
7727 # | |
7728 # config.status only pays attention to the cache file if you give it | |
7729 # the --recheck option to rerun configure. | |
7730 # | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7731 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
3 | 7732 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
7733 # following values. | |
7734 | |
7735 _ACEOF | |
7736 | |
7737 # The following way of writing the cache mishandles newlines in values, | |
7738 # 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
|
7739 # So, we kill variables containing newlines. |
3 | 7740 # Ultrix sh set writes to stderr and can't be redirected directly, |
7741 # 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
|
7742 ( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7743 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
|
7744 eval ac_val=\$$ac_var |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7745 case $ac_val in #( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7746 *${as_nl}*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7747 case $ac_var in #( |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7748 *_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
|
7749 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
|
7750 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7751 case $ac_var in #( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7752 _ | IFS | as_nl) ;; #( |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7753 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
|
7754 *) { eval $ac_var=; unset $ac_var;} ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7755 esac ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7756 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7757 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7758 |
3 | 7759 (set) 2>&1 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7760 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
|
7761 *${as_nl}ac_space=\ *) |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7762 # `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
|
7763 # substitution turns \\\\ into \\, and sed turns \\ into \. |
3 | 7764 sed -n \ |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7765 "s/'/'\\\\''/g; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7766 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
|
7767 ;; #( |
3 | 7768 *) |
7769 # `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
|
7770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
3 | 7771 ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7772 esac | |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7773 sort |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7774 ) | |
3 | 7775 sed ' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7776 /^ac_cv_env_/b end |
3 | 7777 t clear |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7778 :clear |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7779 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
3 | 7780 t end |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7782 :end' >>confcache |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7783 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
|
7784 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
|
7785 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
|
7786 { 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
|
7787 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
|
7788 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
|
7789 cat confcache >"$cache_file" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7790 else |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7791 case $cache_file in #( |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7792 */* | ?:*) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7793 mv -f confcache "$cache_file"$$ && |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7794 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
|
7795 *) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7796 mv -f confcache "$cache_file" ;; |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7797 esac |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7798 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7799 fi |
3 | 7800 else |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7801 { 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
|
7802 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
3 | 7803 fi |
7804 fi | |
7805 rm -f confcache | |
7806 | |
7807 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
7808 # Let make expand exec_prefix. | |
7809 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
7810 | |
7811 DEFS=-DHAVE_CONFIG_H | |
7812 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7813 ac_libobjs= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7814 ac_ltlibobjs= |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7815 U= |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7816 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
|
7817 # 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
|
7818 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
|
7819 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
|
7820 # 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
|
7821 # 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
|
7822 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
|
7823 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
|
7824 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7825 LIBOBJS=$ac_libobjs |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7826 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7827 LTLIBOBJS=$ac_ltlibobjs |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7828 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7829 |
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
|
7830 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7831 : "${CONFIG_STATUS=./config.status}" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7832 ac_write_fail=0 |
3 | 7833 ac_clean_files_save=$ac_clean_files |
7834 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
|
7835 { 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
|
7836 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
|
7837 as_write_fail=0 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7838 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
3 | 7839 #! $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
|
7840 # Generated by $as_me. |
3 | 7841 # Run this file to recreate the current configuration. |
7842 # Compiler output produced by configure, useful for debugging | |
7843 # configure, is in config.log if it exists. | |
7844 | |
7845 debug=false | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7846 ac_cs_recheck=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7847 ac_cs_silent=false |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7848 |
3 | 7849 SHELL=\${CONFIG_SHELL-$SHELL} |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7850 export SHELL |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7851 _ASEOF |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7852 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
|
7853 ## -------------------- ## |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7854 ## M4sh Initialization. ## |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7855 ## -------------------- ## |
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
|
7856 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7857 # Be more Bourne compatible |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7858 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
|
7859 as_nop=: |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7860 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
|
7861 then : |
3 | 7862 emulate sh |
7863 NULLCMD=: | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7864 # 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
|
7865 # 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
|
7866 alias -g '${1+"$@"}'='"$@"' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7867 setopt NO_GLOB_SUBST |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7868 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7869 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
|
7870 *posix*) : |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7871 set -o posix ;; #( |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7872 *) : |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7873 ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7874 esac |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7875 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7876 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7877 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7878 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7879 # 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
|
7880 # the environment. |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7881 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7882 # 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
|
7883 # (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
|
7884 # 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
|
7885 # 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
|
7886 as_nl=' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7887 ' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7888 export as_nl |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7889 IFS=" "" $as_nl" |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7890 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7891 PS1='$ ' |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7892 PS2='> ' |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7893 PS4='+ ' |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7894 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7895 # 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
|
7896 LC_ALL=C |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7897 export LC_ALL |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7898 LANGUAGE=C |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7899 export LANGUAGE |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7900 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7901 # 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
|
7902 # 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
|
7903 # 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
|
7904 # 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
|
7905 # 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
|
7906 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
|
7907 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
|
7908 && ( (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
|
7909 done |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7910 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7911 # 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
|
7912 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
|
7913 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
|
7914 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
|
7915 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7916 # 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
|
7917 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
|
7918 PATH_SEPARATOR=: |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7919 (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
|
7920 (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
|
7921 PATH_SEPARATOR=';' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7922 } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7923 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7924 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7925 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7926 # 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
|
7927 as_myself= |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7928 case $0 in #(( |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7929 *[\\/]* ) as_myself=$0 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7930 *) 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
|
7931 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
|
7932 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
|
7933 IFS=$as_save_IFS |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7934 case $as_dir in #((( |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7935 '') as_dir=./ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7936 */) ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7937 *) as_dir=$as_dir/ ;; |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7938 esac |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7939 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
|
7940 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7941 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7942 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7943 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7944 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7945 # 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
|
7946 # 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
|
7947 if test "x$as_myself" = x; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7948 as_myself=$0 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7949 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7950 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
|
7951 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
|
7952 exit 1 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7953 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7954 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7955 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7956 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7957 # 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
|
7958 # ---------------------------------------- |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7959 # 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
|
7960 # 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
|
7961 # 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
|
7962 as_fn_error () |
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_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
|
7965 if test "$4"; then |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7966 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
|
7967 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
|
7968 fi |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7969 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
|
7970 as_fn_exit $as_status |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7971 } # as_fn_error |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7972 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7973 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
7974 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7975 # as_fn_set_status STATUS |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7976 # ----------------------- |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7977 # Set $? to STATUS, without forking. |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7978 as_fn_set_status () |
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 return $1 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7981 } # as_fn_set_status |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7982 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7983 # as_fn_exit STATUS |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7984 # ----------------- |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7985 # 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
|
7986 as_fn_exit () |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7987 { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7988 set +e |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7989 as_fn_set_status $1 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7990 exit $1 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7991 } # as_fn_exit |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7992 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7993 # as_fn_unset VAR |
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 # Portably unset VAR. |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7996 as_fn_unset () |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7997 { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
7998 { eval $1=; unset $1;} |
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_unset=as_fn_unset |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8001 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8002 # as_fn_append VAR VALUE |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8003 # ---------------------- |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8004 # 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
|
8005 # 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
|
8006 # 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
|
8007 # implementations. |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8008 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
|
8009 then : |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8010 eval 'as_fn_append () |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8011 { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8012 eval $1+=\$2 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8013 }' |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8014 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8015 as_fn_append () |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8016 { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8017 eval $1=\$$1\$2 |
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 fi # as_fn_append |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8020 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8021 # as_fn_arith ARG... |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8022 # ------------------ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8023 # 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
|
8024 # 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
|
8025 # 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
|
8026 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
|
8027 then : |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8028 eval 'as_fn_arith () |
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 as_val=$(( $* )) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8031 }' |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8032 else $as_nop |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8033 as_fn_arith () |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8034 { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8035 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
|
8036 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8037 fi # as_fn_arith |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8038 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8039 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8040 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
|
8041 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8042 as_expr=expr |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8043 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8044 as_expr=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8045 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8046 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8047 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
|
8048 as_basename=basename |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8049 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8050 as_basename=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8051 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8052 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8053 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
|
8054 as_dirname=dirname |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8055 else |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8056 as_dirname=false |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8057 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8058 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8059 as_me=`$as_basename -- "$0" || |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8060 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8061 X"$0" : 'X\(//\)$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8062 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
|
8063 printf "%s\n" X/"$0" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8064 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8065 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8066 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8067 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8068 /^X\/\(\/\/\)$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8069 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8070 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8071 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8072 /^X\/\(\/\).*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8073 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8074 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8075 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8076 s/.*/./; q'` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8077 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8078 # Avoid depending upon Character Ranges. |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8079 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8080 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8081 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
|
8082 as_cr_digits='0123456789' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8083 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
|
8084 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8085 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8086 # 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
|
8087 # 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
|
8088 # for compatibility with existing Makefiles. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8089 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
|
8090 case `echo -n x` in #((((( |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8091 -n*) |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8092 case `echo 'xy\c'` in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8093 *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
|
8094 xy) ECHO_C='\c';; |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8095 *) 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
|
8096 ECHO_T=' ';; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8097 esac;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8098 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8099 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
|
8100 esac |
3 | 8101 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8102 # 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
|
8103 # 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
|
8104 # 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
|
8105 as_echo='printf %s\n' |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8106 as_echo_n='printf %s' |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8107 |
3 | 8108 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
|
8109 if test -d conf$$.dir; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8110 rm -f conf$$.dir/conf$$.file |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8111 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8112 rm -f conf$$.dir |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8113 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
|
8114 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8115 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
|
8116 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
|
8117 as_ln_s='ln -s' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8118 # ... but there are two gotchas: |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8119 # 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
|
8120 # 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
|
8121 # 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
|
8122 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
|
8123 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
|
8124 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
|
8125 as_ln_s=ln |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8126 else |
1913
5d32be499016
The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
8127 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
|
8128 fi |
3 | 8129 else |
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' |
3 | 8131 fi |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8132 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
|
8133 rmdir conf$$.dir 2>/dev/null |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8134 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8135 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8136 # as_fn_mkdir_p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8137 # ------------- |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8138 # 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
|
8139 as_fn_mkdir_p () |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8140 { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8141 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8142 case $as_dir in #( |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8143 -*) as_dir=./$as_dir;; |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8144 esac |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8145 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
|
8146 as_dirs= |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8147 while :; do |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8148 case $as_dir in #( |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8149 *\'*) 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
|
8150 *) as_qdir=$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 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
|
8153 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
|
8154 $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
|
8155 X"$as_dir" : 'X\(//\)[^/]' \| \ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8156 X"$as_dir" : 'X\(//\)$' \| \ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8157 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
|
8158 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
|
8159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8160 s//\1/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8161 q |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8162 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8163 /^X\(\/\/\)[^/].*/{ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8164 s//\1/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8165 q |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8166 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8167 /^X\(\/\/\)$/{ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8168 s//\1/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8169 q |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8170 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8171 /^X\(\/\).*/{ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8172 s//\1/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8173 q |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8174 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8175 s/.*/./; q'` |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8176 test -d "$as_dir" && break |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8177 done |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8178 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
|
8179 } || 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
|
8180 |
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 } # as_fn_mkdir_p |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8183 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
|
8184 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
|
8185 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8186 test -d ./-p && rmdir ./-p |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8187 as_mkdir_p=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8188 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8189 |
1913
5d32be499016
The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
8190 |
5d32be499016
The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
8191 # 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
|
8192 # ----------------------- |
5d32be499016
The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
8193 # 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
|
8194 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
|
8195 { |
5d32be499016
The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
8196 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
|
8197 } # 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
|
8198 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
|
8199 as_executable_p=as_fn_executable_p |
3 | 8200 |
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
|
8201 # 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
|
8202 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
|
8203 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
8204 # 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
|
8205 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
|
8206 |
3 | 8207 |
8208 exec 6>&1 | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8209 ## ----------------------------------- ## |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8210 ## 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
|
8211 ## ----------------------------------- ## |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8212 _ASEOF |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8213 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
|
8214 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8215 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
|
8216 # 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
|
8217 # 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
|
8218 # values after options handling. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8219 ac_log=" |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8220 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
|
8221 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
|
8222 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
8223 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
|
8224 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
|
8225 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
|
8226 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
|
8227 $ $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
|
8228 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8229 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
|
8230 " |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8231 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8232 _ACEOF |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8233 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8234 case $ac_config_files in *" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8235 "*) 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
|
8236 esac |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8237 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8238 case $ac_config_headers in *" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8239 "*) 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
|
8240 esac |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8241 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8242 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3 | 8244 # 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
|
8245 config_files="$ac_config_files" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8246 config_headers="$ac_config_headers" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8247 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8248 _ACEOF |
3 | 8249 |
1596
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 | 8251 ac_cs_usage="\ |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8252 \`$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
|
8253 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
|
8254 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
|
8255 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8256 Usage: $0 [OPTION]... [TAG]... |
3 | 8257 |
8258 -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
|
8259 -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
|
8260 --config print configuration, then exit |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8261 -q, --quiet, --silent |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8262 do not print progress messages |
3 | 8263 -d, --debug don't remove temporary files |
8264 --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
|
8265 --file=FILE[:TEMPLATE] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8266 instantiate the configuration file FILE |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8267 --header=FILE[:TEMPLATE] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8268 instantiate the configuration header FILE |
3 | 8269 |
8270 Configuration files: | |
8271 $config_files | |
8272 | |
8273 Configuration headers: | |
8274 $config_headers | |
8275 | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8276 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
|
8277 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8278 _ACEOF |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8279 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
|
8280 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
|
8281 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
|
8282 ac_cs_config='$ac_cs_config_escaped' |
3 | 8283 ac_cs_version="\\ |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8284 dwindows config.status 3.3 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8285 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
|
8286 with options \\"\$ac_cs_config\\" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8287 |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8288 Copyright (C) 2021 Free Software Foundation, Inc. |
3 | 8289 This config.status script is free software; the Free Software Foundation |
8290 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
|
8291 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8292 ac_pwd='$ac_pwd' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8293 srcdir='$srcdir' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8294 INSTALL='$INSTALL' |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8295 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
|
8296 _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
|
8297 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8298 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
|
8299 # The default lists apply if the user does not specify any file. |
3 | 8300 ac_need_defaults=: |
8301 while test $# != 0 | |
8302 do | |
8303 case $1 in | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8304 --*=?*) |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8305 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8306 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8307 ac_shift=: |
3 | 8308 ;; |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8309 --*=) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8310 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
|
8311 ac_optarg= |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8312 ac_shift=: |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8313 ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8314 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8315 ac_option=$1 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8316 ac_optarg=$2 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8317 ac_shift=shift |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8318 ;; |
3 | 8319 esac |
8320 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8321 case $ac_option in |
3 | 8322 # Handling of the options. |
8323 -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
|
8324 ac_cs_recheck=: ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8325 --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
|
8326 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
|
8327 --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
|
8328 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
|
8329 --debug | --debu | --deb | --de | --d | -d ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8330 debug=: ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8331 --file | --fil | --fi | --f ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8332 $ac_shift |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8333 case $ac_optarg in |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8334 *\'*) 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
|
8335 '') 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
|
8336 esac |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8337 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
|
8338 ac_need_defaults=false;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8339 --header | --heade | --head | --hea ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8340 $ac_shift |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8341 case $ac_optarg in |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8342 *\'*) 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
|
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_HEADERS " '$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;; |
3 | 8346 --he | --h) |
8347 # 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
|
8348 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
|
8349 Try \`$0 --help' for more information.";; |
3 | 8350 --help | --hel | -h ) |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8351 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
|
8352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8353 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8354 ac_cs_silent=: ;; |
3 | 8355 |
8356 # This is an error. | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8357 -*) 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
|
8358 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
|
8359 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8360 *) 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
|
8361 ac_need_defaults=false ;; |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
8362 |
3 | 8363 esac |
8364 shift | |
8365 done | |
8366 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8367 ac_configure_extra_args= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8368 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8369 if $ac_cs_silent; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8370 exec 6>/dev/null |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8371 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
|
8372 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8373 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8374 _ACEOF |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8375 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
|
8376 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
|
8377 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
|
8378 shift |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8379 \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
|
8380 CONFIG_SHELL='$SHELL' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8381 export CONFIG_SHELL |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8382 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
|
8383 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
|
8384 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8385 _ACEOF |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8386 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
|
8387 exec 5>>config.log |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8388 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8389 echo |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8390 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
|
8391 ## Running $as_me. ## |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8392 _ASBOX |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8393 printf "%s\n" "$ac_log" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8394 } >&5 |
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 _ACEOF |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8397 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
|
8398 _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
|
8399 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8400 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
|
8401 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8402 # Handling of arguments. |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
8403 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
|
8404 do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8405 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
|
8406 "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
|
8407 "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
|
8408 "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
|
8409 "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
|
8410 "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
|
8411 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8412 *) 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
|
8413 esac |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
8414 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
8415 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8416 |
3 | 8417 # If the user did not use the arguments to specify the items to instantiate, |
8418 # then the envvar interface is used. Set only those that are not. | |
8419 # We use the long form for the default assignment because of an extremely | |
8420 # bizarre bug on SunOS 4.1.3. | |
8421 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
|
8422 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
|
8423 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
3 | 8424 fi |
8425 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8426 # 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
|
8427 # 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
|
8428 # 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
|
8429 # Hook for its removal unless debugging. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8430 # 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
|
8431 # after its creation but before its name has been assigned to `$tmp'. |
3 | 8432 $debug || |
8433 { | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8434 tmp= ac_tmp= |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8435 trap 'exit_status=$? |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8436 : "${ac_tmp:=$tmp}" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8437 { 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
|
8438 ' 0 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8439 trap 'as_fn_exit 1' 1 2 13 15 |
3 | 8440 } |
8441 # 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
|
8442 |
3 | 8443 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8444 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
|
8445 test -d "$tmp" |
3 | 8446 } || |
8447 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8448 tmp=./conf$$-$RANDOM |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8449 (umask 077 && mkdir "$tmp") |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8450 } || 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
|
8451 ac_tmp=$tmp |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8452 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8453 # 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
|
8454 # 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
|
8455 # 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
|
8456 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
|
8457 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8458 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8459 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
|
8460 # 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
|
8461 # 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
|
8462 # 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
|
8463 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
|
8464 eval ac_cr=\$\'\\r\' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8465 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8466 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
|
8467 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
|
8468 ac_cs_awk_cr='\\r' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8469 else |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8470 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
|
8471 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8472 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8473 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
|
8474 _ACEOF |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8475 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8476 |
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
|
8477 { |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8478 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
|
8479 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
|
8480 echo "_ACEOF" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8481 } >conf$$subs.sh || |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8482 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
|
8483 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
|
8484 ac_delim='%!_!# ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8485 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
|
8486 . ./conf$$subs.sh || |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8487 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
|
8488 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8489 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
|
8490 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
|
8491 break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8492 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
|
8493 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
|
8494 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8495 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
|
8496 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8497 done |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8498 rm -f conf$$subs.sh |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8499 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8500 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
|
8501 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
|
8502 _ACEOF |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8503 sed -n ' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8504 h |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8505 s/^/S["/; s/!.*/"]=/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8506 p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8507 g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8508 s/^[^!]*!// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8509 :repl |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8510 t repl |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8511 s/'"$ac_delim"'$// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8512 t delim |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8513 :nl |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8514 h |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8515 s/\(.\{148\}\)..*/\1/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8516 t more1 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8517 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8518 p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8519 n |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8520 b repl |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8521 :more1 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8522 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8523 p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8524 g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8525 s/.\{148\}// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8526 t nl |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8527 :delim |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8528 h |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8529 s/\(.\{148\}\)..*/\1/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8530 t more2 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8531 s/["\\]/\\&/g; s/^/"/; s/$/"/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8532 p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8533 b |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8534 :more2 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8535 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8536 p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8537 g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8538 s/.\{148\}// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8539 t delim |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8540 ' <conf$$subs.awk | sed ' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8541 /^[^""]/{ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8542 N |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8543 s/\n// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8544 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8545 ' >>$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
|
8546 rm -f conf$$subs.awk |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8547 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
|
8548 _ACAWK |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8549 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
|
8550 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
|
8551 FS = "" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8552 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8553 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8554 { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8555 line = $ 0 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8556 nfields = split(line, field, "@") |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8557 substed = 0 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8558 len = length(field[1]) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8559 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
|
8560 key = field[i] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8561 keylen = length(key) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8562 if (S_is_set[key]) { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8563 value = S[key] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8564 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
|
8565 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
|
8566 substed = 1 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8567 } else |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8568 len += 1 + keylen |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8569 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8570 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8571 print line |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8572 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8573 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8574 _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
|
8575 _ACEOF |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8576 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
|
8577 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
|
8578 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
|
8579 else |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8580 cat |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8581 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
|
8582 || 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
|
8583 _ACEOF |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8584 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8585 # 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
|
8586 # ${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
|
8587 # 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
|
8588 # (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
|
8589 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
|
8590 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8591 h |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8592 s/// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8593 s/^/:/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8594 s/[ ]*$/:/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8595 s/:\$(srcdir):/:/g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8596 s/:\${srcdir}:/:/g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8597 s/:@srcdir@:/:/g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8598 s/^:*// |
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 x |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8601 s/\(=[ ]*\).*/\1/ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8602 G |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8603 s/\n// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8604 s/^[^=]*=[ ]*$// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8605 }' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8606 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8607 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8608 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
|
8609 fi # test -n "$CONFIG_FILES" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8610 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8611 # 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
|
8612 # 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
|
8613 # 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
|
8614 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
|
8615 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
|
8616 BEGIN { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8617 _ACEOF |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8618 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8619 # 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
|
8620 # 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
|
8621 # 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
|
8622 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8623 # 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
|
8624 # handling of long lines. |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
8625 ac_delim='%!_!# ' |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8626 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
|
8627 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
|
8628 if test -z "$ac_tt"; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
8629 break |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
8630 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
|
8631 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
|
8632 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
8633 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
8634 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
8635 done |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
8636 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8637 # 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
|
8638 # 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
|
8639 # newline sequences. |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8640 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8641 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
|
8642 sed -n ' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8643 s/.\{148\}/&'"$ac_delim"'/g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8644 t rset |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8645 :rset |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8646 s/^[ ]*#[ ]*define[ ][ ]*/ / |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8647 t def |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8648 d |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8649 :def |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8650 s/\\$// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8651 t bsnl |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8652 s/["\\]/\\&/g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8653 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
|
8654 D["\1"]=" \3"/p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8655 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
|
8656 d |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8657 :bsnl |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8658 s/["\\]/\\&/g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8659 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
|
8660 D["\1"]=" \3\\\\\\n"\\/p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8661 t cont |
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\\\\\\n"\\/p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8663 t cont |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8664 d |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8665 :cont |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8666 n |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8667 s/.\{148\}/&'"$ac_delim"'/g |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8668 t clear |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8669 :clear |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8670 s/\\$// |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8671 t bsnlc |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8672 s/["\\]/\\&/g; s/^/"/; s/$/"/p |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8673 d |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8674 :bsnlc |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8675 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
|
8676 b cont |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8677 ' <confdefs.h | sed ' |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8678 s/'"$ac_delim"'/"\\\ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8679 "/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
|
8680 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8681 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
|
8682 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
|
8683 FS = "" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8684 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8685 /^[\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
|
8686 line = \$ 0 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8687 split(line, arg, " ") |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8688 if (arg[1] == "#") { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8689 defundef = arg[2] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8690 mac1 = arg[3] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8691 } else { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8692 defundef = substr(arg[1], 2) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8693 mac1 = arg[2] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8694 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8695 split(mac1, mac2, "(") #) |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8696 macro = mac2[1] |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8697 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
|
8698 if (D_is_set[macro]) { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8699 # 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
|
8700 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
|
8701 next |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8702 } else { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8703 # 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
|
8704 # 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
|
8705 # 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
|
8706 if (defundef == "undef") { |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8707 print "/*", prefix defundef, 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 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8710 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8711 } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8712 { print } |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8713 _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
|
8714 _ACEOF |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8715 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
|
8716 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
|
8717 fi # test -n "$CONFIG_HEADERS" |
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 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8720 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
|
8721 shift |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8722 for ac_tag |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8723 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8724 case $ac_tag in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8725 :[FHLC]) ac_mode=$ac_tag; continue;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8726 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8727 case $ac_mode$ac_tag in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8728 :[FHL]*:*);; |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8729 :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
|
8730 :[FH]-) ac_tag=-:-;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8731 :[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
|
8732 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8733 ac_save_IFS=$IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8734 IFS=: |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8735 set x $ac_tag |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8736 IFS=$ac_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8737 shift |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8738 ac_file=$1 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8739 shift |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8740 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8741 case $ac_mode in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8742 :L) ac_source=$1;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8743 :[FH]) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8744 ac_file_inputs= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8745 for ac_f |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8746 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8747 case $ac_f in |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8748 -) ac_f="$ac_tmp/stdin";; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8749 *) # 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
|
8750 # (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
|
8751 # because $ac_f cannot contain `:'. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8752 test -f "$ac_f" || |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8753 case $ac_f in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8754 [\\/$]*) false;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8755 *) 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
|
8756 esac || |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8757 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
|
8758 esac |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8759 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
|
8760 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
|
8761 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8762 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8763 # 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
|
8764 # 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
|
8765 # /* 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
|
8766 configure_input='Generated from '` |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8767 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
|
8768 `' by configure.' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8769 if test x"$ac_file" != x-; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8770 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
|
8771 { 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
|
8772 printf "%s\n" "$as_me: creating $ac_file" >&6;} |
3 | 8773 fi |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8774 # 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
|
8775 case $configure_input in #( |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8776 *\&* | *\|* | *\\* ) |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8777 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
|
8778 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8779 *) 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
|
8780 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8781 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8782 case $ac_tag in |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8783 *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8784 || 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
|
8785 esac |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
8786 ;; |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
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 ac_dir=`$as_dirname -- "$ac_file" || |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8791 X"$ac_file" : 'X\(//\)[^/]' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8792 X"$ac_file" : 'X\(//\)$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8793 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
|
8794 printf "%s\n" X"$ac_file" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8796 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8797 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8798 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8799 /^X\(\/\/\)[^/].*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8800 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8801 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8802 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8803 /^X\(\/\/\)$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8804 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8805 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8806 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8807 /^X\(\/\).*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8808 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8809 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8810 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8811 s/.*/./; q'` |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8812 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
|
8813 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
|
8814 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8815 case "$ac_dir" in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8816 .) 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
|
8817 *) |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8818 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
|
8819 # 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
|
8820 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
|
8821 case $ac_top_builddir_sub in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8822 "") 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
|
8823 *) 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
|
8824 esac ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8825 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8826 ac_abs_top_builddir=$ac_pwd |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8827 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
|
8828 # for backward compatibility: |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8829 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
|
8830 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
8831 case $srcdir in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8832 .) # 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
|
8833 ac_srcdir=. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8834 ac_top_srcdir=$ac_top_builddir_sub |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8835 ac_abs_top_srcdir=$ac_pwd ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8836 [\\/]* | ?:[\\/]* ) # 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
|
8837 ac_srcdir=$srcdir$ac_dir_suffix; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8838 ac_top_srcdir=$srcdir |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8839 ac_abs_top_srcdir=$srcdir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8840 *) # Relative name. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8841 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
|
8842 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
|
8843 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
|
8844 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8845 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
|
8846 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8847 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8848 case $ac_mode in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8849 :F) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8850 # |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8851 # CONFIG_FILE |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8852 # |
3 | 8853 |
8854 case $INSTALL in | |
8855 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8856 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
3 | 8857 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8858 _ACEOF |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8859 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8860 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8861 # Neutralize VPATH when `$srcdir' = `.'. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8862 # 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
|
8863 # 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
|
8864 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
|
8865 ac_sed_extra="$ac_vpsub |
3 | 8866 $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
|
8867 _ACEOF |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3 | 8869 :t |
8870 /@[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
|
8871 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
|
8872 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
|
8873 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
|
8874 s&@srcdir@&$ac_srcdir&;t t |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8875 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
|
8876 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
|
8877 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
|
8878 s&@builddir@&$ac_builddir&;t t |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8879 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
|
8880 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
|
8881 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
|
8882 " |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8883 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
|
8884 >$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
|
8885 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8886 |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8887 rm -f "$ac_tmp/stdin" |
3 | 8888 case $ac_file in |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8889 -) 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
|
8890 *) 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
|
8891 esac \ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8892 || 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
|
8893 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8894 :H) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8895 # |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8896 # CONFIG_HEADER |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8897 # |
3 | 8898 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
|
8899 { |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8900 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
|
8901 && 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
|
8902 } >"$ac_tmp/config.h" \ |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8903 || 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
|
8904 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
|
8905 { 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
|
8906 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
3 | 8907 else |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8908 rm -f "$ac_file" |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8909 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
|
8910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3 | 8911 fi |
8912 else | |
2970
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8913 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
|
8914 && 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
|
8915 || as_fn_error $? "could not create -" "$LINENO" 5 |
3 | 8916 fi |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8917 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8918 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8919 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8920 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8921 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8922 done # for ac_tag |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8923 |
3 | 8924 |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8925 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
|
8926 _ACEOF |
3 | 8927 ac_clean_files=$ac_clean_files_save |
8928 | |
1596
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8929 test $ac_write_fail = 0 || |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8930 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
|
8931 |
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
|
8932 |
3 | 8933 # configure is writing to config.log, and then calls config.status. |
8934 # config.status does its own redirection, appending to config.log. | |
8935 # Unfortunately, on DOS this fails, as config.log is still kept open | |
8936 # by configure, so config.status won't be able to write to it; its | |
8937 # output is simply discarded. So we exec the FD to /dev/null, | |
8938 # effectively closing config.log, so it can be properly (re)opened and | |
8939 # appended to by config.status. When coming back to configure, we | |
8940 # need to make the FD available again. | |
8941 if test "$no_create" != yes; then | |
8942 ac_cs_success=: | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8943 ac_config_status_args= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8944 test "$silent" = yes && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8945 ac_config_status_args="$ac_config_status_args --quiet" |
3 | 8946 exec 5>/dev/null |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8947 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3 | 8948 exec 5>>config.log |
8949 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
8950 # 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
|
8951 $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
|
8952 fi |
ae90d440b2a4
Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1595
diff
changeset
|
8953 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
|
8954 { 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
|
8955 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
|
8956 fi |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8957 |
83c17a84bc27
Update the configure scripts with the latest autotools.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
8958 |