annotate configure @ 2264:5c981407b0f3

GTK4: Add experimental support for GTK4... This is in progress and doesn't compile yet. GTK4 support will likely be less full than GTK3 due to architectural decisions by the GTK team. Certain features have been removed with no replacements, such as status icon support. Additionally all of the thread safety has been removed and everything MUST run on the main thread. I will likely implement a similar solution to what I did on MacOS where threads will call into the main thread to do API calls, passing the arguments between threads. Copied from GTK3 removing all existing now dead thread safety, all deprecated code and everything supporting earlier versions of GTK3. GTK4 is not available in any mainstream distributions yet... hoping to have it at least functional by the time there are any.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 29 Jan 2021 10:57:12 +0000
parents 4020bdb806dc
children 7ac85e938b71
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 #! /bin/sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3 # Generated by GNU Autoconf 2.69.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5 #
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7 #
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
9 # This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
10 # 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
11 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
12 ## M4sh Initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
13 ## -------------------- ##
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
14
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
15 # Be more Bourne compatible
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
16 DUALCASE=1; export DUALCASE # for MKS sh
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
18 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
19 NULLCMD=:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
20 # 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
21 # 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
22 alias -g '${1+"$@"}'='"$@"'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
23 setopt NO_GLOB_SUBST
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
24 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
25 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
26 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
27 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
28 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
29 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
30 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
31 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
32
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
33
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
34 as_nl='
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 export as_nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
42 # but without wasting forks for bash or zsh.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
45 as_echo='print -r --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
46 as_echo_n='print -rn --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
48 as_echo='printf %s\n'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
49 as_echo_n='printf %s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
50 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
53 as_echo_n='/usr/ucb/echo -n'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
54 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
56 as_echo_n_body='eval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
57 arg=$1;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
58 case $arg in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
59 *"$as_nl"*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
60 expr "X$arg" : "X\\(.*\\)$as_nl";
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
62 esac;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
64 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
65 export as_echo_n_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
66 as_echo_n='sh -c $as_echo_n_body as_echo'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
67 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
68 export as_echo_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
69 as_echo='sh -c $as_echo_body as_echo'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
70 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
71
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
72 # The user is always right.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
73 if test "${PATH_SEPARATOR+set}" != set; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
74 PATH_SEPARATOR=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
75 (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
76 (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
77 PATH_SEPARATOR=';'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
78 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
79 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
80
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
81
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
82 # IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
83 # We need space, tab and new line, in precisely that order. Quoting is
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
84 # there to prevent editors from complaining about space-tab.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
86 # splitting by setting IFS to empty value.)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
87 IFS=" "" $as_nl"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
88
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
89 # 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
90 as_myself=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
91 case $0 in #((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
92 *[\\/]* ) as_myself=$0 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
93 *) 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
94 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
95 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
96 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
97 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 # Unset variables that we do not need and which cause bugs (e.g. in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
116 # suppresses any "Segmentation fault" message there. '((' could
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
117 # trigger a bug in pdksh 5.2.14.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
118 for as_var in BASH_ENV ENV MAIL MAILPATH
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
119 do eval test x\${$as_var+set} = xset \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
121 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
122 PS1='$ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
123 PS2='> '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
124 PS4='+ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
125
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
126 # NLS nuisances.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
127 LC_ALL=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
128 export LC_ALL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
129 LANGUAGE=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
130 export LANGUAGE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
131
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
132 # CDPATH.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
134
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
135 # 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
136 # 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
137 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
138 _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
139 # 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
140 # 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
141 # 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
142 # 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
143 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
144 ENV=/dev/null
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
145 (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
146 case $- in # ((((
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
147 *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
148 *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
149 *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
150 * ) as_opts= ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
151 esac
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
152 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
153 # 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
154 # out after a failed `exec'.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
156 as_fn_exit 255
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
157 fi
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
158 # 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
159 { _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
160 if test "x$CONFIG_SHELL" = x; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
162 emulate sh
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
163 NULLCMD=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
164 # 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
165 # 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
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
167 setopt NO_GLOB_SUBST
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
168 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
169 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
170 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
171 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
172 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
173 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
174 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
175 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
176 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
177 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
178 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
179 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
180 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
181 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
182
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
183 exitcode=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
184 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
185 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
186 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
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
189
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
190 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
191 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
192 fi
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
193 test x\$exitcode = x0 || exit 1
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
194 test -x / || exit 1"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
195 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
196 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
197 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
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
199 test \$(( 1 + 1 )) = 2 || exit 1"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
200 if (eval "$as_required") 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
201 as_have_required=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
202 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
203 as_have_required=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
204 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
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 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
208 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
209 as_found=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
210 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
211 do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
212 IFS=$as_save_IFS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
213 test -z "$as_dir" && as_dir=.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
214 as_found=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
215 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
216 /*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
217 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
218 # Try only shells that exist, to save several forks.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
219 as_shell=$as_dir/$as_base
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
222 CONFIG_SHELL=$as_shell as_have_required=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
224 break 2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
225 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
226 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
227 done;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
228 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
229 as_found=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
230 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
233 CONFIG_SHELL=$SHELL as_have_required=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
234 fi; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
235 IFS=$as_save_IFS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
236
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
237
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
238 if test "x$CONFIG_SHELL" != x; then :
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
239 export CONFIG_SHELL
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
240 # 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
241 # 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
242 # 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
243 # 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
244 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
245 ENV=/dev/null
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
246 (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
247 case $- in # ((((
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
248 *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
249 *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
250 *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
251 * ) as_opts= ;;
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
252 esac
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
253 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
254 # 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
255 # out after a failed `exec'.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
257 exit 255
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
258 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
259
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
260 if test x$as_have_required = xno; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
261 $as_echo "$0: This script requires a shell more modern than all"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
262 $as_echo "$0: the shells that I found on your system."
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
263 if test x${ZSH_VERSION+set} = xset ; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
265 $as_echo "$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
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
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
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
294 # as_fn_set_status STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
295 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
296 # Set $? to STATUS, without forking.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
297 as_fn_set_status ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
298 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
299 return $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
300 } # as_fn_set_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
301
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
302 # as_fn_exit STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
303 # -----------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
304 # 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
305 as_fn_exit ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
306 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
307 set +e
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
308 as_fn_set_status $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
309 exit $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
310 } # as_fn_exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
311
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
312 # as_fn_mkdir_p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
313 # -------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
314 # 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
315 as_fn_mkdir_p ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
316 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
317
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
318 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
319 -*) as_dir=./$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
320 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
321 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
322 as_dirs=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
323 while :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
324 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
326 *) as_qdir=$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
327 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
328 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
329 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
330 $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
331 X"$as_dir" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
332 X"$as_dir" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
334 $as_echo X"$as_dir" |
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
336 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
337 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
338 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
339 /^X\(\/\/\)[^/].*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
340 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
341 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
342 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
343 /^X\(\/\/\)$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
344 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
345 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
346 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
347 /^X\(\/\).*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
348 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
349 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
350 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
351 s/.*/./; q'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
352 test -d "$as_dir" && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
353 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
354 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
355 } || 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
356
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
357
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
358 } # 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
359
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
360 # 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
361 # -----------------------
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
362 # 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
363 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
364 {
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
365 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
366 } # as_fn_executable_p
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
367 # as_fn_append VAR VALUE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
368 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
369 # 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
370 # 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
371 # 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
372 # implementations.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
374 eval 'as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
375 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
376 eval $1+=\$2
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 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
379 as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
380 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
381 eval $1=\$$1\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
382 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
383 fi # as_fn_append
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
384
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
385 # as_fn_arith ARG...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
386 # ------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
387 # 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
388 # 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
389 # must be portable across $(()) and expr.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
391 eval 'as_fn_arith ()
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 as_val=$(( $* ))
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 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
396 as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
397 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
398 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
399 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
400 fi # as_fn_arith
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
401
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
402
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
403 # 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
404 # ----------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
405 # 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
406 # 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
407 # 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
408 as_fn_error ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
409 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
410 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
411 if test "$4"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
414 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
415 $as_echo "$as_me: error: $2" >&2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
416 as_fn_exit $as_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
417 } # as_fn_error
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
418
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
419 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
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
421 as_expr=expr
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
422 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
423 as_expr=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
424 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
425
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
426 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
427 as_basename=basename
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
428 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
429 as_basename=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
430 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
431
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
432 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
433 as_dirname=dirname
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
434 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
435 as_dirname=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
436 fi
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 as_me=`$as_basename -- "$0" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
440 X"$0" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
442 $as_echo X/"$0" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
444 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
445 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
446 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
447 /^X\/\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
448 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
449 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
450 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
451 /^X\/\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
452 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
453 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
454 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
455 s/.*/./; q'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
456
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
457 # Avoid depending upon Character Ranges.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
460 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
461 as_cr_digits='0123456789'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
462 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
463
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
464
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
465 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
466 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
467 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
468 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
469 # 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
470 sed -n '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
471 p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
472 /[$]LINENO/=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
473 ' <$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
474 sed '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
475 s/[$]LINENO.*/&-/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
476 t lineno
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
477 b
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
478 :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
479 N
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
480 :loop
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
481 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
482 t loop
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
483 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
484 ' >$as_me.lineno &&
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
485 chmod +x "$as_me.lineno" ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
486 { $as_echo "$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
487
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
488 # 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
489 # 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
490 # 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
491 _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
492 # 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
493 # (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
494 # 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
495 . "./$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
496 # 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
497 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
498 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
499
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
500 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
501 case `echo -n x` in #(((((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
502 -n*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
503 case `echo 'xy\c'` in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
504 *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
505 xy) ECHO_C='\c';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
506 *) 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
507 ECHO_T=' ';;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
508 esac;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
509 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
510 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
511 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
512
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
513 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
514 if test -d conf$$.dir; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
515 rm -f conf$$.dir/conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
516 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
517 rm -f conf$$.dir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
518 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
519 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
520 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
521 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
522 as_ln_s='ln -s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
523 # ... but there are two gotchas:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
524 # 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
525 # 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
526 # 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
527 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
528 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
529 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
530 as_ln_s=ln
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
531 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
532 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
533 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
534 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
535 as_ln_s='cp -pR'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
536 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
537 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
538 rmdir conf$$.dir 2>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
539
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
540 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
541 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
542 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
543 test -d ./-p && rmdir ./-p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
544 as_mkdir_p=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
545 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
546
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
547 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
548 as_executable_p=as_fn_executable_p
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
549
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
550 # 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
551 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
552
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
553 # 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
554 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
555
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
556
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
557 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
558 exec 6>&1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
559
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
560 # Name of the host.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
562 # so uname gets run too.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
564
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
565 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
566 # Initializations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
567 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
568 ac_default_prefix=/usr/local
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
569 ac_clean_files=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
570 ac_config_libobj_dir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
571 LIBOBJS=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
572 cross_compiling=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
573 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
574 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
575 MAKEFLAGS=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
576
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
577 # Identity of this package.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
578 PACKAGE_NAME=
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
579 PACKAGE_TARNAME=
7d2108cbcd3e Porting DW 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 PACKAGE_VERSION=
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
581 PACKAGE_STRING=
7d2108cbcd3e Porting DW 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 PACKAGE_BUGREPORT=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
583 PACKAGE_URL=
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
584
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
585 ac_unique_file="winmain.c"
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
586 # 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
587 ac_includes_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
588 #include <stdio.h>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
589 #ifdef HAVE_SYS_TYPES_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
590 # include <sys/types.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
591 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
592 #ifdef HAVE_SYS_STAT_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
593 # include <sys/stat.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
594 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
595 #ifdef STDC_HEADERS
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
596 # 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
597 # include <stddef.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
598 #else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
599 # 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
600 # 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
601 # 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
602 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
603 #ifdef HAVE_STRING_H
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_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
605 # include <memory.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
606 # 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
607 # 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
608 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
609 #ifdef HAVE_STRINGS_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
610 # include <strings.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
611 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
612 #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
613 # 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
614 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
615 #ifdef HAVE_STDINT_H
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
616 # include <stdint.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
617 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
618 #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
619 # 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
620 #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
621
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
622 ac_subst_vars='LTLIBOBJS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
623 LIBOBJS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
624 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
625 INSTALL_TEST
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
626 INSTALL_COMPAT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
627 COMPAT_OBJECT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
628 BROWSER_OBJECT
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
629 DW_GRESOURCE
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
630 DW_DEFINE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
631 DW_DIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
632 DW_SRC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
633 TARGETS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
634 SONAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
635 LIBPREFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
636 LIBSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
637 SOSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
638 SHAREDFLAG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
639 MKDIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
640 MV
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
641 CP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
642 LN
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
643 RM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
644 ARFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
645 PLATCCFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
646 INCLUDES
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
647 SYSCONF_LINK_TARGET_STATIC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
648 SYSCONF_LINK_TARGET_SHARED2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
649 SYSCONF_LINK_TARGET_SHARED
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
650 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
651 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
652 PKG_CONFIG
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
653 GDK_IMLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
654 GDK_IMLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
655 IMLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
656 GTK_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
657 GTK_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
658 GTK_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
659 GLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
660 GLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
661 GLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
662 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
663 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
664 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
665 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
666 X_CFLAGS
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
667 XMKMF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
668 EGREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
669 GREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
670 CPP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
671 target_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
672 target_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
673 target_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
674 target
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
675 host_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
676 host_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
677 host_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
678 host
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
679 build_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
680 build_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
681 build_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
682 build
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
683 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
684 INSTALL_SCRIPT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
685 INSTALL_PROGRAM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
686 SVNVERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
687 MAKE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
688 ac_ct_CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
689 CXXFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
690 CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
691 OBJEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
692 EXEEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
693 ac_ct_CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
694 CPPFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
695 LDFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
696 CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
697 CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
698 TARGET2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
699 TARGET
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
700 target_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
701 host_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
702 build_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
703 LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
704 ECHO_T
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
705 ECHO_N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
706 ECHO_C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
707 DEFS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
708 mandir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
709 localedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
710 libdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
711 psdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
712 pdfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
713 dvidir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
714 htmldir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
715 infodir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
716 docdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
717 oldincludedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
718 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
719 runstatedir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
720 localstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
721 sharedstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
722 sysconfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
723 datadir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
724 datarootdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
725 libexecdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
726 sbindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
727 bindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
728 program_transform_name
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
729 prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
730 exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
731 PACKAGE_URL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
732 PACKAGE_BUGREPORT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
733 PACKAGE_STRING
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
734 PACKAGE_VERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
735 PACKAGE_TARNAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
736 PACKAGE_NAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
737 PATH_SEPARATOR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
738 SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
739 ac_subst_files=''
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
740 ac_user_opts='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
741 enable_option_checking
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
742 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
743 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
744 with_gtk4
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
745 with_deprecated
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
746 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
747 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
748 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
749 with_x
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
750 with_glib_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
751 with_glib_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
752 enable_glibtest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
753 with_gtk_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
754 with_gtk_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
755 enable_gtktest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
756 with_imlib_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
757 with_imlib_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
758 enable_imlibtest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
759 '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
760 ac_precious_vars='build_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
761 host_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
762 target_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
763 CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
764 CFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
765 LDFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
766 LIBS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
767 CPPFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
768 CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
769 CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
770 CCC
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
771 CPP
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
772 XMKMF
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
773 PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
774 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
775 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
776 GLIB_CFLAGS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
777 GLIB_LIBS'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
778
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
779
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
780 # Initialize some variables set by options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
781 ac_init_help=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
782 ac_init_version=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
783 ac_unrecognized_opts=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
784 ac_unrecognized_sep=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
785 # The variables have the same names as the options, with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
786 # dashes changed to underlines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
787 cache_file=/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
788 exec_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
789 no_create=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
790 no_recursion=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
791 prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
792 program_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
793 program_suffix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
794 program_transform_name=s,x,x,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
795 silent=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
796 site=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
797 srcdir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
798 verbose=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
799 x_includes=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
800 x_libraries=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
801
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
802 # Installation directory options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
804 # and all the variables that are supposed to be based on exec_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
805 # by default will actually change.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
806 # 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
807 # (The list follows the same order as the GNU Coding Standards.)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
808 bindir='${exec_prefix}/bin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
809 sbindir='${exec_prefix}/sbin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
810 libexecdir='${exec_prefix}/libexec'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
811 datarootdir='${prefix}/share'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
812 datadir='${datarootdir}'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
813 sysconfdir='${prefix}/etc'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
814 sharedstatedir='${prefix}/com'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
815 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
816 runstatedir='${localstatedir}/run'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
817 includedir='${prefix}/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
818 oldincludedir='/usr/include'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
819 docdir='${datarootdir}/doc/${PACKAGE}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
820 infodir='${datarootdir}/info'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
821 htmldir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
822 dvidir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
823 pdfdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
824 psdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
825 libdir='${exec_prefix}/lib'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
826 localedir='${datarootdir}/locale'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
827 mandir='${datarootdir}/man'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
828
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
829 ac_prev=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
830 ac_dashdash=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
831 for ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
832 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
833 # If the previous option needs an argument, assign it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
834 if test -n "$ac_prev"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
835 eval $ac_prev=\$ac_option
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
836 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
837 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
838 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
839
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
840 case $ac_option in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
841 *=?*) 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
842 *=) ac_optarg= ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
843 *) ac_optarg=yes ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
844 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
845
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
846 # Accept the important Cygnus configure options, so we can diagnose typos.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
847
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
848 case $ac_dashdash$ac_option in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
849 --)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
850 ac_dashdash=yes ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
851
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
853 ac_prev=bindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
855 bindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
856
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
857 -build | --build | --buil | --bui | --bu)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
858 ac_prev=build_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
860 build_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
861
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
864 ac_prev=cache_file ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
867 cache_file=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
868
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
869 --config-cache | -C)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
870 cache_file=config.cache ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
871
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
872 -datadir | --datadir | --datadi | --datad)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
873 ac_prev=datadir ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
875 datadir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
876
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
878 | --dataroo | --dataro | --datar)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
879 ac_prev=datarootdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
882 datarootdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
883
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
884 -disable-* | --disable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
886 # 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
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
888 as_fn_error $? "invalid feature name: $ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
889 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
891 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
892 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
893 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
894 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
895 *) 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
896 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
897 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
898 eval enable_$ac_useropt=no ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
899
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
900 -docdir | --docdir | --docdi | --doc | --do)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
901 ac_prev=docdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
903 docdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
904
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
906 ac_prev=dvidir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
908 dvidir=$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
909
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
910 -enable-* | --enable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
912 # 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
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
914 as_fn_error $? "invalid feature name: $ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
915 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
917 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
918 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
919 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
920 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
921 *) 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
922 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
923 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
924 eval enable_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
925
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
928 | --exec | --exe | --ex)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
929 ac_prev=exec_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
932 | --exec=* | --exe=* | --ex=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
933 exec_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
934
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
935 -gas | --gas | --ga | --g)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
936 # Obsolete; use --with-gas.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
937 with_gas=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
938
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
939 -help | --help | --hel | --he | -h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
940 ac_init_help=long ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
942 ac_init_help=recursive ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
944 ac_init_help=short ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
945
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
946 -host | --host | --hos | --ho)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
947 ac_prev=host_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
948 -host=* | --host=* | --hos=* | --ho=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
949 host_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
950
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
952 ac_prev=htmldir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
954 | --ht=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
955 htmldir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
956
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
957 -includedir | --includedir | --includedi | --included | --include \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
958 | --includ | --inclu | --incl | --inc)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
959 ac_prev=includedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
962 includedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
963
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
965 ac_prev=infodir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
967 infodir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
968
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
969 -libdir | --libdir | --libdi | --libd)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
970 ac_prev=libdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
972 libdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
973
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
975 | --libexe | --libex | --libe)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
976 ac_prev=libexecdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
978 | --libexe=* | --libex=* | --libe=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
979 libexecdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
980
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
981 -localedir | --localedir | --localedi | --localed | --locale)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
982 ac_prev=localedir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
984 localedir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
985
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
987 | --localstate | --localstat | --localsta | --localst | --locals)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
988 ac_prev=localstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
991 localstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
992
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
994 ac_prev=mandir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
996 mandir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
997
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
998 -nfp | --nfp | --nf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
999 # Obsolete; use --without-fp.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1000 with_fp=no ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1001
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1002 -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
1003 | --no-cr | --no-c | -n)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1004 no_create=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1005
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1008 no_recursion=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1009
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1012 | --oldin | --oldi | --old | --ol | --o)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1013 ac_prev=oldincludedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1017 oldincludedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1018
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1020 ac_prev=prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1022 prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1023
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1025 | --program-pre | --program-pr | --program-p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1026 ac_prev=program_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1029 program_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1030
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1032 | --program-suf | --program-su | --program-s)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1033 ac_prev=program_suffix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1036 program_suffix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1037
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1038 -program-transform-name | --program-transform-name \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1039 | --program-transform-nam | --program-transform-na \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1040 | --program-transform-n | --program-transform- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1041 | --program-transform | --program-transfor \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1042 | --program-transfo | --program-transf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1043 | --program-trans | --program-tran \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1044 | --progr-tra | --program-tr | --program-t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1045 ac_prev=program_transform_name ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1046 -program-transform-name=* | --program-transform-name=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1047 | --program-transform-nam=* | --program-transform-na=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1048 | --program-transform-n=* | --program-transform-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1049 | --program-transform=* | --program-transfor=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1050 | --program-transfo=* | --program-transf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1051 | --program-trans=* | --program-tran=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1053 program_transform_name=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1054
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1056 ac_prev=pdfdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1058 pdfdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1059
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1060 -psdir | --psdir | --psdi | --psd | --ps)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1061 ac_prev=psdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1063 psdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1064
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1066 | -silent | --silent | --silen | --sile | --sil)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1067 silent=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1068
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
1069 -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
1070 | --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
1071 | --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
1072 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
1073 -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
1074 | --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
1075 | --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
1076 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
1077
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1079 ac_prev=sbindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1081 | --sbi=* | --sb=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1082 sbindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1083
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1086 | --sharedst | --shareds | --shared | --share | --shar \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1087 | --sha | --sh)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1088 ac_prev=sharedstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1092 | --sha=* | --sh=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1093 sharedstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1094
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1095 -site | --site | --sit)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1096 ac_prev=site ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1097 -site=* | --site=* | --sit=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1098 site=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1099
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1101 ac_prev=srcdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1103 srcdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1104
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1106 | --syscon | --sysco | --sysc | --sys | --sy)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1107 ac_prev=sysconfdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1110 sysconfdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1111
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1112 -target | --target | --targe | --targ | --tar | --ta | --t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1113 ac_prev=target_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1115 target_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1116
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1118 verbose=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1119
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1120 -version | --version | --versio | --versi | --vers | -V)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1121 ac_init_version=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1122
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1123 -with-* | --with-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1125 # 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
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1127 as_fn_error $? "invalid package name: $ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1128 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1130 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1131 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1132 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1133 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1134 *) 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
1135 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1136 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1137 eval with_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1138
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1139 -without-* | --without-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1141 # 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
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1143 as_fn_error $? "invalid package name: $ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1144 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1146 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1147 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1148 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1149 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1150 *) 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
1151 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1152 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1153 eval with_$ac_useropt=no ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1154
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1155 --x)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1156 # Obsolete; use --with-x.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1157 with_x=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1158
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1160 | --x-incl | --x-inc | --x-in | --x-i)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1161 ac_prev=x_includes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1164 x_includes=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1165
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1168 ac_prev=x_libraries ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1171 x_libraries=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1172
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1173 -*) 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
1174 Try \`$0 --help' for more information"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1175 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1176
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1177 *=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1179 # 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
1180 case $ac_envvar in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1181 '' | [0-9]* | *[!_$as_cr_alnum]* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1182 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
1183 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1184 eval $ac_envvar=\$ac_optarg
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1185 export $ac_envvar ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1186
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1187 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1188 # FIXME: should be removed in autoconf 3.0.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1189 $as_echo "$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
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1193 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1194
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1195 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1196 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1197
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1198 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1199 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
1200 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
1201 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1202
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1203 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
1204 case $enable_option_checking in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1205 no) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1208 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1209 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1210
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1211 # Check all directory arguments for consistency.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1212 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
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1214 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
1215 libdir localedir mandir runstatedir
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1216 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1217 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
1218 # Remove trailing slashes.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1219 case $ac_val in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1220 */ )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1221 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
1222 eval $ac_var=\$ac_val;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1223 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1224 # 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
1225 case $ac_val in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1226 [\\/$]* | ?:[\\/]* ) continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1227 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
1228 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1230 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1231
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1232 # There might be people who depend on the old broken behavior: `$host'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1233 # 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
1234 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1235 build=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1236 host=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1237 target=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1238
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
1239 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1240 if test "x$host_alias" != x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1241 if test "x$build_alias" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1242 cross_compiling=maybe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1243 elif test "x$build_alias" != "x$host_alias"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1244 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1245 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1246 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1247
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1248 ac_tool_prefix=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1250
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1251 test "$silent" = yes && exec 6>/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1252
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
1253
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1255 ac_ls_di=`ls -di .` &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1256 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
1257 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
1258 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
1259 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
1260
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1261
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1262 # Find the source files, if location was not specified.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1263 if test -z "$srcdir"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1264 ac_srcdir_defaulted=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1265 # 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
1266 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
1267 $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
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1269 X"$as_myself" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1271 $as_echo X"$as_myself" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1273 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1274 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1275 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1276 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1277 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1278 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1279 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1280 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1281 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1282 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1283 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1284 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1285 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1286 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1287 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1288 s/.*/./; q'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1289 srcdir=$ac_confdir
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1290 if test ! -r "$srcdir/$ac_unique_file"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1291 srcdir=..
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1292 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1293 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1294 ac_srcdir_defaulted=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1295 fi
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
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1297 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
1298 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
1299 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1300 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
1301 ac_abs_confdir=`(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1302 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
1303 pwd)`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1304 # When building in place, set srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1305 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
1306 srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1307 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1308 # Remove unnecessary trailing slashes from srcdir.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1309 # 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
1310 # mess up M-x gdb in Emacs.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1311 case $srcdir in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1312 */) 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
1313 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1314 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
1315 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
1316 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
1317 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
1318 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
1319 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1320
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1321 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1322 # Report the --help message.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1323 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1324 if test "$ac_init_help" = "long"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1325 # Omit some internal or obsolete options to make the list less imposing.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1326 # 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
1327 cat <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1328 \`configure' configures this package to adapt to many kinds of systems.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1329
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1331
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1334
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1335 Defaults for the options are specified in brackets.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1336
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1337 Configuration:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1338 -h, --help display this help and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1339 --help=short display options specific to this package
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1340 --help=recursive display the short help of all the included packages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1341 -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
1342 -q, --quiet, --silent do not print \`checking ...' messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1343 --cache-file=FILE cache test results in FILE [disabled]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1344 -C, --config-cache alias for \`--cache-file=config.cache'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1345 -n, --no-create do not create output files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1347
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1348 Installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1349 --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
1350 [$ac_default_prefix]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1351 --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
1352 [PREFIX]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1353
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1354 By default, \`make install' will install all the files in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1357 for instance \`--prefix=\$HOME'.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1358
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1359 For better control, use the options below.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1360
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1361 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
1362 --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
1363 --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
1364 --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
1365 --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
1366 --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
1367 --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
1368 --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
1369 --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
1370 --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
1371 --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
1372 --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
1373 --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
1374 --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
1375 --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
1376 --mandir=DIR man documentation [DATAROOTDIR/man]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1377 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1378 --htmldir=DIR html documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1379 --dvidir=DIR dvi documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1380 --pdfdir=DIR pdf documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1381 --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
1382 _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
1383
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1384 cat <<\_ACEOF
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1385
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
1386 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
1387 --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
1388 --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
1389
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1390 System types:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1391 --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
1392 --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
1393 --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
1394 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1395 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1396
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1397 if test -n "$ac_init_help"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1398
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
1399 cat <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1400
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1401 Optional Features:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1402 --disable-option-checking ignore unrecognized --enable/--with options
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1403 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1404 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1405 --disable-glibtest Do not try to compile and run a test GLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1406 --disable-gtktest Do not try to compile and run a test GTK program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1407 --disable-imlibtest Do not try to compile and run a test IMLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1408
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1409 Optional Packages:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1595
080b764e8982 Up version number to 2.3.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1594
diff changeset
1412 --with-dwcompat specify this to build the optional dwcompat library
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
1413 --with-gtk2 specify this to build with GTK+ 2.x if available
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1414 --with-gtk4 specify this to build with GTK+ 4.x if available
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
1415 --with-deprecated specify this to build with deprecated functions
2217
6cdb907755cb Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2204
diff changeset
1416 --with-arch specify MacOS architecture: one of modern, classic, 32bit, intel, arm, powerpc
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
1417 --with-sdk specify this to build with an alternate MacOS SDK location
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
1418 --with-minver specify this to build with a minimum MacOS version
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1419 --with-x use the X Window System
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1420 --with-glib-prefix=PFX Prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1421 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1422 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1423 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1424 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1425 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1426
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1427 Some influential environment variables:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1428 CC C compiler command
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1429 CFLAGS C compiler flags
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1430 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1431 nonstandard directory <lib dir>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1432 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
1433 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
1434 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
1435 CXX C++ compiler command
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1436 CXXFLAGS C++ compiler flags
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1437 CPP C preprocessor
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
1438 XMKMF Path to xmkmf, Makefile generator for X Window System
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1439 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
1440 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1441 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
1442 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1443 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
1444 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
1445 GLIB_LIBS linker flags for GLIB, overriding pkg-config
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1446
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1447 Use these variables to override the choices made by `configure' or to help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1448 it to find libraries and programs with nonstandard names/locations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1449
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1450 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
1451 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1452 ac_status=$?
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1453 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1454
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1455 if test "$ac_init_help" = "recursive"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1456 # 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
1457 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
1458 test -d "$ac_dir" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1459 { 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
1460 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
1461 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
1462
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1463 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1464 .) 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
1465 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1467 # A ".." for each directory in $ac_dir_suffix.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1468 ac_top_builddir_sub=`$as_echo "$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
1469 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1470 "") 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
1471 *) 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
1472 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1473 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1474 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1475 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
1476 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1477 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
1478
7d2108cbcd3e Porting DW 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 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1480 .) # 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
1481 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1482 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1483 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1484 [\\/]* | ?:[\\/]* ) # 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
1485 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1486 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1487 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1488 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1489 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
1490 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
1491 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
1492 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1493 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
1494
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1495 cd "$ac_dir" || { ac_status=$?; continue; }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1496 # Check for guested configure.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1497 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
1498 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1500 elif test -f "$ac_srcdir/configure"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1501 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1502 $SHELL "$ac_srcdir/configure" --help=recursive
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1503 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1504 $as_echo "$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
1505 fi || ac_status=$?
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1506 cd "$ac_pwd" || { ac_status=$?; break; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1507 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1508 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1509
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1510 test -n "$ac_init_help" && exit $ac_status
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1511 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
1512 cat <<\_ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1513 configure
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1514 generated by GNU Autoconf 2.69
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1515
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1516 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1517 This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1518 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
1519 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1520 exit
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1521 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1522
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 ## Autoconf initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1525 ## ------------------------ ##
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 # 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
1528 # --------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1529 # 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
1530 ac_fn_c_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1531 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1533 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1534 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1535 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1537 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1538 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1540 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1541 (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
1542 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1543 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
1544 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
1545 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1546 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
1547 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1549 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1550 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
1551 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1552 } && test -s conftest.$ac_objext; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1553 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1554 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1555 $as_echo "$as_me: failed program was:" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1556 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
1557
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1558 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1559 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1560 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
1561 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
1562
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1563 } # ac_fn_c_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1564
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1565 # 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
1566 # ----------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1567 # 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
1568 ac_fn_cxx_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1569 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1571 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1572 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1573 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1575 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1576 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1578 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1579 (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
1580 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1581 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
1582 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
1583 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1584 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
1585 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1587 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1588 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
1589 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1590 } && test -s conftest.$ac_objext; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1591 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1592 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1593 $as_echo "$as_me: failed program was:" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1594 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
1595
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1596 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1597 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1598 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
1599 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
1600
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1601 } # ac_fn_cxx_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1602
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1603 # ac_fn_c_try_cpp LINENO
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 # Try to preprocess 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
1606 ac_fn_c_try_cpp ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1607 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1609 if { { ac_try="$ac_cpp conftest.$ac_ext"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1610 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1612 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1613 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1615 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1617 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1618 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
1619 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
1620 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1621 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
1622 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1624 test $ac_status = 0; } > conftest.i && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1626 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1627 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1628 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1629 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1630 $as_echo "$as_me: failed program was:" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1631 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
1632
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1633 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1634 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1635 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
1636 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
1637
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1638 } # ac_fn_c_try_cpp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1639
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1640 # ac_fn_c_try_run LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1641 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1642 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1643 # that executables *can* be run.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1644 ac_fn_c_try_run ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1645 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1647 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1648 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1650 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1651 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1653 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1654 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1655 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1657 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1658 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1660 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1661 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1663 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1664 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1665 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1667 test $ac_status = 0; }; }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1668 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1669 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1670 $as_echo "$as_me: program exited with status $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1671 $as_echo "$as_me: failed program was:" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1672 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
1673
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1674 ac_retval=$ac_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1675 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1676 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
1677 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
1678 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
1679
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1680 } # ac_fn_c_try_run
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 # ac_fn_c_try_link LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1683 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1684 # Try to link 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
1685 ac_fn_c_try_link ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1686 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1688 rm -f conftest.$ac_objext conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1689 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1690 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1692 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1693 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1695 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1696 (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
1697 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1698 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
1699 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
1700 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1701 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
1702 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1704 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1705 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
1706 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1707 } && test -s conftest$ac_exeext && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1708 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
1709 test -x conftest$ac_exeext
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1710 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1711 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1712 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1713 $as_echo "$as_me: failed program was:" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1714 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
1715
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1716 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1717 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1718 # 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
1719 # 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
1720 # 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
1721 # 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
1722 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
1723 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
1724 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
1725
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1726 } # ac_fn_c_try_link
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1727
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1728 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1729 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1730 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1731 # the include files in INCLUDES and setting the cache variable VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1732 # accordingly.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1733 ac_fn_c_check_header_mongrel ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1734 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1736 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1738 $as_echo_n "checking for $2... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1739 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1740 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1741 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1742 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1744 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1745 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1746 # Is the header compilable?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1748 $as_echo_n "checking $2 usability... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1749 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
1750 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1751 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1752 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1753 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1754 if ac_fn_c_try_compile "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1755 ac_header_compiler=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1756 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1757 ac_header_compiler=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1758 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1761 $as_echo "$ac_header_compiler" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1762
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1763 # Is the header present?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1765 $as_echo_n "checking $2 presence... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1766 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
1767 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1768 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1769 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1770 if ac_fn_c_try_cpp "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1771 ac_header_preproc=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1772 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1773 ac_header_preproc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1774 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1775 rm -f conftest.err conftest.i conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1777 $as_echo "$ac_header_preproc" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1778
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1779 # So? What about this header?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1781 yes:no: )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1783 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1785 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1786 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1787 no:yes:* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1789 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1791 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1793 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1795 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1797 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1798 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1799 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1801 $as_echo_n "checking for $2... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1802 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1803 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1804 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1805 eval "$3=\$ac_header_compiler"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1806 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1807 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1809 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1810 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1811 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
1812
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1813 } # ac_fn_c_check_header_mongrel
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1814
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1815 # 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
1816 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1817 # 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
1818 # 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
1819 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
1820 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1823 $as_echo_n "checking for $2... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1824 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1825 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1826 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1827 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
1828 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1829 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1830 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1831 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1832 if ac_fn_c_try_compile "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1833 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1834 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1835 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1836 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1838 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1839 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1841 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1842 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
1843
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1844 } # 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
1845
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1846 # 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
1847 # ----------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1848 # 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
1849 ac_fn_c_check_func ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1850 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1853 $as_echo_n "checking for $2... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1854 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1855 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1856 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1857 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
1858 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1859 /* 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
1860 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
1861 #define $2 innocuous_$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1862
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1863 /* System header to define __stub macros and hopefully few prototypes,
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1864 which can conflict with char $2 (); below.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1866 <limits.h> exists even on freestanding compilers. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1867
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1868 #ifdef __STDC__
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1869 # include <limits.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1870 #else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1871 # include <assert.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1872 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1873
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1874 #undef $2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1875
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1876 /* 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
1877 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
1878 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
1879 #ifdef __cplusplus
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1880 extern "C"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1881 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1882 char $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1883 /* 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
1884 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
1885 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
1886 #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
1887 choke me
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1888 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1889
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1890 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1891 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1892 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1893 return $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1894 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1895 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1896 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1897 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1898 if ac_fn_c_try_link "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1899 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1900 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1901 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1902 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1903 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1904 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
1905 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1906 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1908 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1909 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
1910
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1911 } # ac_fn_c_check_func
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1912 cat >config.log <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1913 This file contains any messages produced by compilers while
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1914 running configure, to aid debugging if configure makes a mistake.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1915
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1916 It was created by $as_me, which was
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1917 generated by GNU Autoconf 2.69. Invocation command line was
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1918
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1919 $ $0 $@
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1920
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 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1922 exec 5>>config.log
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1923 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1924 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
1925 ## --------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1926 ## 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
1927 ## --------- ##
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1928
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1929 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1930 uname -m = `(uname -m) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1931 uname -r = `(uname -r) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1932 uname -s = `(uname -s) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1933 uname -v = `(uname -v) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1934
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1935 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1936 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1937
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1938 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1939 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1940 /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
1941 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1942 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1943 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1944 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1945
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1946 _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
1947
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1948 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
1949 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
1950 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
1951 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1952 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1953 $as_echo "PATH: $as_dir"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1954 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1955 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
1956
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1957 } >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1958
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
1959 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
1960
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1961
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1962 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1963 ## 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
1964 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1965
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1966 _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
1967
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1968
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1969 # Keep a trace of the command line.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1970 # 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
1971 # Strip out --silent because we don't want to record it for future runs.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1972 # 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
1973 # Make two passes to allow for proper duplicate-argument suppression.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1974 ac_configure_args=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1975 ac_configure_args0=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1976 ac_configure_args1=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1977 ac_must_keep_next=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1978 for ac_pass in 1 2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1979 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1980 for ac_arg
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1981 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1982 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1983 -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
1984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1985 | -silent | --silent | --silen | --sile | --sil)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1986 continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1987 *\'*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1988 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1989 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1990 case $ac_pass in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1991 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
1992 2)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1993 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
1994 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
1995 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
1996 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1997 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1998 *=* | --config-cache | -C | -disable-* | --disable-* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1999 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2000 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2001 | -with-* | --with-* | -without-* | --without-* | --x)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2002 case "$ac_configure_args0 " in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2003 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2004 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2005 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2006 -* ) ac_must_keep_next=true ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2007 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2008 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2009 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
2010 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2011 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2012 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2013 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2014 { 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
2015 { ac_configure_args1=; unset ac_configure_args1;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2016
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2017 # When interrupted or exit'd, cleanup temporary files, and complete
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2018 # config.log. We remove comments because anyway the quotes in there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2019 # would cause problems or look ugly.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2020 # 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
2021 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2022 trap 'exit_status=$?
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2023 # 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
2024 {
7d2108cbcd3e Porting DW 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 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2026
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2027 $as_echo "## ---------------- ##
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
2028 ## Cache variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2029 ## ---------------- ##"
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
2030 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
2031 # 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
2032 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2033 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
2034 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2035 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2036 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2037 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2038 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2039 $as_echo "$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
2040 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2041 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2042 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2043 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
2044 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2045 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2046 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2047 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2048 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2049 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
2050 *${as_nl}ac_space=\ *)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2051 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2052 "s/'\''/'\''\\\\'\'''\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2053 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
2054 ;; #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2055 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2056 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2057 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2058 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2059 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2060 )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2061 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2062
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2063 $as_echo "## ----------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2064 ## Output variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2065 ## ----------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2066 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2067 for ac_var in $ac_subst_vars
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2068 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2069 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2070 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2072 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2073 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2074 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
2075 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2076
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2077 if test -n "$ac_subst_files"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2078 $as_echo "## ------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2079 ## File substitutions. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2080 ## ------------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2081 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2082 for ac_var in $ac_subst_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2083 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2084 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2085 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2086 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2087 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2088 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2089 done | sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2090 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2091 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2092
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
2093 if test -s confdefs.h; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2094 $as_echo "## ----------- ##
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
2095 ## confdefs.h. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2096 ## ----------- ##"
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
2097 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2098 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
2099 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
2100 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
2101 test "$ac_signal" != 0 &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2102 $as_echo "$as_me: caught signal $ac_signal"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2103 $as_echo "$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
2104 } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2105 rm -f core *.core core.conftest.* &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2106 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2107 exit $exit_status
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2108 ' 0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2109 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
2110 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2111 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2112 ac_signal=0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2113
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2114 # 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
2115 rm -f -r conftest* confdefs.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2116
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2117 $as_echo "/* confdefs.h */" > confdefs.h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2118
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
2119 # 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
2120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2121 cat >>confdefs.h <<_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
2122 #define PACKAGE_NAME "$PACKAGE_NAME"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2123 _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
2124
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2125 cat >>confdefs.h <<_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
2126 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2127 _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
2128
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2129 cat >>confdefs.h <<_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
2130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2131 _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
2132
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2133 cat >>confdefs.h <<_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
2134 #define PACKAGE_STRING "$PACKAGE_STRING"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2135 _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
2136
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2137 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2139 _ACEOF
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
2140
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
2141 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2142 #define PACKAGE_URL "$PACKAGE_URL"
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
2143 _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
2144
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2145
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2146 # 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
2147 # Prefer an explicitly selected file to automatically selected ones.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2148 ac_site_file1=NONE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2149 ac_site_file2=NONE
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2150 if test -n "$CONFIG_SITE"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2151 # We do not want a PATH search for config.site.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2152 case $CONFIG_SITE in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2153 -*) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2154 */*) ac_site_file1=$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2155 *) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2156 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2157 elif test "x$prefix" != xNONE; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2158 ac_site_file1=$prefix/share/config.site
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2159 ac_site_file2=$prefix/etc/config.site
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2160 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2161 ac_site_file1=$ac_default_prefix/share/config.site
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2162 ac_site_file2=$ac_default_prefix/etc/config.site
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2163 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2164 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2165 do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2166 test "x$ac_site_file" = xNONE && continue
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2167 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2169 $as_echo "$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
2170 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
2171 . "$ac_site_file" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2172 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2174 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
2175 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2176 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2177 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2178
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2179 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
2180 # 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
2181 # 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
2182 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2184 $as_echo "$as_me: loading cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2185 case $cache_file in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2186 [\\/]* | ?:[\\/]* ) . "$cache_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2187 *) . "./$cache_file";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2188 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2189 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2190 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2192 $as_echo "$as_me: creating cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2193 >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2194 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2195
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2196 # Check that the precious variables saved in the cache have kept the same
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2197 # value.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2198 ac_cache_corrupted=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2199 for ac_var in $ac_precious_vars; do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2200 eval ac_old_set=\$ac_cv_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2201 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
2202 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
2203 eval ac_new_val=\$ac_env_${ac_var}_value
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2204 case $ac_old_set,$ac_new_set in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2205 set,)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2207 $as_echo "$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
2208 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2209 ,set)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2211 $as_echo "$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
2212 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2213 ,);;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2214 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2215 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
2216 # 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
2217 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
2218 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
2219 if test "$ac_old_val_w" != "$ac_new_val_w"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2221 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2222 ac_cache_corrupted=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2223 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2225 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2226 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
2227 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2229 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2231 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2232 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2233 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
2234 # 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
2235 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
2236 case $ac_new_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2237 *\'*) ac_arg=$ac_var=`$as_echo "$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
2238 *) 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
2239 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
2240 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
2241 *" '$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
2242 *) 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
2243 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2244 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2245 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2246 if $ac_cache_corrupted; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2250 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2251 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2252 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2253 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2254 ## Main body of script. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2255 ## -------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2256
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2257 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2258 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2262
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
2263
2160
07f1366a724c Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2130
diff changeset
2264 ac_config_headers="$ac_config_headers dwconfig.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2265
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
2266
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
2267 TARGET="dwindows"
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2268 TARGET2="dwcompat"
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2269
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2270
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2271
1109
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2272
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2273
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
2274 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
2275 DW_SRC=dw.c
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
2276 DW_DEFINE=__UNIX__
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2277 SHAREDFLAG=-shared
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
2278 SOSUFFIX=so
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2279 LIBSUFFIX=a
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2280 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
2281 INSTALL_TEST="installdwtest"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2282 INCLUDES="-I."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2283
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2284 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2285 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2289 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2293 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2294 if ${ac_cv_prog_CC+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2295 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2296 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2297 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2299 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
2300 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
2301 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
2302 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
2303 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2304 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2305 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
2306 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
2307 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2308 $as_echo "$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
2309 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
2310 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
2311 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2312 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2313 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2314
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2315 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2316 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2317 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2318 if test -n "$CC"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2320 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2321 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2323 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2324 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2325
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2326
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2327 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2328 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2329 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2330 # Extract the first word of "gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2331 set dummy gcc; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2333 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2334 if ${ac_cv_prog_ac_ct_CC+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2335 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2336 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2337 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2338 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2339 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
2340 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
2341 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
2342 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
2343 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2344 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2345 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
2346 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
2347 ac_cv_prog_ac_ct_CC="gcc"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2348 $as_echo "$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
2349 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
2350 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
2351 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2352 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2353 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2354
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2355 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2356 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2358 if test -n "$ac_ct_CC"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2360 $as_echo "$ac_ct_CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2361 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2363 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2364 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2365
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2366 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
2367 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2368 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2369 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2370 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2372 $as_echo "$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
2373 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2374 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2375 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2376 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2377 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2378 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2379 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2380
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2381 if test -z "$CC"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2382 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2383 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2384 set dummy ${ac_tool_prefix}cc; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2386 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2387 if ${ac_cv_prog_CC+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2388 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2389 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2390 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2391 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2392 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
2393 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
2394 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
2395 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
2396 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2397 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2398 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
2399 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
2400 ac_cv_prog_CC="${ac_tool_prefix}cc"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2401 $as_echo "$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
2402 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
2403 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
2404 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2405 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2406 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2407
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2408 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2409 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2410 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2411 if test -n "$CC"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2413 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2414 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2416 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2417 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2418
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2419
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
2420 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2421 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2422 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2423 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2424 set dummy cc; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2426 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2427 if ${ac_cv_prog_CC+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2428 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2429 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2430 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2431 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2432 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2433 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
2434 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
2435 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
2436 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
2437 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2438 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2439 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
2440 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
2441 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; 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
2442 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
2443 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
2444 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
2445 ac_cv_prog_CC="cc"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2446 $as_echo "$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
2447 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
2448 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
2449 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2450 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2451 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2452
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2453 if test $ac_prog_rejected = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2454 # We found a bogon in the path, so make sure we never use it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2455 set dummy $ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2456 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2457 if test $# != 0; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2458 # We chose a different compiler from the bogus one.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2459 # However, it has the same basename, so the bogon will be chosen
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2460 # first if we set CC to just the basename; use the full file name.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2461 shift
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2462 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2463 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2464 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2465 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2466 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2467 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2468 if test -n "$CC"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2470 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2471 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2473 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2474 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2475
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2476
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2477 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2478 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2479 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
2480 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2481 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2483 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2485 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2486 if ${ac_cv_prog_CC+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2487 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2488 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2489 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2491 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
2492 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
2493 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
2494 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
2495 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2496 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2497 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
2498 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
2499 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2500 $as_echo "$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
2501 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
2502 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
2503 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2504 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2505 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2506
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2507 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2508 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2509 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2510 if test -n "$CC"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2512 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2513 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2515 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2516 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2517
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2518
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2519 test -n "$CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2520 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2521 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2522 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2523 ac_ct_CC=$CC
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2524 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2525 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2526 # Extract the first word of "$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2527 set dummy $ac_prog; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2529 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2530 if ${ac_cv_prog_ac_ct_CC+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2531 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2532 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2533 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2535 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
2536 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
2537 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
2538 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
2539 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2540 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2541 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
2542 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
2543 ac_cv_prog_ac_ct_CC="$ac_prog"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2544 $as_echo "$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
2545 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
2546 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
2547 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2548 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2549 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2550
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2551 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2552 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2553 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2554 if test -n "$ac_ct_CC"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2556 $as_echo "$ac_ct_CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2557 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2559 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2560 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2561
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2562
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2563 test -n "$ac_ct_CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2564 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2565
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2566 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
2567 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2568 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2569 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2570 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2572 $as_echo "$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
2573 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2574 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2575 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2576 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2577 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2578
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2579 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2580
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2581
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2582 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2584 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
2585 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2586
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2587 # Provide some information about the compiler.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2588 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2589 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2590 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2591 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
2592 { { 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
2593 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2595 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2596 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2598 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2599 (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
2600 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2601 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
2602 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2603 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2604 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2605 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2606 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2607 rm -f conftest.er1 conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2609 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2610 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2611
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2612 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
2613 /* 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
2614
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2615 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2616 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2617 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2618
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2619 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2620 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2621 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2622 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2623 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
2624 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2625 # 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
2626 # It will help us diagnose broken compilers, and finding out an intuition
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2627 # of exeext.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2629 $as_echo_n "checking whether the C compiler works... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2630 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2631
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2632 # The possible output files:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2633 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
2634
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2635 ac_rmfiles=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2636 for ac_file in $ac_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2637 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2638 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2639 *.$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
2640 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2641 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2642 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2643 rm -f $ac_rmfiles
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2644
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2645 if { { ac_try="$ac_link_default"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2646 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2648 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2649 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2651 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2652 (eval "$ac_link_default") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2653 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2655 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2656 # 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
2657 # 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
2658 # 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
2659 # 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
2660 # Autoconf.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2661 for ac_file in $ac_files ''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2662 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2663 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2664 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2665 *.$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
2666 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2667 [ab].out )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2668 # 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
2669 # certainly right.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2670 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2671 *.* )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2672 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2673 then :; else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2674 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2675 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2676 # 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
2677 # 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
2678 # 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
2679 # 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
2680 # actually working.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2681 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2682 * )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2683 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2684 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2685 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2686 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
2687
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2688 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2689 ac_file=''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2690 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2691 if test -z "$ac_file"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2693 $as_echo "no" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2694 $as_echo "$as_me: failed program was:" >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2695 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2696
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2699 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
2700 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
2701 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2703 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2704 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2706 $as_echo_n "checking for C compiler default output file name... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2708 $as_echo "$ac_file" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2709 ac_exeext=$ac_cv_exeext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2710
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2711 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2712 ac_clean_files=$ac_clean_files_save
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2714 $as_echo_n "checking for suffix of executables... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2715 if { { ac_try="$ac_link"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2716 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2718 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2719 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2721 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2722 (eval "$ac_link") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2723 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2725 test $ac_status = 0; }; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2726 # If both `conftest.exe' and `conftest' are `present' (well, observable)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2727 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2728 # work properly (i.e., refer to `conftest.exe'), while it won't with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2729 # `rm'.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2730 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
2731 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2732 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2734 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2735 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2736 * ) break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2737 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2738 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2739 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2742 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
2743 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
2744 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2745 rm -f conftest conftest$ac_cv_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2747 $as_echo "$ac_cv_exeext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2748
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2749 rm -f conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2750 EXEEXT=$ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2751 ac_exeext=$EXEEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2752 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
2753 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2754 #include <stdio.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2755 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2756 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2757 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2758 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
2759 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
2760
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2761 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2762 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2763 }
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
2764 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2765 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
2766 # 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
2767 # the compiler is broken, or we cross compile.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2769 $as_echo_n "checking whether we are cross compiling... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2770 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
2771 { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2772 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2774 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2775 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2777 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2778 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2779 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2781 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2782 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
2783 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2785 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2786 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2788 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2789 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2790 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2792 test $ac_status = 0; }; }; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2793 cross_compiling=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2794 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2795 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
2796 cross_compiling=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2797 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2800 as_fn_error $? "cannot run C compiled programs.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2801 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
2802 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
2803 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2804 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2805 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2807 $as_echo "$cross_compiling" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2808
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2809 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
2810 ac_clean_files=$ac_clean_files_save
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2812 $as_echo_n "checking for suffix of object files... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2813 if ${ac_cv_objext+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2814 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2815 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2816 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
2817 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2818
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2819 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2820 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2821 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2822
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2823 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2824 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2825 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2826 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2827 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
2828 if { { ac_try="$ac_compile"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2829 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2831 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2832 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2834 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2835 (eval "$ac_compile") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2836 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2838 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2839 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
2840 test -f "$ac_file" || continue;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2841 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2843 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2844 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2845 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2846 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2847 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2848 $as_echo "$as_me: failed program was:" >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2849 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2850
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2853 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
2854 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
2855 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2856 rm -f conftest.$ac_cv_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2857 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2859 $as_echo "$ac_cv_objext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2860 OBJEXT=$ac_cv_objext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2861 ac_objext=$OBJEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2863 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2864 if ${ac_cv_c_compiler_gnu+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2865 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2866 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2867 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
2868 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2869
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2870 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2871 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2872 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2873 #ifndef __GNUC__
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2874 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2875 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2876
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2877 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2878 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2879 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2880 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2881 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2882 ac_compiler_gnu=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2883 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2884 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2885 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2888
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2889 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2891 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2892 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
2893 GCC=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2894 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2895 GCC=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2896 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2897 ac_test_CFLAGS=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2898 ac_save_CFLAGS=$CFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2900 $as_echo_n "checking whether $CC accepts -g... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2901 if ${ac_cv_prog_cc_g+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2902 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2903 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2904 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
2905 ac_c_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2906 ac_cv_prog_cc_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2907 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2908 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
2909 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2910
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2911 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2912 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2913 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2914
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2915 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2916 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2917 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2918 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2919 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2920 ac_cv_prog_cc_g=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2921 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2922 CFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2923 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
2924 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2925
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2926 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2927 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2928 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2929
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2930 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2931 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2932 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2933 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2934 if ac_fn_c_try_compile "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2935
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2936 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2937 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
2938 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2939 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
2940 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2941
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2942 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2943 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2944 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2945
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2946 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2947 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2948 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2949 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2950 if ac_fn_c_try_compile "$LINENO"; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2951 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
2952 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2954 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2956 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2958 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
2959 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2961 $as_echo "$ac_cv_prog_cc_g" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2962 if test "$ac_test_CFLAGS" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2963 CFLAGS=$ac_save_CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2964 elif test $ac_cv_prog_cc_g = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2965 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2966 CFLAGS="-g -O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2967 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2968 CFLAGS="-g"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2969 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2970 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2971 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2972 CFLAGS="-O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2973 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2974 CFLAGS=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2975 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2976 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2978 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2979 if ${ac_cv_prog_cc_c89+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2980 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2981 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2982 ac_cv_prog_cc_c89=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2983 ac_save_CC=$CC
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2984 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
2985 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2986 #include <stdarg.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2987 #include <stdio.h>
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
2988 struct stat;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2989 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2990 struct buf { int x; };
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2991 FILE * (*rcsopen) (struct buf *, struct stat *, int);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2992 static char *e (p, i)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2993 char **p;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2994 int i;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2995 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2996 return p[i];
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2997 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2998 static char *f (char * (*g) (char **, int), char **p, ...)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2999 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3000 char *s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3001 va_list v;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3002 va_start (v,p);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3003 s = g (p, va_arg (v,int));
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3004 va_end (v);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3005 return s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3006 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3007
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3008 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3009 function prototypes and stuff, but not '\xHH' hex character constants.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3010 These don't provoke an error unfortunately, instead are silently treated
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3011 as 'x'. The following induces an error, until -std is added to get
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3012 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3013 array size at least. It's necessary to write '\x00'==0 to get something
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3014 that's true only with -std. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3015 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3016
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3017 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3018 inside strings and character constants. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3019 #define FOO(x) 'x'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3020 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3021
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3022 int test (int i, double x);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3023 struct s1 {int (*f) (int a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3024 struct s2 {int (*f) (double a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3025 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3026 int argc;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3027 char **argv;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3028 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3029 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3030 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3031 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3032 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3033 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3034 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3035 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3036 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3037 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3038 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3039 CC="$ac_save_CC $ac_arg"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3040 if ac_fn_c_try_compile "$LINENO"; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3041 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
3042 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3043 rm -f core conftest.err conftest.$ac_objext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3044 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
3045 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3046 rm -f conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3047 CC=$ac_save_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3048
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3049 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3050 # AC_CACHE_VAL
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3051 case "x$ac_cv_prog_cc_c89" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3052 x)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3054 $as_echo "none needed" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3055 xno)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3057 $as_echo "unsupported" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3058 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3059 CC="$CC $ac_cv_prog_cc_c89"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3061 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3062 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3063 if test "x$ac_cv_prog_cc_c89" != xno; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3064
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3065 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3066
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3067 ac_ext=c
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3068 ac_cpp='$CPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3069 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
3070 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
3071 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
3072
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3073 ac_ext=cpp
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3074 ac_cpp='$CXXCPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3075 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
3076 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
3077 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
3078 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3079 if test -n "$CCC"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3080 CXX=$CCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3081 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3082 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3083 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3084 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3085 # 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
3086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3088 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3089 if ${ac_cv_prog_CXX+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3090 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3091 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3092 if test -n "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3093 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
3094 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3096 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3097 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3098 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3099 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3100 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3101 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
3102 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3103 $as_echo "$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
3104 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3105 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3106 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3107 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3108 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3109
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3110 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3111 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3112 CXX=$ac_cv_prog_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3113 if test -n "$CXX"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3115 $as_echo "$CXX" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3116 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3118 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3119 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3120
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3121
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3122 test -n "$CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3123 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3124 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3125 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3126 ac_ct_CXX=$CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3127 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3128 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3129 # 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
3130 set dummy $ac_prog; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3132 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3133 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3134 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3135 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3136 if test -n "$ac_ct_CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3137 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
3138 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3140 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3141 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3142 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3143 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3144 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3145 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
3146 ac_cv_prog_ac_ct_CXX="$ac_prog"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3147 $as_echo "$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
3148 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3149 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3150 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3151 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3152 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3153
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3154 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3155 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3156 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
3157 if test -n "$ac_ct_CXX"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3159 $as_echo "$ac_ct_CXX" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3160 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3162 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3163 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3164
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3165
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3166 test -n "$ac_ct_CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3167 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3168
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3169 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
3170 CXX="g++"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3171 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3172 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3173 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3175 $as_echo "$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
3176 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3177 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3178 CXX=$ac_ct_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3179 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3180 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3181
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3182 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3183 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3184 # Provide some information about the compiler.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3185 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3186 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3187 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3188 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
3189 { { 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
3190 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3192 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3193 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3195 $as_echo "$ac_try_echo"; } >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3196 (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
3197 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3198 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
3199 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3200 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3201 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3202 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3203 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3204 rm -f conftest.er1 conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3206 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3207 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3208
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3210 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3211 if ${ac_cv_cxx_compiler_gnu+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3212 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3213 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3214 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
3215 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3216
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3217 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3218 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3219 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3220 #ifndef __GNUC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3221 choke me
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3222 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3223
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3224 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3225 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3226 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3227 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3228 if ac_fn_cxx_try_compile "$LINENO"; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3229 ac_compiler_gnu=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3230 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3231 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3232 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3234 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
3235
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3236 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3238 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3239 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
3240 GXX=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3241 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3242 GXX=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3243 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3244 ac_test_CXXFLAGS=${CXXFLAGS+set}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3245 ac_save_CXXFLAGS=$CXXFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3247 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3248 if ${ac_cv_prog_cxx_g+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3249 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3250 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3251 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
3252 ac_cxx_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3253 ac_cv_prog_cxx_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3254 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3255 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
3256 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3257
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3258 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3259 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3260 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3261
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3262 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3263 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3264 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3265 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3266 if ac_fn_cxx_try_compile "$LINENO"; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3267 ac_cv_prog_cxx_g=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3268 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3269 CXXFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3270 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
3271 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3272
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3273 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3274 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3275 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3276
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3277 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3278 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3279 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3280 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3281 if ac_fn_cxx_try_compile "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3282
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3283 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3284 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
3285 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3286 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
3287 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3288
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3289 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3290 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3291 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3292
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3293 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3294 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3295 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3296 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3297 if ac_fn_cxx_try_compile "$LINENO"; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3298 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
3299 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3301 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3303 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3305 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
3306 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3308 $as_echo "$ac_cv_prog_cxx_g" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3309 if test "$ac_test_CXXFLAGS" = set; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3310 CXXFLAGS=$ac_save_CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3311 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
3312 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3313 CXXFLAGS="-g -O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3314 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3315 CXXFLAGS="-g"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3316 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3317 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3318 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3319 CXXFLAGS="-O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3320 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3321 CXXFLAGS=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3322 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3323 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3324 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3325 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3329
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
3330
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3331 # Extract the first word of "gmake", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3332 set dummy gmake; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3334 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3335 if ${ac_cv_prog_MAKE+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3336 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3337 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3338 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3339 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3340 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
3341 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
3342 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
3343 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
3344 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3345 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3346 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3347 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
3348 ac_cv_prog_MAKE="gmake"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3349 $as_echo "$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
3350 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
3351 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
3352 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3353 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3354 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3355
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3356 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3357 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3358 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3359 if test -n "$MAKE"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3361 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3362 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3364 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3365 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3366
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3367
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3368 if test x"$MAKE" = x; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3369 # Extract the first word of "make", so it can be a program name with args.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3370 set dummy make; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3372 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3373 if ${ac_cv_prog_MAKE+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3374 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3375 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3376 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3377 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3378 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
3379 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
3380 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
3381 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
3382 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3383 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3384 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3385 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
3386 ac_cv_prog_MAKE="make"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3387 $as_echo "$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
3388 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
3389 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
3390 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3391 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3392 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3393
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3394 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3395 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3396 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3397 if test -n "$MAKE"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3399 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3400 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3402 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3403 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3404
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3405
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3406 fi
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3407 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
3408 # 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
3409 set dummy svnversion; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3411 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3412 if ${ac_cv_prog_SVNVERSION+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3413 $as_echo_n "(cached) " >&6
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3414 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3415 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
3416 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
3417 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3418 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
3419 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
3420 do
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3421 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
3422 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3423 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3424 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
3425 ac_cv_prog_SVNVERSION="svnversion"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3426 $as_echo "$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
3427 break 2
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3428 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3429 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3430 done
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3431 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
3432
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3433 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3434 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3435 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
3436 if test -n "$SVNVERSION"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3438 $as_echo "$SVNVERSION" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3439 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3441 $as_echo "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
3442 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3443
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3444
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3445 fi
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3446 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
3447 SVNVERSION=0
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3448 else
1162
52e3aa735bdb Attempt to fix parsing errors with the double : separated
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1161
diff changeset
3449 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
3450 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3451
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3452 ac_aux_dir=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3453 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1109
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3454 if test -f "$ac_dir/install-sh"; then
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3455 ac_aux_dir=$ac_dir
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3456 ac_install_sh="$ac_aux_dir/install-sh -c"
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3457 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3458 elif test -f "$ac_dir/install.sh"; then
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3459 ac_aux_dir=$ac_dir
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3460 ac_install_sh="$ac_aux_dir/install.sh -c"
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3461 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3462 elif test -f "$ac_dir/shtool"; then
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3463 ac_aux_dir=$ac_dir
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3464 ac_install_sh="$ac_aux_dir/shtool install -c"
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3465 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3466 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3467 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3468 if test -z "$ac_aux_dir"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3469 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3470 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3471
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3472 # These three variables are undocumented and unsupported,
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3473 # and are intended to be withdrawn in a future Autoconf release.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3474 # They can cause serious problems if a builder's source tree is in a directory
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3475 # whose full name contains unusual characters.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3476 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3477 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3478 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3479
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3480
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3481 # Find a good install program. We prefer a C program (faster),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3482 # so one script is as good as another. But avoid the broken or
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3483 # incompatible versions:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3484 # SysV /etc/install, /usr/sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3485 # SunOS /usr/etc/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3486 # IRIX /sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3487 # AIX /bin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3488 # AmigaOS /C/install, which installs bootblocks on floppy discs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3491 # 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
3492 # OS/2's system install, which has a completely different semantic
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3493 # ./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
3494 # Reject install programs that cannot install multiple files.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3496 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3497 if test -z "$INSTALL"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3498 if ${ac_cv_path_install+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3499 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3500 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
3501 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
3502 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
3503 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
3504 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3505 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3506 # Account for people who put trailing slashes in PATH elements.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3507 case $as_dir/ in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3508 ./ | .// | /[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
3509 /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
3510 ?:[\\/]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
3511 /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
3512 *)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3513 # 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
3514 # 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
3515 # 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
3516 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
3517 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3518 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
3519 if test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3520 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3521 # 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
3522 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3523 elif test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3524 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3525 # 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
3526 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3527 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3528 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
3529 echo one > conftest.one
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3530 echo two > conftest.two
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3531 mkdir conftest.dir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3532 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3533 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
3534 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
3535 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
3536 then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3537 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3538 break 3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3539 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3540 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3541 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3542 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
3543 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
3544 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3545 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3546
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3547 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3548 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
3549
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3550 rm -rf conftest.one conftest.two conftest.dir
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3551
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3552 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3553 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3554 INSTALL=$ac_cv_path_install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3555 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3556 # 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
3557 # value for INSTALL within a source directory, because that will
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3558 # 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
3559 # removed, or if the value is a relative name.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3560 INSTALL=$ac_install_sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3561 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3562 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3564 $as_echo "$INSTALL" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3565
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3567 # It thinks the first close brace ends the variable substitution.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3569
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3571
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3572 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3573
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
3574
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3575
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3576
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3577 # Make sure we can run config.sub.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3578 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3579 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3580
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3582 $as_echo_n "checking build system type... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3583 if ${ac_cv_build+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3584 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3585 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3586 ac_build_alias=$build_alias
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3587 test "x$ac_build_alias" = x &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3588 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3589 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
3590 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3591 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3592 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3593
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3594 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3596 $as_echo "$ac_cv_build" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3597 case $ac_cv_build in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3598 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3599 *) 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
3600 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3601 build=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3602 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3603 set x $ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3604 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3605 build_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3606 build_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3607 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3608 # 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
3609 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3610 build_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3611 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3612 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
3613
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3614
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3616 $as_echo_n "checking host system type... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3617 if ${ac_cv_host+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3618 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3619 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3620 if test "x$host_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3621 ac_cv_host=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3622 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3623 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3624 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3625 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3626
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3627 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3629 $as_echo "$ac_cv_host" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3630 case $ac_cv_host in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3631 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3632 *) 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
3633 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3634 host=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3635 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3636 set x $ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3637 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3638 host_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3639 host_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3640 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3641 # 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
3642 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3643 host_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3644 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3645 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
3646
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3647
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3649 $as_echo_n "checking target system type... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3650 if ${ac_cv_target+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3651 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3652 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3653 if test "x$target_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3654 ac_cv_target=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3655 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3656 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3657 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3658 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3659
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3660 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3662 $as_echo "$ac_cv_target" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3663 case $ac_cv_target in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3664 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3665 *) 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
3666 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3667 target=$ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3668 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3669 set x $ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3670 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3671 target_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3672 target_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3673 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3674 # 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
3675 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3676 target_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3677 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3678 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
3679
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3680
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3681 # 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
3682 # will get canonicalized.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3683 test -n "$target_alias" &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3684 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
3685 NONENONEs,x,x, &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3686 program_prefix=${target_alias}-
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3687
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3688
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3689
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
3690 # Check whether --with-dwcompat was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3691 if test "${with_dwcompat+set}" = set; 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
3692 withval=$with_dwcompat; with_dwcompat=$withval
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
3693 else
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
3694 with_dwcompat=no
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3695 fi
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3696
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
3697
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
3698
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3699 # Check whether --with-gtk2 was given.
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3700 if test "${with_gtk2+set}" = set; then :
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3701 withval=$with_gtk2; with_gtk2=$withval
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3702 else
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3703 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
3704 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
3705
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
3706
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3707
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
3708 # Check whether --with-gtk4 was given.
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3709 if test "${with_gtk4+set}" = set; then :
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3710 withval=$with_gtk4; with_gtk4=$withval
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3711 else
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3712 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
3713 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
3714
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3715
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3716
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3717 # Check whether --with-deprecated was given.
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3718 if test "${with_deprecated+set}" = set; then :
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3719 withval=$with_deprecated; with_deprecated=$withval
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3720 else
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3721 with_deprecated=no
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3722 fi
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3723
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3724
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3725
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3726 # Check whether --with-arch was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3727 if test "${with_arch+set}" = set; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3728 withval=$with_arch; with_arch=$withval
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3729 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3730 with_arch=no
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3731 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3732
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3733
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3734
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
3735 # Check whether --with-sdk was given.
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
3736 if test "${with_sdk+set}" = set; then :
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
3737 withval=$with_sdk; with_sdk=$withval
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
3738 else
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
3739 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
3740 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
3741
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
3742
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
3743
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3744 # Check whether --with-minver was given.
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3745 if test "${with_minver+set}" = set; then :
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3746 withval=$with_minver; with_minver=$withval
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3747 else
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3748 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
3749 fi
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3750
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3751
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3752
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3753 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3754 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3759 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3760 # On Suns, sometimes $CPP names a directory.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3761 if test -n "$CPP" && test -d "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3762 CPP=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3763 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3764 if test -z "$CPP"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3765 if ${ac_cv_prog_CPP+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3766 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3767 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3768 # Double quotes because CPP needs to be expanded
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3770 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3771 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3772 for ac_c_preproc_warn_flag in '' yes
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3773 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3774 # Use a header file that comes with gcc, so configuring glibc
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3775 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3777 # <limits.h> exists even on freestanding compilers.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3778 # On the NeXT, cc -E runs the code through the compiler's parser,
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3779 # not just through cpp. "Syntax error" is here to catch this case.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3780 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
3781 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3782 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3783 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3784 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3785 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3786 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3787 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3788 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3789 if ac_fn_c_try_cpp "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3790
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3791 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3792 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3793 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3794 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3795 rm -f conftest.err conftest.i conftest.$ac_ext
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3796
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3797 # OK, works on sane cases. Now check whether nonexistent headers
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3798 # can be detected and how.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3799 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
3800 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3801 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3802 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3803 if ac_fn_c_try_cpp "$LINENO"; then :
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3804 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3805 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3806 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3807 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3808 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3809 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3810 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3811 rm -f conftest.err conftest.i conftest.$ac_ext
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3812
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3813 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3815 rm -f conftest.i conftest.err conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3816 if $ac_preproc_ok; then :
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3817 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3818 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3819
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3820 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3821 ac_cv_prog_CPP=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3822
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3823 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3824 CPP=$ac_cv_prog_CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3825 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3826 ac_cv_prog_CPP=$CPP
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3827 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3829 $as_echo "$CPP" >&6; }
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3830 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3831 for ac_c_preproc_warn_flag in '' yes
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3832 do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3833 # Use a header file that comes with gcc, so configuring glibc
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3834 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3836 # <limits.h> exists even on freestanding compilers.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3837 # On the NeXT, cc -E runs the code through the compiler's parser,
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3838 # not just through cpp. "Syntax error" is here to catch this case.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3839 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
3840 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3841 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3842 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3843 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3844 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3845 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3846 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3847 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3848 if ac_fn_c_try_cpp "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3849
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3850 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3851 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3852 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3853 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3854 rm -f conftest.err conftest.i conftest.$ac_ext
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3855
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3856 # OK, works on sane cases. Now check whether nonexistent headers
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3857 # can be detected and how.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3858 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
3859 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3860 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3861 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3862 if ac_fn_c_try_cpp "$LINENO"; then :
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3863 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3864 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3865 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3866 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3867 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3868 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3869 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3870 rm -f conftest.err conftest.i conftest.$ac_ext
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3871
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3872 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3874 rm -f conftest.i conftest.err conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3875 if $ac_preproc_ok; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3876
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3877 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3880 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3881 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3882 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3883
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3884 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3885 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3889
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
3890
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3892 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3893 if ${ac_cv_path_GREP+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3894 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3895 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3896 if test -z "$GREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3897 ac_path_GREP_found=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3898 # Loop through the user's path and test for each of PROGNAME-LIST
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3900 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3901 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3902 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3903 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3904 for ac_prog in grep ggrep; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3905 for ac_exec_ext in '' $ac_executable_extensions; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3906 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3907 as_fn_executable_p "$ac_path_GREP" || continue
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3908 # Check for GNU ac_path_GREP and select it if it is found.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3909 # Check for GNU $ac_path_GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3910 case `"$ac_path_GREP" --version 2>&1` in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3911 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3912 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
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 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3915 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3916 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3917 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3918 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3919 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3920 cp "conftest.in" "conftest.nl"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3921 $as_echo 'GREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3922 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3923 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3924 as_fn_arith $ac_count + 1 && ac_count=$as_val
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3925 if test $ac_count -gt ${ac_path_GREP_max-0}; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3926 # Best one so far, save it but keep looking for a better one
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3927 ac_cv_path_GREP="$ac_path_GREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3928 ac_path_GREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3929 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3930 # 10*(2^10) chars as input seems more than enough
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3931 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3932 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3933 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3934 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3935
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3936 $ac_path_GREP_found && break 3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3937 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3938 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3939 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3940 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3941 if test -z "$ac_cv_path_GREP"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3942 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3943 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3944 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3945 ac_cv_path_GREP=$GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3946 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3947
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3948 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3950 $as_echo "$ac_cv_path_GREP" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3951 GREP="$ac_cv_path_GREP"
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
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3955 $as_echo_n "checking for egrep... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3956 if ${ac_cv_path_EGREP+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3957 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3958 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3959 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3960 then ac_cv_path_EGREP="$GREP -E"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3961 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3962 if test -z "$EGREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3963 ac_path_EGREP_found=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3964 # Loop through the user's path and test for each of PROGNAME-LIST
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3966 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3967 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3968 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3969 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3970 for ac_prog in egrep; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3971 for ac_exec_ext in '' $ac_executable_extensions; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3972 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3973 as_fn_executable_p "$ac_path_EGREP" || continue
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3974 # Check for GNU ac_path_EGREP and select it if it is found.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3975 # Check for GNU $ac_path_EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3976 case `"$ac_path_EGREP" --version 2>&1` in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3977 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3978 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3979 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3980 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3981 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3982 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3983 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3984 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3985 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3986 cp "conftest.in" "conftest.nl"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3987 $as_echo 'EGREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3988 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3989 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3990 as_fn_arith $ac_count + 1 && ac_count=$as_val
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3991 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3992 # Best one so far, save it but keep looking for a better one
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3993 ac_cv_path_EGREP="$ac_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3994 ac_path_EGREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3995 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3996 # 10*(2^10) chars as input seems more than enough
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3997 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3998 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3999 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4000 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4001
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4002 $ac_path_EGREP_found && break 3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4003 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4004 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4005 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4006 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4007 if test -z "$ac_cv_path_EGREP"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4008 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4009 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4010 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4011 ac_cv_path_EGREP=$EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4012 fi
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 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4015 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4017 $as_echo "$ac_cv_path_EGREP" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4018 EGREP="$ac_cv_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4019
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4020
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4022 $as_echo_n "checking for ANSI C header files... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4023 if ${ac_cv_header_stdc+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4024 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4025 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4026 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
4027 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4028 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4029 #include <stdarg.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4030 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4031 #include <float.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4032
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4033 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4034 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4035 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4036
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4037 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4038 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4039 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4040 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4041 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4042 ac_cv_header_stdc=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4043 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4044 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4045 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4047
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4048 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4049 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4050 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
4051 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4052 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4053
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4054 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4056 $EGREP "memchr" >/dev/null 2>&1; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4057
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4058 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4059 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4060 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4061 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4062
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4063 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4064
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4065 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4066 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4067 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
4068 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4069 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4070
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4071 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4073 $EGREP "free" >/dev/null 2>&1; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4074
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4075 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4076 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4077 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4078 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4079
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4080 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4081
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4082 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4083 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4084 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4085 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4086 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4087 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
4088 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4089 #include <ctype.h>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4090 #include <stdlib.h>
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4091 #if ((' ' & 0x0FF) == 0x020)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4092 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4093 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4094 #else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4095 # define ISLOWER(c) \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4096 (('a' <= (c) && (c) <= 'i') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4097 || ('j' <= (c) && (c) <= 'r') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4098 || ('s' <= (c) && (c) <= 'z'))
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4099 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4100 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4101
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4102 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4103 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4104 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4105 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4106 int i;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4107 for (i = 0; i < 256; i++)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4108 if (XOR (islower (i), ISLOWER (i))
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4109 || toupper (i) != TOUPPER (i))
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4110 return 2;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4111 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4112 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4113 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4114 if ac_fn_c_try_run "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4115
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4116 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4117 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4118 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4120 conftest.$ac_objext conftest.beam conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4121 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4122
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4123 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4124 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4126 $as_echo "$ac_cv_header_stdc" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4127 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4128
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4129 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4130
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4131 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4132
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4133 ac_header_dirent=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4134 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4135 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4137 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4138 if eval \${$as_ac_Header+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4139 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4140 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4141 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
4142 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4143 #include <sys/types.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4144 #include <$ac_hdr>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4145
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4146 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4147 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4148 {
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4149 if ((DIR *) 0)
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4150 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4151 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4152 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4153 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4154 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4155 if ac_fn_c_try_compile "$LINENO"; then :
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4156 eval "$as_ac_Header=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4157 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4158 eval "$as_ac_Header=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4159 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4161 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4162 eval ac_res=\$$as_ac_Header
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4164 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; 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
4166 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4167 #define `$as_echo "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
4168 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4169
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4170 ac_header_dirent=$ac_hdr; break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4171 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4172
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4173 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4174 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4175 if test $ac_header_dirent = dirent.h; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4177 $as_echo_n "checking for library containing opendir... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4178 if ${ac_cv_search_opendir+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4179 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4180 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
4181 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
4182 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
4183 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4184
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4185 /* 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
4186 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
4187 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4188 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4189 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4190 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4191 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
4192 int
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4193 main ()
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4194 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4195 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
4196 ;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4197 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
4198 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4199 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4200 for ac_lib in '' dir; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4201 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4202 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4203 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4204 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4205 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
4206 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4207 if ac_fn_c_try_link "$LINENO"; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4208 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
4209 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4210 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4211 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4212 if ${ac_cv_search_opendir+:} false; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4213 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4214 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4215 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4216 if ${ac_cv_search_opendir+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4217
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4218 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4219 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4220 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4221 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
4222 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
4223 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4225 $as_echo "$ac_cv_search_opendir" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4226 ac_res=$ac_cv_search_opendir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4227 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4228 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
4229
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4230 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4231
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4232 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4234 $as_echo_n "checking for library containing opendir... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4235 if ${ac_cv_search_opendir+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4236 $as_echo_n "(cached) " >&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
4237 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
4238 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
4239 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
4240 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4241
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4242 /* 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
4243 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
4244 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
4245 #ifdef __cplusplus
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4246 extern "C"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4247 #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
4248 char opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4249 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4250 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4251 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4252 return opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4253 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4254 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4255 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4256 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4257 for ac_lib in '' x; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4258 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4259 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4260 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4261 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4262 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
4263 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4264 if ac_fn_c_try_link "$LINENO"; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4265 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
4266 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4267 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4268 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4269 if ${ac_cv_search_opendir+:} false; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4270 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4271 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4272 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4273 if ${ac_cv_search_opendir+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4274
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4275 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4276 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4277 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4278 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
4279 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
4280 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4282 $as_echo "$ac_cv_search_opendir" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4283 ac_res=$ac_cv_search_opendir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4284 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4285 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
4286
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4287 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
4288
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4289 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
4290
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4291 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4292 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4293 inttypes.h stdint.h unistd.h
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4294 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4296 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4297 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4298 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4299 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4300 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 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
4301 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4302
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4303 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4304
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4305 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4306
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4307
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4308 for ac_header in unistd.h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4309 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4310 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4311 if test "x$ac_cv_header_unistd_h" = xyes; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4312 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4313 #define HAVE_UNISTD_H 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4314 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4315
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4316 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4317
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4318 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4319
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4320 for ac_header in sys/stat.h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4321 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4322 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4323 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4324 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4325 #define HAVE_SYS_STAT_H 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
4326 _ACEOF
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4327
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4328 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4329
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4330 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4331
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4332
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4333 for ac_func in pipe
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4334 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4335 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4336 if test "x$ac_cv_func_pipe" = xyes; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4337 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4338 #define HAVE_PIPE 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
4339 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4340
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4341 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4342
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4343 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4344 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4345
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4346 for ac_func in vsnprintf
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4347 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4348 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4349 if test "x$ac_cv_func_vsnprintf" = xyes; 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
4350 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4351 #define HAVE_VSNPRINTF 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
4352 _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
4353
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4354 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4355
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4356 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
4357 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
4358
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
4359
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4360 for ac_func in connect
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4361 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4362 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4363 if test "x$ac_cv_func_connect" = xyes; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4364 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4365 #define HAVE_CONNECT 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
4366 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4367
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4368 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4369 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4370
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4371 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
4372 if test -z "$libsocket"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4374 $as_echo_n "checking for socket in -lsocket... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4375 if ${ac_cv_lib_socket_socket+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4376 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4377 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4378 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
4379 LIBS="-lsocket $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4380 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
4381 /* 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
4382
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4383 /* 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
4384 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
4385 builtin and then its argument prototype would still apply. */
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4386 #ifdef __cplusplus
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4387 extern "C"
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4388 #endif
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4389 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
4390 int
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4391 main ()
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4392 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4393 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
4394 ;
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4395 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
4396 }
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4397 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4398 if ac_fn_c_try_link "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4399 ac_cv_lib_socket_socket=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4400 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4401 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
4402 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4403 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4404 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
4405 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
4406 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4408 $as_echo "$ac_cv_lib_socket_socket" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4409 if test "x$ac_cv_lib_socket_socket" = xyes; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4410 LIBS="$LIBS -lsocket"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4411 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4412
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4413 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4414
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4415 if test -z "$libinet"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4417 $as_echo_n "checking for socket in -linet... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4418 if ${ac_cv_lib_inet_socket+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4419 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4420 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4421 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
4422 LIBS="-linet $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4423 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
4424 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4425
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4426 /* 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
4427 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
4428 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4429 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4430 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4431 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4432 char socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4433 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4434 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4435 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4436 return socket ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4437 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4438 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4439 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4440 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4441 if ac_fn_c_try_link "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4442 ac_cv_lib_inet_socket=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4443 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4444 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
4445 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4446 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4447 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
4448 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
4449 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4451 $as_echo "$ac_cv_lib_inet_socket" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4452 if test "x$ac_cv_lib_inet_socket" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4453 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4454 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4455
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4456 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4457
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4458 if test -z "$libnsl"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4460 $as_echo_n "checking for gethostname in -lnsl... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4461 if ${ac_cv_lib_nsl_gethostname+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4462 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4463 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4464 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4465 LIBS="-lnsl $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4466 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
4467 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4468
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4469 /* 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
4470 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
4471 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4472 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4473 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4474 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4475 char gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4476 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4477 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4478 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4479 return gethostname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4480 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4481 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4482 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4483 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4484 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4485 ac_cv_lib_nsl_gethostname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4486 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4487 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
4488 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4489 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4490 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4491 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4492 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4494 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4495 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4496 LIBS="$LIBS -lnsl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4497 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4498
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4499 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4500 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4501
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4503 $as_echo_n "checking for getpwnam in -lsun... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4504 if ${ac_cv_lib_sun_getpwnam+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4505 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4506 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4507 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4508 LIBS="-lsun $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4509 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
4510 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4511
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4512 /* 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
4513 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
4514 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4515 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4516 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4517 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4518 char getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4519 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4520 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4521 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4522 return getpwnam ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4523 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4524 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4525 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4526 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4527 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4528 ac_cv_lib_sun_getpwnam=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4529 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4530 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
4531 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4532 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4533 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4534 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4535 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4537 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4538 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4539 LIBS="$LIBS -lsun"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4540 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4541
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4543 $as_echo_n "checking for inet_addr in -ldgc... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4544 if ${ac_cv_lib_dgc_inet_addr+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4545 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4546 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4547 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4548 LIBS="-ldgc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4549 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
4550 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4551
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4552 /* 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
4553 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
4554 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4555 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4556 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4557 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4558 char inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4559 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4560 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4561 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4562 return inet_addr ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4563 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4564 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4565 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4566 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4567 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4568 ac_cv_lib_dgc_inet_addr=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4569 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4570 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
4571 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4572 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4573 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4574 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4575 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4577 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4578 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4579 LIBS="$LIBS -ldgc"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4580 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4581
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4583 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4584 if ${ac_cv_lib_resolv_gethostbyname+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4585 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4586 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4587 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4588 LIBS="-lresolv $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4589 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
4590 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4591
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4592 /* 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
4593 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
4594 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4595 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4596 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4597 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4598 char gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4599 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4600 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4601 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4602 return gethostbyname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4603 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4604 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4605 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4606 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4607 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4608 ac_cv_lib_resolv_gethostbyname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4609 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4610 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
4611 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4612 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4613 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4614 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4615 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4617 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4618 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4619 LIBS="$LIBS -lresolv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4620 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4621
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
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4623 $as_echo_n "checking for atan2 in -lm... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4624 if ${ac_cv_lib_m_atan2+:} false; 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
4625 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4626 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
4627 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
4628 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
4629 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
4630 /* 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
4631
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4632 /* 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
4633 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
4634 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
4635 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4636 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4637 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4638 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
4639 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4640 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4641 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4642 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
4643 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4644 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
4645 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4646 _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
4647 if ac_fn_c_try_link "$LINENO"; 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
4648 ac_cv_lib_m_atan2=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
4649 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
4650 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
4651 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
4652 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4653 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
4654 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
4655 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
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4657 $as_echo "$ac_cv_lib_m_atan2" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4658 if test "x$ac_cv_lib_m_atan2" = xyes; 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
4659 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
4660 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
4661
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
4662
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4663 build_gtk="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4664 check_pthreads="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4665 PLATLIBS=""
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4666 SONAME=""
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4667 PLATCCFLAGS="-g -O2 -fPIC -Wall"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4668 ARFLAGS="cqs"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4669
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4670 case "$target" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4671 *cygwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4672 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4673 *mingw32)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4674 $as_echo "#define DW_USE_GTK 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4675
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4676 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4677 *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
4678 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
4679 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4680 *apple-darwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4681 case "$with_arch" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4682 no)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4683 ARCH=""
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4684 ;;
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
4685 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
4686 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
4687 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4688 32bit)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4689 ARCH="-arch ppc -arch i386"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4690 ;;
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
4691 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
4692 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
4693 ;;
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4694 powerpc)
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4695 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
4696 ;;
2129
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
4697 arm)
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
4698 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
4699 ;;
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
4700 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
4701 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
4702 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4703 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4704 ARCH="-arch $with_arch"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4705 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4706 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
4707 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
4708 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
4709 ;;
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
4710 *)
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
4711 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
4712 ;;
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
4713 esac
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4714 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
4715 no)
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4716 ;;
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4717 *)
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4718 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
4719 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
4720 ;;
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4721 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
4722 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
4723 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
4724 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
4725 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
4726 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
4727 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
4728 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
4729 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
4730 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
4731 ac_fn_c_check_func "$LINENO" "exit" "ac_cv_func_exit"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4732 if test "x$ac_cv_func_exit" = xyes; 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
4733
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4734 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
4735 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
4736 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
4737
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4738 build_gtk="no"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4739 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4740 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4741 ;;
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
4742 esac
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4743
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
4744 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
4745 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
4746 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
4747 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
4748 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
4749 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
4750 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
4751 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
4752 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
4753 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
4754 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
4755
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4756 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
4757
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4758 if test $build_gtk = "yes"; 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
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4760 $as_echo_n "checking for X... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4761
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4762
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4763 # Check whether --with-x was given.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4764 if test "${with_x+set}" = set; 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
4765 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
4766 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
4767
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4768 # $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
4769 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
4770 # 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
4771 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
4772 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
4773 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
4774 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4775 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; 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
4776 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4777 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
4778 # One or both of the vars are not set, and there is no cached value.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4779 ac_x_includes=no 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
4780 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
4781 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
4782 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
4783 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
4784 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
4785 @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
4786 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
4787 @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
4788 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
4789 @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
4790 _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
4791 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
4792 # 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
4793 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
4794 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
4795 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
4796 # 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
4797 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
4798 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
4799 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
4800 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
4801 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
4802 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
4803 # 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
4804 # 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
4805 # 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
4806 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
4807 /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
4808 *) 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
4809 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
4810 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
4811 /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
4812 *) 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
4813 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
4814 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
4815 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
4816 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
4817 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
4818
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4819 # Standard set of common directories for X headers.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4820 # 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
4821 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
4822 /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
4823 /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
4824 /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
4825 /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
4826 /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
4827
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4828 /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
4829 /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
4830 /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
4831 /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
4832 /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
4833
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4834 /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
4835 /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
4836 /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
4837 /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
4838 /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
4839
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4840 /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
4841 /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
4842 /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
4843 /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
4844 /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
4845
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4846 /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
4847 /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
4848 /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
4849
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4850 /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
4851 /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
4852 /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
4853 /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
4854 /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
4855 /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
4856
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4857 /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
4858 /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
4859
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4860 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
4861 # 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
4862 # 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
4863 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
4864 /* 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
4865 #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
4866 _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
4867 if ac_fn_c_try_cpp "$LINENO"; 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
4868 # 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
4869 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
4870 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
4871 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
4872 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
4873 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
4874 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
4875 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
4876 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
4877 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
4878 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
4879 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
4880
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4881 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
4882 # 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
4883 # 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
4884 # 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
4885 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
4886 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
4887 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
4888 /* 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
4889 #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
4890 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4891 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4892 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4893 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
4894 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4895 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
4896 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4897 _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
4898 if ac_fn_c_try_link "$LINENO"; 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
4899 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
4900 # 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
4901 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
4902 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
4903 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
4904 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4905 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
4906 # 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
4907 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
4908 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
4909 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
4910 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
4911 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
4912 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
4913 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
4914 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
4915 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4916 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
4917 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
4918
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4919 case $ac_x_includes,$ac_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
4920 no,* | *,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
4921 # Didn't find X, or a directory has "'" in its name.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4922 ac_cv_have_x="have_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
4923 *)
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4924 # 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
4925 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
4926 ac_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
4927 ac_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
4928 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
4929 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
4930 ;; #(
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4931 *) 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
4932 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
4933 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
4934 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
4935
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4936 if test "$have_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
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4938 $as_echo "$have_x" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4939 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
4940 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
4941 # 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
4942 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
4943 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
4944 # 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
4945 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
4946 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
4947 ac_x_libraries='$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
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4949 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4950 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
4951
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4952 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
4953 # 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
4954
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4955 $as_echo "#define X_DISPLAY_MISSING 1" >>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
4956
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4957 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
4958 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
4959 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
4960 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
4961 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
4962
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4963 # 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
4964 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
4965 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
4966 # 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
4967 # others require no space. Words are not sufficient . . . .
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4969 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4970 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
4971 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
4972 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
4973 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
4974 /* 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
4975
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4976 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4977 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4978 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4979
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4980 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4981 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
4982 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4983 _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
4984 if ac_fn_c_try_link "$LINENO"; 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
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4986 $as_echo "no" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4987 X_LIBS="$X_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
4988 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
4989 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
4990 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
4991 /* 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
4992
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4993 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4994 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4995 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4996
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4997 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4998 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
4999 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5000 _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
5001 if ac_fn_c_try_link "$LINENO"; 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
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5003 $as_echo "yes" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5004 X_LIBS="$X_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
5005 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
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5007 $as_echo "neither works" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5008 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
5009 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5010 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
5011 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
5012 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5013 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
5014 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
5015 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
5016 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
5017
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5018 # 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
5019 # 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
5020 # (-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
5021
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5022 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
5023 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
5024 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
5025 # 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
5026 # 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
5027 # 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
5028 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
5029 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
5030 /* 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
5031
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5032 /* 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
5033 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
5034 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
5035 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5036 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5037 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5038 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
5039 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5040 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5041 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5042 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
5043 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5044 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
5045 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5046 _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
5047 if ac_fn_c_try_link "$LINENO"; 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
5048
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5049 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
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5051 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5052 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; 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
5053 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5054 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
5055 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
5056 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
5057 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
5058 /* 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
5059
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5060 /* 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
5061 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
5062 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
5063 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5064 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5065 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5066 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
5067 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5068 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5069 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5070 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
5071 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5072 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
5073 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5074 _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
5075 if ac_fn_c_try_link "$LINENO"; 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
5076 ac_cv_lib_dnet_dnet_ntoa=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
5077 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
5078 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
5079 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
5080 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5081 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
5082 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
5083 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
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5085 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5086 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; 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
5087 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
5088 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
5089
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5090 if test $ac_cv_lib_dnet_dnet_ntoa = 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
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5092 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5093 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; 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
5094 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5095 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
5096 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
5097 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
5098 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
5099 /* 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
5100
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5101 /* 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
5102 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
5103 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
5104 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5105 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5106 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5107 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
5108 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5109 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5110 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5111 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
5112 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5113 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
5114 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5115 _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
5116 if ac_fn_c_try_link "$LINENO"; 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
5117 ac_cv_lib_dnet_stub_dnet_ntoa=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
5118 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
5119 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
5120 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
5121 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5122 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
5123 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
5124 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
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5126 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5127 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; 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
5128 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
5129 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
5130
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5131 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
5132 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
5133 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5134 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
5135 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
5136
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5137 # 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
5138 # 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
5139 # 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
5140 # 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
5141 # 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
5142 # 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
5143 # 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
5144 # 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
5145 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_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
5146 if test "x$ac_cv_func_gethostbyname" = xyes; 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
5147
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5148 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
5149
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5150 if test $ac_cv_func_gethostbyname = 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
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5152 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5153 if ${ac_cv_lib_nsl_gethostbyname+:} false; 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
5154 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5155 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
5156 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
5157 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
5158 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
5159 /* 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
5160
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5161 /* 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
5162 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
5163 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
5164 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5165 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5166 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5167 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
5168 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5169 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5170 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5171 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
5172 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5173 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
5174 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5175 _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
5176 if ac_fn_c_try_link "$LINENO"; 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
5177 ac_cv_lib_nsl_gethostbyname=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
5178 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
5179 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
5180 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
5181 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5182 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
5183 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
5184 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
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5186 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5187 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; 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
5188 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
5189 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
5190
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5191 if test $ac_cv_lib_nsl_gethostbyname = 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
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5193 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5194 if ${ac_cv_lib_bsd_gethostbyname+:} false; 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
5195 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5196 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
5197 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
5198 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
5199 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
5200 /* 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
5201
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5202 /* 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
5203 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
5204 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
5205 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5206 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5207 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5208 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
5209 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5210 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5211 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5212 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
5213 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5214 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
5215 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5216 _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
5217 if ac_fn_c_try_link "$LINENO"; 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
5218 ac_cv_lib_bsd_gethostbyname=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
5219 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
5220 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
5221 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
5222 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5223 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
5224 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
5225 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
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5227 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5228 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; 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
5229 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
5230 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
5231
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5232 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
5233 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
5234
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5235 # 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
5236 # 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
5237 # 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
5238 # 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
5239 # 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
5240 # 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
5241 # 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
5242 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_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
5243 if test "x$ac_cv_func_connect" = xyes; 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
5244
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5245 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
5246
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5247 if test $ac_cv_func_connect = 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
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5249 $as_echo_n "checking for connect in -lsocket... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5250 if ${ac_cv_lib_socket_connect+:} false; 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
5251 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5252 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
5253 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
5254 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
5255 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
5256 /* 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
5257
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5258 /* 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
5259 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
5260 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
5261 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5262 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5263 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5264 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
5265 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5266 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5267 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5268 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
5269 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5270 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
5271 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5272 _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
5273 if ac_fn_c_try_link "$LINENO"; 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
5274 ac_cv_lib_socket_connect=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
5275 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
5276 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
5277 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
5278 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5279 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
5280 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
5281 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
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5283 $as_echo "$ac_cv_lib_socket_connect" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5284 if test "x$ac_cv_lib_socket_connect" = xyes; 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
5285 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
5286 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
5287
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5288 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
5289
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5290 # 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
5291 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_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
5292 if test "x$ac_cv_func_remove" = xyes; 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
5293
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5294 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
5295
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5296 if test $ac_cv_func_remove = 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
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5298 $as_echo_n "checking for remove in -lposix... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5299 if ${ac_cv_lib_posix_remove+:} false; 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
5300 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5301 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
5302 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
5303 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
5304 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
5305 /* 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
5306
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5307 /* 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
5308 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
5309 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
5310 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5311 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5312 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5313 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
5314 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5315 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5316 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5317 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
5318 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5319 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
5320 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5321 _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
5322 if ac_fn_c_try_link "$LINENO"; 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
5323 ac_cv_lib_posix_remove=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
5324 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
5325 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
5326 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
5327 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5328 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
5329 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
5330 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
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5332 $as_echo "$ac_cv_lib_posix_remove" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5333 if test "x$ac_cv_lib_posix_remove" = xyes; 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
5334 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
5335 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
5336
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5337 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
5338
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5339 # 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
5340 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_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
5341 if test "x$ac_cv_func_shmat" = xyes; 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
5342
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5343 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
5344
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5345 if test $ac_cv_func_shmat = 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
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5347 $as_echo_n "checking for shmat in -lipc... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5348 if ${ac_cv_lib_ipc_shmat+:} false; 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
5349 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5350 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
5351 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
5352 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
5353 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
5354 /* 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
5355
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5356 /* 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
5357 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
5358 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
5359 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5360 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5361 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5362 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
5363 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5364 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5365 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5366 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
5367 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5368 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
5369 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5370 _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
5371 if ac_fn_c_try_link "$LINENO"; 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
5372 ac_cv_lib_ipc_shmat=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
5373 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
5374 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
5375 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
5376 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5377 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
5378 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
5379 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
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5381 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5382 if test "x$ac_cv_lib_ipc_shmat" = xyes; 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
5383 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
5384 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
5385
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5386 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
5387 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
5388
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5389 # 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
5390 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
5391 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
5392 # 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
5393 # 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
5394 # 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
5395 # 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
5396 # 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
5397 # John Interrante, Karl Berry
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5399 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5400 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; 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
5401 $as_echo_n "(cached) " >&6
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5402 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
5403 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
5404 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
5405 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
5406 /* 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
5407
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5408 /* 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
5409 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
5410 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
5411 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5412 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5413 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5414 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
5415 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5416 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5417 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5418 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
5419 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5420 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
5421 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5422 _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
5423 if ac_fn_c_try_link "$LINENO"; 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
5424 ac_cv_lib_ICE_IceConnectionNumber=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
5425 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
5426 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
5427 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
5428 rm -f core conftest.err conftest.$ac_objext \
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5429 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
5430 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
5431 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
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5433 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5434 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; 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
5435 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
5436 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
5437
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5438 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
5439
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5440 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
5441
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5442 LIBS="$LIBS $X_LIBS -lX11"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5443 # 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
5444 set dummy pkg-config; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5446 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5447 if ${ac_cv_prog_PKG_CFG+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5448 $as_echo_n "(cached) " >&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
5449 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
5450 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
5451 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
5452 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
5453 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
5454 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
5455 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
5456 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5457 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5458 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5459 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
5460 ac_cv_prog_PKG_CFG="pkg-config"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5461 $as_echo "$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
5462 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
5463 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
5464 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5465 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5466 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
5467
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5468 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
5469 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
5470 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
5471 if test -n "$PKG_CFG"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CFG" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5473 $as_echo "$PKG_CFG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5474 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5476 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5477 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5478
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5479
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5480 if test x"$PKG_CFG" != x; then
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
5481 GTK_LIBS=""
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5482 if test $with_gtk2 = "yes"; 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
5483 DW_DIR=gtk
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5484 GTK_PACKAGES="gtk+-2.0 gthread-2.0"
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
5485 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
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
5486 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
5487 if test $with_gtk4 = "yes"; then
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5488 DW_DIR=gtk4
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5489 GTK_PACKAGES="gtk4"
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5490 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5491 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5492 WEBKIT_PKG="webkit2gtk-4.0"
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
5493 if test x"$GTK_LIBS" = x; then
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5494 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
5495 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
5496 else
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5497 WEBKIT_PKG="webkit-1.1"
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
5498 fi
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5499 # test for webkit2gtk or webkitgtk packages
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5500 WEBKIT_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG`
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5501 if test x"$WEBKIT_CFLAGS" = x; then
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5502 # no webkit2gtk-4.0 or webkitgtk-1.1
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5503 if test $DW_DIR = "gtk"; then
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5504 WEBKIT_PKG="webkit-1.0"
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5505 WEBKIT_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG`
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5506 if test x"$WEBKIT_CFLAGS" = x; then
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5507 WEBKIT_PKG="WebKitGtk"
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5508 WEBKIT_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG`
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5509 if test x"$WEBKIT_CFLAGS" = x; then
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5510 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG`
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5511 fi
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5512 else
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5513 $as_echo "#define USE_WEBKIT10 1" >>confdefs.h
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5514
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5515 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG`
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5516 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5517 else
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5518 WEBKIT_PKG="webkitgtk-3.0"
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5519 WEBKIT_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG`
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5520 if test x"$WEBKIT_CFLAGS" = x; then
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5521 WEBKIT_PKG="webkitgtk-1.0"
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5522 WEBKIT_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG`
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5523 if test x"$WEBKIT_CFLAGS" = x; then
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5524 $as_echo "#define USE_WEBKIT10 1" >>confdefs.h
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5525
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5526 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG`
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5527 fi
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5528 else
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5529 $as_echo "#define USE_WEBKIT11 1" >>confdefs.h
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5530
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5531 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG`
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5532 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5533 fi
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5534 else
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5535 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG`
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5536 if test $with_gtk2 = "yes"; then
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5537 $as_echo "#define USE_WEBKIT11 1" >>confdefs.h
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5538
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5539 else
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5540 $as_echo "#define USE_WEBKIT2 1" >>confdefs.h
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5541
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5542 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5543 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5544 if test x"$RPATH" != x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5545 RPATH="-Wl,-R$RPATH"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5546 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5547 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5548
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5549 if test x"$GTK_LIBS" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5550
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5551 # Check whether --with-glib-prefix was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5552 if test "${with_glib_prefix+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5553 withval=$with_glib_prefix; glib_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5554 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5555 glib_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5556 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5557
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5558
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5559 # Check whether --with-glib-exec-prefix was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5560 if test "${with_glib_exec_prefix+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5561 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5562 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5563 glib_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5564 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5565
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5566 # Check whether --enable-glibtest was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5567 if test "${enable_glibtest+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5568 enableval=$enable_glibtest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5569 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5570 enable_glibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5571 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5572
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5573
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5574 if test x$glib_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5575 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5576 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5577 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5578 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5579 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5580 if test x$glib_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5581 glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5582 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5583 GLIB_CONFIG=$glib_config_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5584 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5585 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5586
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5587 for module in .
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5588 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5589 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5590 gmodule)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5591 glib_config_args="$glib_config_args gmodule"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5592 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5593 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5594 glib_config_args="$glib_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5595 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5596 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5597 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5598
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5599 # Extract the first word of "glib-config", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5600 set dummy glib-config; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5602 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5603 if ${ac_cv_path_GLIB_CONFIG+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5604 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5605 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5606 case $GLIB_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5607 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5608 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5609 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5610 *)
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
5611 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
5612 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
5613 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
5614 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5615 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5616 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5617 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
5618 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5619 $as_echo "$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
5620 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
5621 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
5622 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5623 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5624 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5625
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5626 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5627 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5628 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5629 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5630 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5631 if test -n "$GLIB_CONFIG"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CONFIG" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5633 $as_echo "$GLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5634 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5636 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5637 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5638
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5639
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5640 min_glib_version=1.2.0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5642 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5643 no_glib=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5644 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5645 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5646 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5647 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5648 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5649 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5651 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5652 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5653 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5654 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5655 if test "x$enable_glibtest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5656 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5657 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5658 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5659 LIBS="$GLIB_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5660 rm -f conf.glibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5661 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5662 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5663 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5664 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
5665 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5666
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5667 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5668 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5669 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5670
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5671 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5672 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5673 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5674 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5675 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5676
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5677 system ("touch conf.glibtest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5678
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5679 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5680 tmp_version = g_strdup("$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5681 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5682 printf("%s, bad version string\n", "$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5683 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5684 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5685
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5686 if ((glib_major_version != $glib_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5687 (glib_minor_version != $glib_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5688 (glib_micro_version != $glib_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5689 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5690 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5691 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5692 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5693 printf ("*** was found! If glib-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5694 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5695 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5696 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5697 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5698 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5699 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5700 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5701 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5702 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5703 (glib_minor_version != GLIB_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5704 (glib_micro_version != GLIB_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5705 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5706 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5707 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5708 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5709 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5710 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5711 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5712 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5713 if ((glib_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5714 ((glib_major_version == major) && (glib_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5715 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5716 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5717 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5718 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5719 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5720 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5721 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5722 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5723 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5724 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5725 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5726 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5727 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5728 printf("*** probably means that the wrong copy of the glib-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5729 printf("*** being found. The easiest way to fix this is to remove the old version\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5730 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5731 printf("*** correct copy of glib-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5732 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5733 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5734 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5735 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5736 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5737 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5738
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5739 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5740 if ac_fn_c_try_run "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5741
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5742 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5743 no_glib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5744 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5746 conftest.$ac_objext conftest.beam conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5747 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5748
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5749 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5750 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5751 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5752 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5753 if test "x$no_glib" = x ; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5755 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5756 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5757 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5759 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5760 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5761 echo "*** The glib-config script installed by GLIB could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5762 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5763 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5764 echo "*** full path to glib-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5765 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5766 if test -f conf.glibtest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5767 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5768 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5769 echo "*** Could not run GLIB test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5770 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5771 LIBS="$LIBS $GLIB_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5772 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
5773 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5774
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5775 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5776 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5777
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5778 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5779 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5780 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5781 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5782 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5783 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5784 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5785 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5786 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5787 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5788 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5789 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5790 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5791 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5792 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5793 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5794 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5795 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5796 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5797 echo "*** The test program failed to compile or link. See the file config.log for the"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5798 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5799 echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5800 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5801 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5802 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5803 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5804 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5805 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5806 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5807 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5808 GLIB_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5809 GLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5810 as_fn_error $? "as_fn_error $? \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5811 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5812
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
5813
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5814 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5815
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
5816
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5817 # Check whether --with-gtk-prefix was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5818 if test "${with_gtk_prefix+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5819 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5820 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5821 gtk_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5822 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5823
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5824
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5825 # Check whether --with-gtk-exec-prefix was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5826 if test "${with_gtk_exec_prefix+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5827 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5828 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5829 gtk_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5830 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5831
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5832 # Check whether --enable-gtktest was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5833 if test "${enable_gtktest+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5834 enableval=$enable_gtktest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5835 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5836 enable_gtktest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5837 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5838
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5839
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5840 for module in . gthread
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5841 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5842 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5843 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5844 gtk_config_args="$gtk_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5845 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5846 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5847 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5848
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5849 if test x$gtk_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5850 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5851 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5852 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5853 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5854 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5855 if test x$gtk_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5856 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5857 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5858 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5859 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5860 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5861
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5862 # Extract the first word of "gtk-config", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5863 set dummy gtk-config; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5865 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5866 if ${ac_cv_path_GTK_CONFIG+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5867 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5868 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5869 case $GTK_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5870 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5871 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5872 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5873 *)
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
5874 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
5875 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
5876 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
5877 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5878 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5879 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
5880 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
5881 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5882 $as_echo "$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
5883 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
5884 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
5885 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5886 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5887 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5888
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5889 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5890 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5891 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5892 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5893 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5894 if test -n "$GTK_CONFIG"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5896 $as_echo "$GTK_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5897 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5899 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5900 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5901
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5902
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5903 min_gtk_version=1.2.0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5905 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5906 no_gtk=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5907 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5908 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5909 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5910 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5911 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5912 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5914 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5916 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5918 if test "x$enable_gtktest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5919 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5920 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5921 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5922 LIBS="$GTK_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5923 rm -f conf.gtktest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5924 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5925 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5926 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5927 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
5928 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5929
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5930 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5931 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5932 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5933
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5934 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5935 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5936 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5937 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5938 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5939
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5940 system ("touch conf.gtktest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5941
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5942 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5943 tmp_version = g_strdup("$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5944 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5945 printf("%s, bad version string\n", "$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5946 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5947 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5948
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5949 if ((gtk_major_version != $gtk_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5950 (gtk_minor_version != $gtk_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5951 (gtk_micro_version != $gtk_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5952 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5953 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5954 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5955 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5956 printf ("*** was found! If gtk-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5957 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5958 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5959 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5960 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5961 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5962 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5963 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5964 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5965 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5966 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5967 (gtk_minor_version != GTK_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5968 (gtk_micro_version != GTK_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5969 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5970 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5971 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5972 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5973 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5974 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5975 #endif /* defined (GTK_MAJOR_VERSION) ... */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5976 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5977 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5978 if ((gtk_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5979 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5980 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5981 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5982 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5983 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5984 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5985 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5986 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5987 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5988 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5989 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5990 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5991 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5992 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5993 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5994 printf("*** being found. The easiest way to fix this is to remove the old version\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5995 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5996 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5997 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5998 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5999 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6000 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6001 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6002 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6003
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6004 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6005 if ac_fn_c_try_run "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6006
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6007 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6008 no_gtk=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6009 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6011 conftest.$ac_objext conftest.beam conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6012 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6013
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6014 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6015 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6016 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6017 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6018 if test "x$no_gtk" = x ; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6020 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6021 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6022 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6024 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6025 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6026 echo "*** The gtk-config script installed by GTK could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6027 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6028 echo "*** your path, or set the GTK_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6029 echo "*** full path to gtk-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6030 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6031 if test -f conf.gtktest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6032 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6033 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6034 echo "*** Could not run GTK test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6035 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6036 LIBS="$LIBS $GTK_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6037 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
6038 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6039
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6040 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6041 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6042
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6043 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6044 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6045 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6046 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6047 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6048 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6049 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6050 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6051 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6052 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6053 echo "*** that the run-time linker is not finding GTK or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6054 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6055 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6056 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6057 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6058 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6059 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6060 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6061 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6062 echo "*** The test program failed to compile or link. See the file config.log for the"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6063 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6064 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6065 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6066 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6067 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6068 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6069 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6070 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6071 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6072 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6073 GTK_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6074 GTK_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6075 as_fn_error $? "as_fn_error $? \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6076 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6077
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
6078
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6079 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6080
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6081
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6082 # Check whether --with-imlib-prefix was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6083 if test "${with_imlib_prefix+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6084 withval=$with_imlib_prefix; imlib_prefix="$withval"
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6085 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6086 imlib_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6087 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6088
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6089
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6090 # Check whether --with-imlib-exec-prefix was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6091 if test "${with_imlib_exec_prefix+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6092 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval"
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6093 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6094 imlib_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6095 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6096
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6097 # Check whether --enable-imlibtest was given.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6098 if test "${enable_imlibtest+set}" = set; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6099 enableval=$enable_imlibtest;
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6100 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6101 enable_imlibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6102 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6103
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6104
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6105 if test x$imlib_exec_prefix != x ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6106 imlib_args="$imlib_args --exec-prefix=$imlib_exec_prefix"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6107 if test x${IMLIB_CONFIG+set} != xset ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6108 IMLIB_CONFIG=$imlib_exec_prefix/bin/imlib-config
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6109 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6110 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6111 if test x$imlib_prefix != x ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6112 imlib_args="$imlib_args --prefix=$imlib_prefix"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6113 if test x${IMLIB_CONFIG+set} != xset ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6114 IMLIB_CONFIG=$imlib_prefix/bin/imlib-config
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6115 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6116 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6117
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6118 # Extract the first word of "imlib-config", so it can be a program name with args.
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6119 set dummy imlib-config; ac_word=$2
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6121 $as_echo_n "checking for $ac_word... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6122 if ${ac_cv_path_IMLIB_CONFIG+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6123 $as_echo_n "(cached) " >&6
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6124 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6125 case $IMLIB_CONFIG in
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6126 [\\/]* | ?:[\\/]*)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6127 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path.
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6128 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6129 *)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6131 for as_dir in $PATH
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6132 do
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6133 IFS=$as_save_IFS
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6134 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6135 for ac_exec_ext in '' $ac_executable_extensions; do
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6137 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6139 break 2
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6140 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6141 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6142 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6143 IFS=$as_save_IFS
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6144
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6145 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6146 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6147 esac
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6148 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6149 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6150 if test -n "$IMLIB_CONFIG"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMLIB_CONFIG" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6152 $as_echo "$IMLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6153 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6155 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6156 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6157
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6158
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6159 min_imlib_version=1.9.4
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB - version >= $min_imlib_version" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6161 $as_echo_n "checking for IMLIB - version >= $min_imlib_version... " >&6; }
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6162 no_imlib=""
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6163 if test "$IMLIB_CONFIG" = "no" ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6164 no_imlib=yes
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6165 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6166 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk`
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6167 GDK_IMLIB_LIBS=`$IMLIB_CONFIG $imlibconf_args --libs-gdk`
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6168
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6169 imlib_major_version=`$IMLIB_CONFIG $imlib_args --version | \
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6170 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6171 imlib_minor_version=`$IMLIB_CONFIG $imlib_args --version | \
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6172 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6173 imlib_micro_version=`$IMLIB_CONFIG $imlib_args --version | \
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6174 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6175 if test "x$enable_imlibtest" = "xyes" ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6176 ac_save_CFLAGS="$CFLAGS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6177 ac_save_LIBS="$LIBS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6178 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6179 LIBS="$LIBS $GDK_IMLIB_LIBS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6180 rm -f conf.imlibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6181 if test "$cross_compiling" = yes; then :
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6182 echo $ac_n "cross compiling; assumed OK... $ac_c"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6183 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6184 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
6185 /* end confdefs.h. */
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6186
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6187 #include <stdio.h>
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6188 #include <stdlib.h>
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6189 #include <gdk_imlib.h>
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6190
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6191 int main ()
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6192 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6193 int major, minor, micro;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6194 char *tmp_version;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6195
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6196 system ("touch conf.gdkimlibtest");
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6197
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6198 /* HP/UX 9 (%@#!) writes to sscanf strings */
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6199 tmp_version = g_strdup("$min_imlib_version");
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6200 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6201 printf("%s, bad version string\n", "$min_imlib_version");
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6202 exit(1);
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6203 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6204
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6205 if (($imlib_major_version > major) ||
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6206 (($imlib_major_version == major) && ($imlib_minor_version > minor)) ||
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6207 (($imlib_major_version == major) && ($imlib_minor_version == minor) &&
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6208 ($imlib_micro_version >= micro)))
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6209 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6210 return 0;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6211 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6212 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6213 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6214 printf("\n*** 'imlib-config --version' returned %d.%d.%d, but the minimum version\n", $imlib_major_version, $imlib_minor_version, $imlib_micro_version);
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6215 printf("*** of IMLIB required is %d.%d.%d. If imlib-config is correct, then it is\n", major, minor, micro);
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6216 printf("*** best to upgrade to the required version.\n");
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6217 printf("*** If imlib-config was wrong, set the environment variable IMLIB_CONFIG\n");
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6218 printf("*** to point to the correct copy of imlib-config, and remove the file\n");
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6219 printf("*** config.cache before re-running configure\n");
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6220 return 1;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6221 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6222 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6223
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6224
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6225 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6226 if ac_fn_c_try_run "$LINENO"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6227
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6228 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6229 no_imlib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6230 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6232 conftest.$ac_objext conftest.beam conftest.$ac_ext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6233 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6234
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6235 CFLAGS="$ac_save_CFLAGS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6236 LIBS="$ac_save_LIBS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6237 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6238 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6239 if test "x$no_imlib" = x ; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6241 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6242 $as_echo "#define USE_IMLIB 1" >>confdefs.h
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6243
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6244 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6246 $as_echo "no" >&6; }
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6247 if test "$IMLIB_CONFIG" = "no" ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6248 echo "*** The imlib-config script installed by IMLIB could not be found"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6249 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6250 echo "*** your path, or set the IMLIB_CONFIG environment variable to the"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6251 echo "*** full path to imlib-config."
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6252 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6253 if test -f conf.gdkimlibtest ; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6254 :
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6255 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6256 echo "*** Could not run IMLIB test program, checking why..."
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6257 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6258 LIBS="$LIBS $GDK_IMLIB_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6259 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
6260 /* end confdefs.h. */
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6261
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6262 #include <stdio.h>
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6263 #include <gdk_imlib.h>
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6264
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6265 int
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6266 main ()
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6267 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6268 return 0;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6269 ;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6270 return 0;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6271 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6272 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6273 if ac_fn_c_try_link "$LINENO"; then :
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6274 echo "*** The test program compiled, but did not run. This usually means"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6275 echo "*** that the run-time linker is not finding IMLIB or finding the wrong"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6276 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6277 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6278 echo "*** to the installed location Also, make sure you have run ldconfig if that"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6279 echo "*** is required on your system"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6280 echo "***"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6281 echo "*** If you have an old version installed, it is best to remove it, although"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6282 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6283 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6284 echo "*** The test program failed to compile or link. See the file config.log for the"
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6285 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6286 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6287 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6288 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6289 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6290 conftest$ac_exeext conftest.$ac_ext
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6291 CFLAGS="$ac_save_CFLAGS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6292 LIBS="$ac_save_LIBS"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6293 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6294 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6295 GDK_IMLIB_CFLAGS=""
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6296 GDK_IMLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6297 as_fn_error $? "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6298 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6299
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6300
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6301 rm -f conf.gdkimlibtest
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6302
2204
b86ae2abb3b3 GTK: Added GTK2 support for GResource embedded images.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2203
diff changeset
6303 CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6304 else
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
6305 GTK_CFLAGS=`$PKG_CFG --cflags $GTK_PACKAGES`
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
6306 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
6307
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6308
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6309
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6310
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6311
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6312
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6313
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6314 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
6315 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
6316 # 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
6317 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6319 $as_echo_n "checking for $ac_word... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6320 if ${ac_cv_path_PKG_CONFIG+:} false; then :
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6321 $as_echo_n "(cached) " >&6
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6322 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6323 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
6324 [\\/]* | ?:[\\/]*)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6325 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
6326 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6327 *)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6328 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
6329 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
6330 do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6331 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
6332 test -z "$as_dir" && as_dir=.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6333 for ac_exec_ext in '' $ac_executable_extensions; do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6335 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6337 break 2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6338 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6339 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6340 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6341 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
6342
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6343 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6344 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6345 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6346 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
6347 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
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6349 $as_echo "$PKG_CONFIG" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6350 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6352 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6353 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6354
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6355
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6356 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6357 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
6358 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
6359 # 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
6360 set dummy pkg-config; ac_word=$2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6362 $as_echo_n "checking for $ac_word... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6363 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6364 $as_echo_n "(cached) " >&6
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6365 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6366 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
6367 [\\/]* | ?:[\\/]*)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6368 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
6369 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6370 *)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6371 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
6372 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
6373 do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6374 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
6375 test -z "$as_dir" && as_dir=.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6376 for ac_exec_ext in '' $ac_executable_extensions; do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6378 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6380 break 2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6381 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6382 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6383 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6384 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
6385
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6386 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6387 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6388 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6389 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
6390 if test -n "$ac_pt_PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6392 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6393 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6395 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6396 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6397
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6398 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
6399 PKG_CONFIG=""
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6400 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6401 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
6402 yes:)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6405 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
6406 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6407 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
6408 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6409 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6410 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
6411 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6412
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6413 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6414 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
6415 _pkg_min_version=0.9.0
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6417 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6418 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6420 $as_echo "yes" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6421 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6423 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6424 PKG_CONFIG=""
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6425 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6426 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6427
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6428 pkg_failed=no
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6430 $as_echo_n "checking for GLIB... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6431
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6432 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
6433 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
6434 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
6435 if test -n "$PKG_CONFIG" && \
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32.0\""; } >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6437 ($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
6438 ac_status=$?
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6440 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
6441 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
6442 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
6443 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6444 pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6445 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6446 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6447 pkg_failed=untried
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6448 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6449 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
6450 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
6451 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
6452 if test -n "$PKG_CONFIG" && \
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32.0\""; } >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6454 ($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
6455 ac_status=$?
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6457 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
6458 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
6459 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
6460 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6461 pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6462 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6463 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6464 pkg_failed=untried
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6465 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6466
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6467
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6468
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6469 if test $pkg_failed = yes; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6471 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6472
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6473 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
6474 _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
6475 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6476 _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
6477 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6478 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
6479 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
6480 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6481 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
6482 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6483 # 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
6484 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
6485
2203
12fb7f32f3a9 GTK: DW_INCLUDE_DEPRECATED should bring in DW_INCLUDE_DEPRECATED_RESOURCES.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2202
diff changeset
6486 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
6487 elif test $pkg_failed = untried; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6489 $as_echo "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
6490 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
6491 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6492 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
6493 GLIB_LIBS=$pkg_cv_GLIB_LIBS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6495 $as_echo "yes" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6496 DW_GRESOURCE="enabled"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6497 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6498 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
6499 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
6500
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6501 if test $check_pthreads = "yes"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6502 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6503 if test "x$ac_cv_header_pthread_h" = xyes; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6504
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6505 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6506 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
6507 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6508
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6509
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6511 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6512 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6513 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6514 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6515 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6516 LIBS="-lpthread $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6518 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6519
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6520 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6521 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
6522 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6523 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6524 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6525 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6526 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6527 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6528 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6529 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6530 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6531 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6532 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6533 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6534 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6535 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6536 ac_cv_lib_pthread_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6537 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6538 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
6539 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6540 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6541 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6542 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6543 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6545 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6546 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6547 PTHREAD_LIBS="-lpthread"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6548 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6550 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6551 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6552 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6553 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6554 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6555 LIBS="-lpthreads $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6557 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6558
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6559 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6560 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
6561 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6562 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6563 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6564 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6565 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6566 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6567 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6568 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6569 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6570 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6571 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6572 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6573 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6574 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6575 ac_cv_lib_pthreads_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6576 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6577 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
6578 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6579 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6580 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6581 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6582 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6584 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6585 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6586 PTHREAD_LIBS="-lpthreads"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6587 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6589 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6590 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6591 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6592 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6593 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6594 LIBS="-lc_r $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6595 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
6596 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6597
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6598 /* 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
6599 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
6600 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6601 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6602 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6603 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6604 char pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6605 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6606 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6607 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6608 return pthread_attr_init ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6609 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6610 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6611 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6612 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6613 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6614 ac_cv_lib_c_r_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6615 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6616 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
6617 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6618 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6619 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
6620 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
6621 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6623 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6624 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6625 PTHREAD_LIBS="-lc_r"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6626 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6628 $as_echo_n "checking for pthread_attr_init in -lc... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6629 if ${ac_cv_lib_c_pthread_attr_init+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6630 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6631 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6632 ac_check_lib_save_LIBS=$LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6633 LIBS="-lc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6634 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
6635 /* end confdefs.h. */
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6636
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6637 /* 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
6638 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
6639 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
6640 #ifdef __cplusplus
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6641 extern "C"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6642 #endif
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6643 char pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6644 int
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6645 main ()
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6646 {
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6647 return pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6648 ;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6649 return 0;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6650 }
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6651 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6652 if ac_fn_c_try_link "$LINENO"; then :
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6653 ac_cv_lib_c_pthread_attr_init=yes
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6654 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6655 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
6656 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6657 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6658 conftest$ac_exeext conftest.$ac_ext
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6659 LIBS=$ac_check_lib_save_LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6660 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_attr_init" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6662 $as_echo "$ac_cv_lib_c_pthread_attr_init" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6663 if test "x$ac_cv_lib_c_pthread_attr_init" = xyes; then :
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6664 PTHREAD_LIBS="-lc"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6665 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6666 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
6667
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6668 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6669
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6670
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6671 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6672
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6673
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6674 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6675
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6676
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6677 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6678
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6679 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
6680
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6681 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
6682
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6683 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
6684 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
6685 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
6686 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
6687 WEBKIT_LIB=`$PKG_CFG --silence-errors --libs-only-l $WEBKIT_PKG | cut -b 3-`
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6688 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6690 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6691 if eval \${$as_ac_Lib+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6692 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6693 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6694 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6695 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
6696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6697 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6698
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6699 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6700 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
6701 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6702 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6703 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6704 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6705 char webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6706 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6707 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6708 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6709 return webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6710 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6711 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6712 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6713 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6714 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6715 eval "$as_ac_Lib=yes"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6716 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6717 eval "$as_ac_Lib=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6718 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6719 rm -f core conftest.err conftest.$ac_objext \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6720 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6721 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6722 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6723 eval ac_res=\$$as_ac_Lib
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6725 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6726 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6727 $as_echo "#define USE_WEBKIT 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6728
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6729 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6730
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6731 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6732
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6733 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
6734
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6735 for ac_func in ubuntu_overlay_scrollbar_set_enabled
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6736 do :
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6737 ac_fn_c_check_func "$LINENO" "ubuntu_overlay_scrollbar_set_enabled" "ac_cv_func_ubuntu_overlay_scrollbar_set_enabled"
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6738 if test "x$ac_cv_func_ubuntu_overlay_scrollbar_set_enabled" = xyes; then :
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6739 cat >>confdefs.h <<_ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6740 #define HAVE_UBUNTU_OVERLAY_SCROLLBAR_SET_ENABLED 1
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6741 _ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6742
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6743 $as_echo "#define HAVE_OVERLAY_SCROLLBARS 1" >>confdefs.h
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6744
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6745 fi
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6746 done
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6747
1794
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6748 for ac_func in ubuntu_gtk_set_use_overlay_scrollbar
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6749 do :
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6750 ac_fn_c_check_func "$LINENO" "ubuntu_gtk_set_use_overlay_scrollbar" "ac_cv_func_ubuntu_gtk_set_use_overlay_scrollbar"
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6751 if test "x$ac_cv_func_ubuntu_gtk_set_use_overlay_scrollbar" = xyes; then :
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6752 cat >>confdefs.h <<_ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6753 #define HAVE_UBUNTU_GTK_SET_USE_OVERLAY_SCROLLBAR 1
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6754 _ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6755
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6756 $as_echo "#define HAVE_OVERLAY_SCROLLBARS2 1" >>confdefs.h
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6757
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6758 fi
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6759 done
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6760
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6761
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6762 RM="rm -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6763 LN="ln -s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6764 CP="cp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6765 MV="mv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6766 MKDIR="mkdir"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6767
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
6768
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6769
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6770
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6771
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6772
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6773
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6774
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6775
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6776
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6777
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6778
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6779
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
6780
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
6781
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6782
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6783
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6784
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6785
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6786
663
86c404056262 Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 644
diff changeset
6787
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6788
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6789
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6790
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6791
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6792
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6793
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6794
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6795
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
6796
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6797
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
6798 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
6799
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6800 cat >confcache <<\_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6801 # This file is a shell script that caches the results of configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6802 # tests run on this system so they can be shared between configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6803 # scripts and configure runs, see configure's option --config-cache.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6804 # It is not useful on other systems. If it contains results you don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6805 # want to keep, you may remove or edit it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6806 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6807 # config.status only pays attention to the cache file if you give it
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6808 # the --recheck option to rerun configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6809 #
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6810 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6811 # loading this file, other *unset* `ac_cv_foo' will be assigned the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6812 # following values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6813
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6814 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6815
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6816 # The following way of writing the cache mishandles newlines in values,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6817 # 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
6818 # So, we kill variables containing newlines.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6819 # Ultrix sh set writes to stderr and can't be redirected directly,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6820 # 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
6821 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6822 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
6823 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6824 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6825 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6826 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6827 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6828 $as_echo "$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
6829 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6830 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6831 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6832 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
6833 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6834 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6835 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6836 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6837
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6838 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6839 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
6840 *${as_nl}ac_space=\ *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6841 # `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
6842 # substitution turns \\\\ into \\, and sed turns \\ into \.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6843 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6844 "s/'/'\\\\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6845 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
6846 ;; #(
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6847 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6848 # `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
6849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6850 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6851 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6852 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6853 ) |
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6854 sed '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6855 /^ac_cv_env_/b end
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6856 t clear
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6857 :clear
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6858 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6859 t end
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6860 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6861 :end' >>confcache
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6862 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
6863 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
6864 if test "x$cache_file" != "x/dev/null"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6866 $as_echo "$as_me: updating cache $cache_file" >&6;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6867 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
6868 cat confcache >"$cache_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6869 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6870 case $cache_file in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6871 */* | ?:*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6872 mv -f confcache "$cache_file"$$ &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6873 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
6874 *)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6875 mv -f confcache "$cache_file" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6876 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6877 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6878 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6879 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6881 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6882 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6883 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6884 rm -f confcache
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6885
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6886 test "x$prefix" = xNONE && prefix=$ac_default_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6887 # Let make expand exec_prefix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6888 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6889
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6890 DEFS=-DHAVE_CONFIG_H
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6891
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6892 ac_libobjs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6893 ac_ltlibobjs=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6894 U=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6895 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
6896 # 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
6897 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6898 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6899 # 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
6900 # 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
6901 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
6902 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
6903 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6904 LIBOBJS=$ac_libobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6905
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6906 LTLIBOBJS=$ac_ltlibobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6907
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6908
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
6909
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6910 : "${CONFIG_STATUS=./config.status}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6911 ac_write_fail=0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6912 ac_clean_files_save=$ac_clean_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6915 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6916 as_write_fail=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6917 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6918 #! $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
6919 # Generated by $as_me.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6920 # Run this file to recreate the current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6921 # Compiler output produced by configure, useful for debugging
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6922 # configure, is in config.log if it exists.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6923
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6924 debug=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6925 ac_cs_recheck=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6926 ac_cs_silent=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6927
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6928 SHELL=\${CONFIG_SHELL-$SHELL}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6929 export SHELL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6930 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6931 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
6932 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6933 ## M4sh Initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6934 ## -------------------- ##
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
6935
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6936 # Be more Bourne compatible
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6937 DUALCASE=1; export DUALCASE # for MKS sh
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6938 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6939 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6940 NULLCMD=:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6941 # 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
6942 # 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
6943 alias -g '${1+"$@"}'='"$@"'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6944 setopt NO_GLOB_SUBST
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6945 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6946 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
6947 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6948 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6949 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6950 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6951 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6952 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6953
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6954
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6955 as_nl='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6956 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6957 export as_nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6958 # Printing a long string crashes Solaris 7 /usr/bin/printf.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6959 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6960 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6961 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6962 # Prefer a ksh shell builtin over an external printf program on Solaris,
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6963 # but without wasting forks for bash or zsh.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6964 if test -z "$BASH_VERSION$ZSH_VERSION" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6965 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6966 as_echo='print -r --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6967 as_echo_n='print -rn --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6968 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6969 as_echo='printf %s\n'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6970 as_echo_n='printf %s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6971 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6972 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6973 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6974 as_echo_n='/usr/ucb/echo -n'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6975 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6976 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6977 as_echo_n_body='eval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6978 arg=$1;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6979 case $arg in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6980 *"$as_nl"*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6981 expr "X$arg" : "X\\(.*\\)$as_nl";
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6982 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6983 esac;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6984 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6985 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6986 export as_echo_n_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6987 as_echo_n='sh -c $as_echo_n_body as_echo'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6988 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6989 export as_echo_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6990 as_echo='sh -c $as_echo_body as_echo'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6991 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
6992
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6993 # The user is always right.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6994 if test "${PATH_SEPARATOR+set}" != set; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6995 PATH_SEPARATOR=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6996 (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
6997 (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
6998 PATH_SEPARATOR=';'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6999 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7000 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7001
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7002
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7003 # IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7004 # We need space, tab and new line, in precisely that order. Quoting is
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7005 # there to prevent editors from complaining about space-tab.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7006 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7007 # splitting by setting IFS to empty value.)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7008 IFS=" "" $as_nl"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7009
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7010 # 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
7011 as_myself=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7012 case $0 in #((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7013 *[\\/]* ) as_myself=$0 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7014 *) 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
7015 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
7016 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
7017 IFS=$as_save_IFS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7018 test -z "$as_dir" && as_dir=.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7019 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7020 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7021 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7022
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7023 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7024 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7025 # 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
7026 # 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
7027 if test "x$as_myself" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7028 as_myself=$0
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7029 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7030 if test ! -f "$as_myself"; then
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7031 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7032 exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7033 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7034
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7035 # Unset variables that we do not need and which cause bugs (e.g. in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7036 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7037 # suppresses any "Segmentation fault" message there. '((' could
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7038 # trigger a bug in pdksh 5.2.14.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7039 for as_var in BASH_ENV ENV MAIL MAILPATH
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7040 do eval test x\${$as_var+set} = xset \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7041 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7042 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7043 PS1='$ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7044 PS2='> '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7045 PS4='+ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7046
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7047 # NLS nuisances.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7048 LC_ALL=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7049 export LC_ALL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7050 LANGUAGE=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7051 export LANGUAGE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7052
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7053 # CDPATH.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7054 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7055
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7056
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7057 # 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
7058 # ----------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7059 # 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
7060 # 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
7061 # 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
7062 as_fn_error ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7063 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7064 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
7065 if test "$4"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7066 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7067 $as_echo "$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
7068 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7069 $as_echo "$as_me: error: $2" >&2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7070 as_fn_exit $as_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7071 } # as_fn_error
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7072
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7073
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7074 # as_fn_set_status STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7075 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7076 # Set $? to STATUS, without forking.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7077 as_fn_set_status ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7078 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7079 return $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7080 } # as_fn_set_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7081
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7082 # as_fn_exit STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7083 # -----------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7084 # 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
7085 as_fn_exit ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7086 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7087 set +e
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7088 as_fn_set_status $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7089 exit $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7090 } # as_fn_exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7091
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7092 # as_fn_unset VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7093 # ---------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7094 # Portably unset VAR.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7095 as_fn_unset ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7096 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7097 { eval $1=; unset $1;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7098 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7099 as_unset=as_fn_unset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7100 # as_fn_append VAR VALUE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7101 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7102 # 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
7103 # 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
7104 # 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
7105 # implementations.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7106 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7107 eval 'as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7108 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7109 eval $1+=\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7110 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7111 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7112 as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7113 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7114 eval $1=\$$1\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7115 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7116 fi # as_fn_append
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7117
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7118 # as_fn_arith ARG...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7119 # ------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7120 # 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
7121 # 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
7122 # must be portable across $(()) and expr.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7123 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7124 eval 'as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7125 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7126 as_val=$(( $* ))
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7127 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7128 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7129 as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7130 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7131 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
7132 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7133 fi # as_fn_arith
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7134
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7135
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7136 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
7137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7138 as_expr=expr
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7139 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7140 as_expr=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7141 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7142
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7143 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
7144 as_basename=basename
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7145 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7146 as_basename=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7147 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7148
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7149 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
7150 as_dirname=dirname
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7151 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7152 as_dirname=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7153 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7154
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7155 as_me=`$as_basename -- "$0" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7157 X"$0" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7158 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7159 $as_echo X/"$0" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7160 sed '/^.*\/\([^/][^/]*\)\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7161 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7162 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7163 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7164 /^X\/\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7165 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7166 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7167 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7168 /^X\/\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7169 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7170 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7171 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7172 s/.*/./; q'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7173
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7174 # Avoid depending upon Character Ranges.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7175 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7176 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7177 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
7178 as_cr_digits='0123456789'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7179 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
7180
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7181 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
7182 case `echo -n x` in #(((((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7183 -n*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7184 case `echo 'xy\c'` in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7185 *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
7186 xy) ECHO_C='\c';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7187 *) 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
7188 ECHO_T=' ';;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7189 esac;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7190 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7191 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
7192 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7193
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7194 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
7195 if test -d conf$$.dir; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7196 rm -f conf$$.dir/conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7197 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7198 rm -f conf$$.dir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7199 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
7200 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7201 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
7202 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
7203 as_ln_s='ln -s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7204 # ... but there are two gotchas:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7205 # 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
7206 # 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
7207 # 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
7208 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
7209 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
7210 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
7211 as_ln_s=ln
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7212 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7213 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
7214 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7215 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7216 as_ln_s='cp -pR'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7217 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7218 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
7219 rmdir conf$$.dir 2>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7220
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7221
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7222 # as_fn_mkdir_p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7223 # -------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7224 # 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
7225 as_fn_mkdir_p ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7226 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7227
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7228 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7229 -*) as_dir=./$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7230 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7231 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
7232 as_dirs=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7233 while :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7234 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7235 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7236 *) as_qdir=$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7237 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7238 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
7239 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
7240 $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
7241 X"$as_dir" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7242 X"$as_dir" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7243 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7244 $as_echo X"$as_dir" |
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7246 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7247 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7248 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7249 /^X\(\/\/\)[^/].*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7250 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7251 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7252 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7253 /^X\(\/\/\)$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7254 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7255 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7256 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7257 /^X\(\/\).*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7258 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7259 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7260 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7261 s/.*/./; q'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7262 test -d "$as_dir" && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7263 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7264 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
7265 } || 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
7266
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7267
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7268 } # as_fn_mkdir_p
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7269 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
7270 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
7271 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7272 test -d ./-p && rmdir ./-p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7273 as_mkdir_p=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7274 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7275
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7276
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7277 # 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
7278 # -----------------------
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7279 # 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
7280 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
7281 {
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7282 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
7283 } # 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
7284 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
7285 as_executable_p=as_fn_executable_p
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7286
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
7287 # 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
7288 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
7289
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7290 # 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
7291 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
7292
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7293
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7294 exec 6>&1
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7295 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7296 ## 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
7297 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7298 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7299 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
7300
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7301 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
7302 # 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
7303 # 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
7304 # values after options handling.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7305 ac_log="
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
7306 This file was extended by $as_me, which was
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7307 generated by GNU Autoconf 2.69. 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
7308
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7309 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
7310 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
7311 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
7312 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
7313 $ $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
7314
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7315 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
7316 "
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7317
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7318 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7319
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7320 case $ac_config_files in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7321 "*) 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
7322 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7323
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7324 case $ac_config_headers in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7325 "*) 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
7326 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7327
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7328
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7330 # 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
7331 config_files="$ac_config_files"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7332 config_headers="$ac_config_headers"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7333
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7334 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7335
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7337 ac_cs_usage="\
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7338 \`$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
7339 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
7340 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
7341
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7342 Usage: $0 [OPTION]... [TAG]...
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7343
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7344 -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
7345 -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
7346 --config print configuration, then exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7347 -q, --quiet, --silent
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7348 do not print progress messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7349 -d, --debug don't remove temporary files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7350 --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
7351 --file=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7352 instantiate the configuration file FILE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7353 --header=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7354 instantiate the configuration header FILE
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7355
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7356 Configuration files:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7357 $config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7358
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7359 Configuration headers:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7360 $config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7361
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7362 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
7363
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7364 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7365 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
7366 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7367 ac_cs_version="\\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7368 config.status
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7369 configured by $0, generated by GNU Autoconf 2.69,
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7370 with options \\"\$ac_cs_config\\"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7371
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7372 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7373 This config.status script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7374 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
7375
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7376 ac_pwd='$ac_pwd'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7377 srcdir='$srcdir'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7378 INSTALL='$INSTALL'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7379 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
7380 _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
7381
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7382 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
7383 # The default lists apply if the user does not specify any file.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7384 ac_need_defaults=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7385 while test $# != 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7386 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7387 case $1 in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7388 --*=?*)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7389 ac_option=`expr "X$1" : 'X\([^=]*\)='`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7390 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7391 ac_shift=:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7392 ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7393 --*=)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7394 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
7395 ac_optarg=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7396 ac_shift=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7397 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7398 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7399 ac_option=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7400 ac_optarg=$2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7401 ac_shift=shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7402 ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7403 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7404
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7405 case $ac_option in
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7406 # Handling of the options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7407 -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
7408 ac_cs_recheck=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7409 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7410 $as_echo "$ac_cs_version"; exit ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7411 --config | --confi | --conf | --con | --co | --c )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7412 $as_echo "$ac_cs_config"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7413 --debug | --debu | --deb | --de | --d | -d )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7414 debug=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7415 --file | --fil | --fi | --f )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7416 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7417 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7418 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7419 '') 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
7420 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7421 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
7422 ac_need_defaults=false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7423 --header | --heade | --head | --hea )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7424 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7425 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7426 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7427 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7428 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
7429 ac_need_defaults=false;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7430 --he | --h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7431 # 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
7432 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
7433 Try \`$0 --help' for more information.";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7434 --help | --hel | -h )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7435 $as_echo "$ac_cs_usage"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7437 | -silent | --silent | --silen | --sile | --sil | --si | --s)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7438 ac_cs_silent=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7439
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7440 # This is an error.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7441 -*) 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
7442 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
7443
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7444 *) 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
7445 ac_need_defaults=false ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7446
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7447 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7448 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7449 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7450
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7451 ac_configure_extra_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7452
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7453 if $ac_cs_silent; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7454 exec 6>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7455 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
7456 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7457
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7458 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7459 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
7460 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
7461 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
7462 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7463 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7464 CONFIG_SHELL='$SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7465 export CONFIG_SHELL
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7466 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
7467 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
7468
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7469 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7470 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
7471 exec 5>>config.log
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7472 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7473 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7474 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
7475 ## Running $as_me. ##
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7476 _ASBOX
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7477 $as_echo "$ac_log"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7478 } >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7479
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7480 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7481 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
7482 _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
7483
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7484 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
7485
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7486 # Handling of arguments.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7487 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
7488 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7489 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
7490 "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
7491 "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
7492 "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
7493 "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
7494 "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
7495
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7496 *) 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
7497 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7498 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7499
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7500
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7501 # If the user did not use the arguments to specify the items to instantiate,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7502 # then the envvar interface is used. Set only those that are not.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7503 # We use the long form for the default assignment because of an extremely
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7504 # bizarre bug on SunOS 4.1.3.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7505 if $ac_need_defaults; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7506 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7507 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7508 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7509
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7510 # 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
7511 # 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
7512 # 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
7513 # Hook for its removal unless debugging.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7514 # 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
7515 # after its creation but before its name has been assigned to `$tmp'.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7516 $debug ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7517 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7518 tmp= ac_tmp=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7519 trap 'exit_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7520 : "${ac_tmp:=$tmp}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7521 { 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
7522 ' 0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7523 trap 'as_fn_exit 1' 1 2 13 15
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7524 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7525 # 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
7526
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7527 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7528 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
7529 test -d "$tmp"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7530 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7531 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7532 tmp=./conf$$-$RANDOM
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7533 (umask 077 && mkdir "$tmp")
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7534 } || 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
7535 ac_tmp=$tmp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7536
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7537 # 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
7538 # 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
7539 # 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
7540 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
7541
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7542
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7543 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
7544 # 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
7545 # 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
7546 # 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
7547 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
7548 eval ac_cr=\$\'\\r\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7549 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7550 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
7551 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
7552 ac_cs_awk_cr='\\r'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7553 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7554 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
7555 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7556
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7557 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
7558 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7559
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7560
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
7561 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7562 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
7563 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
7564 echo "_ACEOF"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7565 } >conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7566 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
7567 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
7568 ac_delim='%!_!# '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7569 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
7570 . ./conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7571 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
7572
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7573 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
7574 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
7575 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7576 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
7577 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
7578 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7579 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
7580 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7581 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7582 rm -f conf$$subs.sh
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7583
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7584 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
7585 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
7586 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7587 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7588 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7589 s/^/S["/; s/!.*/"]=/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7590 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7591 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7592 s/^[^!]*!//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7593 :repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7594 t repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7595 s/'"$ac_delim"'$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7596 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7597 :nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7598 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7599 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7600 t more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7601 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7602 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7603 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7604 b repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7605 :more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7606 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7607 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7608 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7609 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7610 t nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7611 :delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7612 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7613 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7614 t more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7615 s/["\\]/\\&/g; s/^/"/; s/$/"/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7616 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7617 b
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7618 :more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7620 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7621 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7622 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7623 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7624 ' <conf$$subs.awk | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7625 /^[^""]/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7626 N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7627 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7628 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7629 ' >>$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
7630 rm -f conf$$subs.awk
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7631 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
7632 _ACAWK
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7633 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
7634 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
7635 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7636
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7637 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7638 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7639 line = $ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7640 nfields = split(line, field, "@")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7641 substed = 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7642 len = length(field[1])
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7643 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
7644 key = field[i]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7645 keylen = length(key)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7646 if (S_is_set[key]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7647 value = S[key]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7648 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
7649 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
7650 substed = 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7651 } else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7652 len += 1 + keylen
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7653 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7654
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7655 print line
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7656 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7657
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7658 _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
7659 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7660 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
7661 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
7662 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
7663 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7664 cat
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7665 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
7666 || 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
7667 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7668
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7669 # 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
7670 # ${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
7671 # 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
7672 # (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
7673 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
7674 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7675 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7676 s///
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7677 s/^/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7678 s/[ ]*$/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7679 s/:\$(srcdir):/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7680 s/:\${srcdir}:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7681 s/:@srcdir@:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7682 s/^:*//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7683 s/:*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7684 x
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7685 s/\(=[ ]*\).*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7686 G
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7687 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7688 s/^[^=]*=[ ]*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7689 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7690 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7691
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7692 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
7693 fi # test -n "$CONFIG_FILES"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7694
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7695 # 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
7696 # 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
7697 # 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
7698 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
7699 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
7700 BEGIN {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7701 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7702
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7703 # 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
7704 # 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
7705 # 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
7706
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7707 # 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
7708 # handling of long lines.
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7709 ac_delim='%!_!# '
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7710 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
7711 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
7712 if test -z "$ac_tt"; then
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7713 break
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7714 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
7715 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
7716 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7717 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7718 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7719 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7720
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7721 # 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
7722 # 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
7723 # newline sequences.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7724
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7725 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
7726 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7727 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7728 t rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7729 :rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7730 s/^[ ]*#[ ]*define[ ][ ]*/ /
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7731 t def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7732 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7733 :def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7734 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7735 t bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7736 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7737 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
7738 D["\1"]=" \3"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7739 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
7740 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7741 :bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7742 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7743 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
7744 D["\1"]=" \3\\\\\\n"\\/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7745 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7746 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
7747 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7748 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7749 :cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7750 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7751 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7752 t clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7753 :clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7754 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7755 t bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7756 s/["\\]/\\&/g; s/^/"/; s/$/"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7757 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7758 :bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7759 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
7760 b cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7761 ' <confdefs.h | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7762 s/'"$ac_delim"'/"\\\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7763 "/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
7764
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7765 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
7766 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
7767 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7768 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7769 /^[\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
7770 line = \$ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7771 split(line, arg, " ")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7772 if (arg[1] == "#") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7773 defundef = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7774 mac1 = arg[3]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7775 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7776 defundef = substr(arg[1], 2)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7777 mac1 = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7778 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7779 split(mac1, mac2, "(") #)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7780 macro = mac2[1]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7781 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
7782 if (D_is_set[macro]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7783 # 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
7784 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
7785 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7786 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7787 # 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
7788 # 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
7789 # 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
7790 if (defundef == "undef") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7791 print "/*", prefix defundef, macro, "*/"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7792 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7793 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7794 }
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 { print }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7797 _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
7798 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7799 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
7800 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
7801 fi # test -n "$CONFIG_HEADERS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7802
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7803
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7804 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
7805 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7806 for ac_tag
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7807 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7808 case $ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7809 :[FHLC]) ac_mode=$ac_tag; continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7810 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7811 case $ac_mode$ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7812 :[FHL]*:*);;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7813 :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
7814 :[FH]-) ac_tag=-:-;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7815 :[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
7816 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7817 ac_save_IFS=$IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7818 IFS=:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7819 set x $ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7820 IFS=$ac_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7821 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7822 ac_file=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7823 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7824
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7825 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7826 :L) ac_source=$1;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7827 :[FH])
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7828 ac_file_inputs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7829 for ac_f
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7830 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7831 case $ac_f in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7832 -) ac_f="$ac_tmp/stdin";;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7833 *) # 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
7834 # (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
7835 # because $ac_f cannot contain `:'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7836 test -f "$ac_f" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7837 case $ac_f in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7838 [\\/$]*) false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7839 *) 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
7840 esac ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7841 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
7842 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7843 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7844 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
7845 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7846
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7847 # 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
7848 # 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
7849 # /* 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
7850 configure_input='Generated from '`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7851 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7852 `' by configure.'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7853 if test x"$ac_file" != x-; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7854 configure_input="$ac_file. $configure_input"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7856 $as_echo "$as_me: creating $ac_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7857 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7858 # 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
7859 case $configure_input in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7860 *\&* | *\|* | *\\* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7861 ac_sed_conf_input=`$as_echo "$configure_input" |
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7862 sed 's/[\\\\&|]/\\\\&/g'`;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7863 *) 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
7864 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7865
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7866 case $ac_tag in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7867 *:-:* | *:-) cat >"$ac_tmp/stdin" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7868 || 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
7869 esac
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7870 ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7871 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7872
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7873 ac_dir=`$as_dirname -- "$ac_file" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7874 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7875 X"$ac_file" : 'X\(//\)[^/]' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7876 X"$ac_file" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7877 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7878 $as_echo X"$ac_file" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7880 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7881 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7882 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7883 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7884 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7885 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7886 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7887 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7888 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7889 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7890 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7891 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7892 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7893 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7894 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7895 s/.*/./; q'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7896 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
7897 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
7898
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7899 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7900 .) 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
7901 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7902 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7903 # A ".." for each directory in $ac_dir_suffix.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7904 ac_top_builddir_sub=`$as_echo "$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
7905 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7906 "") 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
7907 *) 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
7908 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7909 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7910 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7911 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
7912 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7913 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
7914
7d2108cbcd3e Porting DW 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 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7916 .) # 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
7917 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7918 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7919 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7920 [\\/]* | ?:[\\/]* ) # 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
7921 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7922 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7923 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7924 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7925 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
7926 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
7927 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
7928 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7929 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
7930
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7931
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7932 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7933 :F)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7934 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7935 # CONFIG_FILE
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7936 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7937
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7938 case $INSTALL in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7939 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7940 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7941 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7942 _ACEOF
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
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7945 # Neutralize VPATH when `$srcdir' = `.'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7946 # 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
7947 # 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
7948 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
7949 ac_sed_extra="$ac_vpsub
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7950 $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
7951 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7953 :t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7954 /@[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
7955 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
7956 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
7957 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
7958 s&@srcdir@&$ac_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7959 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
7960 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
7961 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
7962 s&@builddir@&$ac_builddir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7963 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
7964 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
7965 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
7966 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7967 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
7968 >$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
7969
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7970
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7971 rm -f "$ac_tmp/stdin"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7972 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7973 -) 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
7974 *) 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
7975 esac \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7976 || 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
7977 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7978 :H)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7979 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7980 # CONFIG_HEADER
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7981 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7982 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
7983 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7984 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7985 && 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
7986 } >"$ac_tmp/config.h" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7987 || 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
7988 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7990 $as_echo "$as_me: $ac_file is unchanged" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7991 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7992 rm -f "$ac_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7993 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
7994 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7995 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7996 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7997 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7998 && 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
7999 || as_fn_error $? "could not create -" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8000 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8001 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8002
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8003
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8004 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8005
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8006 done # for ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8007
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8008
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8009 as_fn_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
8010 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8011 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8012
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8013 test $ac_write_fail = 0 ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8014 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
8015
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
8016
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8017 # configure is writing to config.log, and then calls config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8018 # config.status does its own redirection, appending to config.log.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8019 # Unfortunately, on DOS this fails, as config.log is still kept open
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8020 # by configure, so config.status won't be able to write to it; its
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8021 # output is simply discarded. So we exec the FD to /dev/null,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8022 # effectively closing config.log, so it can be properly (re)opened and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8023 # appended to by config.status. When coming back to configure, we
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8024 # need to make the FD available again.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8025 if test "$no_create" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8026 ac_cs_success=:
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8027 ac_config_status_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8028 test "$silent" = yes &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8029 ac_config_status_args="$ac_config_status_args --quiet"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8030 exec 5>/dev/null
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8031 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8032 exec 5>>config.log
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8033 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8034 # 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
8035 $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
8036 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8037 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8039 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8040 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8041