annotate configure @ 2128:17f5c1c199b4

Mac: Switch to using -weak_framework UserNotifications so binaries will work pre-Mojave when built on Mojave (10.14) or later.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 30 Jun 2020 17:47:07 +0000
parents 37ce3e22ee1a
children 2fb132a1d1fa
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
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
629 DW_DEFINE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
630 DW_DIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
631 DW_SRC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
632 TARGETS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
633 SONAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
634 LIBPREFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
635 LIBSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
636 SOSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
637 SHAREDFLAG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
638 MKDIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
639 MV
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
640 CP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
641 LN
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
642 RM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
643 ARFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
644 PLATCCFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
645 INCLUDES
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
646 SYSCONF_LINK_TARGET_STATIC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
647 SYSCONF_LINK_TARGET_SHARED2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
648 SYSCONF_LINK_TARGET_SHARED
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
649 GDK_IMLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
650 GDK_IMLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
651 IMLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
652 GTK_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
653 GTK_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
654 GTK_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
655 GLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
656 GLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
657 GLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
658 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
659 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
660 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
661 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
662 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
663 XMKMF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
664 EGREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
665 GREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
666 CPP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
667 target_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
668 target_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
669 target_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
670 target
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
671 host_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
672 host_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
673 host_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
674 host
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
675 build_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
676 build_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
677 build_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
678 build
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
679 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
680 INSTALL_SCRIPT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
681 INSTALL_PROGRAM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
682 SVNVERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
683 MAKE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
684 ac_ct_CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
685 CXXFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
686 CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
687 OBJEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
688 EXEEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
689 ac_ct_CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
690 CPPFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
691 LDFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
692 CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
693 CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
694 TARGET2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
695 TARGET
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
696 target_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
697 host_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
698 build_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
699 LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
700 ECHO_T
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
701 ECHO_N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
702 ECHO_C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
703 DEFS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
704 mandir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
705 localedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
706 libdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
707 psdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
708 pdfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
709 dvidir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
710 htmldir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
711 infodir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
712 docdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
713 oldincludedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
714 includedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
715 localstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
716 sharedstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
717 sysconfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
718 datadir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
719 datarootdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
720 libexecdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
721 sbindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
722 bindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
723 program_transform_name
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
724 prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
725 exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
726 PACKAGE_URL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
727 PACKAGE_BUGREPORT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
728 PACKAGE_STRING
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
729 PACKAGE_VERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
730 PACKAGE_TARNAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
731 PACKAGE_NAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
732 PATH_SEPARATOR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
733 SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
734 ac_subst_files=''
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
735 ac_user_opts='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
736 enable_option_checking
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
737 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
738 with_gtk2
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
739 with_deprecated
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
740 with_arch
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
741 with_x
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
742 with_glib_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
743 with_glib_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
744 enable_glibtest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
745 with_gtk_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
746 with_gtk_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
747 enable_gtktest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
748 with_imlib_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
749 with_imlib_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
750 enable_imlibtest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
751 '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
752 ac_precious_vars='build_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
753 host_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
754 target_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
755 CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
756 CFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
757 LDFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
758 LIBS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
759 CPPFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
760 CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
761 CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
762 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
763 CPP
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
764 XMKMF'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
765
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
766
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
767 # Initialize some variables set by options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
768 ac_init_help=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
769 ac_init_version=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
770 ac_unrecognized_opts=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
771 ac_unrecognized_sep=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
772 # The variables have the same names as the options, with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
773 # dashes changed to underlines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
774 cache_file=/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
775 exec_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
776 no_create=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
777 no_recursion=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
778 prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
779 program_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
780 program_suffix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
781 program_transform_name=s,x,x,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
782 silent=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
783 site=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
784 srcdir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
785 verbose=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
786 x_includes=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
787 x_libraries=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
788
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
789 # Installation directory options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
791 # and all the variables that are supposed to be based on exec_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
792 # by default will actually change.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
793 # 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
794 # (The list follows the same order as the GNU Coding Standards.)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
795 bindir='${exec_prefix}/bin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
796 sbindir='${exec_prefix}/sbin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
797 libexecdir='${exec_prefix}/libexec'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
798 datarootdir='${prefix}/share'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
799 datadir='${datarootdir}'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
800 sysconfdir='${prefix}/etc'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
801 sharedstatedir='${prefix}/com'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
802 localstatedir='${prefix}/var'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
803 includedir='${prefix}/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
804 oldincludedir='/usr/include'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
805 docdir='${datarootdir}/doc/${PACKAGE}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
806 infodir='${datarootdir}/info'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
807 htmldir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
808 dvidir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
809 pdfdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
810 psdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
811 libdir='${exec_prefix}/lib'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
812 localedir='${datarootdir}/locale'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
813 mandir='${datarootdir}/man'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
814
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
815 ac_prev=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
816 ac_dashdash=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
817 for ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
818 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
819 # If the previous option needs an argument, assign it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
820 if test -n "$ac_prev"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
821 eval $ac_prev=\$ac_option
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
822 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
823 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
824 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
825
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
826 case $ac_option in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
827 *=?*) 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
828 *=) ac_optarg= ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
829 *) ac_optarg=yes ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
830 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
831
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
832 # Accept the important Cygnus configure options, so we can diagnose typos.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
833
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
834 case $ac_dashdash$ac_option in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
835 --)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
836 ac_dashdash=yes ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
837
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
839 ac_prev=bindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
841 bindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
842
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
843 -build | --build | --buil | --bui | --bu)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
844 ac_prev=build_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
845 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
846 build_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
847
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
848 -cache-file | --cache-file | --cache-fil | --cache-fi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
849 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
850 ac_prev=cache_file ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
851 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
852 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
853 cache_file=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
854
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
855 --config-cache | -C)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
856 cache_file=config.cache ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
857
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
858 -datadir | --datadir | --datadi | --datad)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
859 ac_prev=datadir ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
860 -datadir=* | --datadir=* | --datadi=* | --datad=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
861 datadir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
862
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
863 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
864 | --dataroo | --dataro | --datar)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
865 ac_prev=datarootdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
866 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
867 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
868 datarootdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
869
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
870 -disable-* | --disable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
871 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
872 # 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
873 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
874 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
875 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
876 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
877 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
878 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
879 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
880 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
881 *) 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
882 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
883 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
884 eval enable_$ac_useropt=no ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
885
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
886 -docdir | --docdir | --docdi | --doc | --do)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
887 ac_prev=docdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
888 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
889 docdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
890
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
891 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
892 ac_prev=dvidir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
893 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
894 dvidir=$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
895
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
896 -enable-* | --enable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
897 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
898 # 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
899 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
900 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
901 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
902 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
903 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
904 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
905 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
906 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
907 *) 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
908 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
909 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
910 eval enable_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
911
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
912 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
913 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
914 | --exec | --exe | --ex)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
915 ac_prev=exec_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
916 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
917 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
918 | --exec=* | --exe=* | --ex=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
919 exec_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
920
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
921 -gas | --gas | --ga | --g)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
922 # Obsolete; use --with-gas.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
923 with_gas=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
924
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
925 -help | --help | --hel | --he | -h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
926 ac_init_help=long ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
927 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
928 ac_init_help=recursive ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
929 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
930 ac_init_help=short ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
931
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
932 -host | --host | --hos | --ho)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
933 ac_prev=host_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
934 -host=* | --host=* | --hos=* | --ho=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
935 host_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
936
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
937 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
938 ac_prev=htmldir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
939 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
940 | --ht=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
941 htmldir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
942
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
943 -includedir | --includedir | --includedi | --included | --include \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
944 | --includ | --inclu | --incl | --inc)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
945 ac_prev=includedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
946 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
947 | --includ=* | --inclu=* | --incl=* | --inc=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
948 includedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
949
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
950 -infodir | --infodir | --infodi | --infod | --info | --inf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
951 ac_prev=infodir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
952 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
953 infodir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
954
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
955 -libdir | --libdir | --libdi | --libd)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
956 ac_prev=libdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
957 -libdir=* | --libdir=* | --libdi=* | --libd=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
958 libdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
959
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
960 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
961 | --libexe | --libex | --libe)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
962 ac_prev=libexecdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
963 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
964 | --libexe=* | --libex=* | --libe=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
965 libexecdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
966
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
967 -localedir | --localedir | --localedi | --localed | --locale)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
968 ac_prev=localedir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
969 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
970 localedir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
971
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
972 -localstatedir | --localstatedir | --localstatedi | --localstated \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
973 | --localstate | --localstat | --localsta | --localst | --locals)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
974 ac_prev=localstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
975 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
976 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
977 localstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
978
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
979 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
980 ac_prev=mandir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
981 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
982 mandir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
983
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
984 -nfp | --nfp | --nf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
985 # Obsolete; use --without-fp.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
986 with_fp=no ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
987
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
988 -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
989 | --no-cr | --no-c | -n)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
990 no_create=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
991
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
992 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
993 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
994 no_recursion=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
995
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
996 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
997 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
998 | --oldin | --oldi | --old | --ol | --o)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
999 ac_prev=oldincludedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1000 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1001 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1002 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1003 oldincludedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1004
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1006 ac_prev=prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1008 prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1009
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1010 -program-prefix | --program-prefix | --program-prefi | --program-pref \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1011 | --program-pre | --program-pr | --program-p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1012 ac_prev=program_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1013 -program-prefix=* | --program-prefix=* | --program-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1014 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1015 program_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1016
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1017 -program-suffix | --program-suffix | --program-suffi | --program-suff \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1018 | --program-suf | --program-su | --program-s)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1019 ac_prev=program_suffix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1020 -program-suffix=* | --program-suffix=* | --program-suffi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1021 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1022 program_suffix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1023
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1024 -program-transform-name | --program-transform-name \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1025 | --program-transform-nam | --program-transform-na \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1026 | --program-transform-n | --program-transform- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1027 | --program-transform | --program-transfor \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1028 | --program-transfo | --program-transf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1029 | --program-trans | --program-tran \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1030 | --progr-tra | --program-tr | --program-t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1031 ac_prev=program_transform_name ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1032 -program-transform-name=* | --program-transform-name=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1033 | --program-transform-nam=* | --program-transform-na=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1034 | --program-transform-n=* | --program-transform-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1035 | --program-transform=* | --program-transfor=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1036 | --program-transfo=* | --program-transf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1037 | --program-trans=* | --program-tran=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1038 | --progr-tra=* | --program-tr=* | --program-t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1039 program_transform_name=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1040
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1041 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1042 ac_prev=pdfdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1043 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1044 pdfdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1045
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1046 -psdir | --psdir | --psdi | --psd | --ps)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1047 ac_prev=psdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1048 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1049 psdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1050
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1052 | -silent | --silent | --silen | --sile | --sil)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1053 silent=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1054
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1055 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1056 ac_prev=sbindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1057 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1058 | --sbi=* | --sb=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1059 sbindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1060
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1061 -sharedstatedir | --sharedstatedir | --sharedstatedi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1062 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1063 | --sharedst | --shareds | --shared | --share | --shar \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1064 | --sha | --sh)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1065 ac_prev=sharedstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1066 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1067 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1068 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1069 | --sha=* | --sh=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1070 sharedstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1071
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1072 -site | --site | --sit)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1073 ac_prev=site ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1074 -site=* | --site=* | --sit=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1075 site=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1076
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1078 ac_prev=srcdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1080 srcdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1081
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1082 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1083 | --syscon | --sysco | --sysc | --sys | --sy)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1084 ac_prev=sysconfdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1085 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1086 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1087 sysconfdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1088
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1089 -target | --target | --targe | --targ | --tar | --ta | --t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1090 ac_prev=target_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1091 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1092 target_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1093
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1094 -v | -verbose | --verbose | --verbos | --verbo | --verb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1095 verbose=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1096
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1097 -version | --version | --versio | --versi | --vers | -V)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1098 ac_init_version=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1099
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1100 -with-* | --with-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1101 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1102 # 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
1103 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
1104 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
1105 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1106 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
1107 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1108 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1109 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1110 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1111 *) 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
1112 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1113 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1114 eval with_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1115
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1116 -without-* | --without-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1117 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1118 # 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
1119 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
1120 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
1121 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1122 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
1123 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1124 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1125 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1126 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1127 *) 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
1128 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1129 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1130 eval with_$ac_useropt=no ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1131
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1132 --x)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1133 # Obsolete; use --with-x.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1134 with_x=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1135
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1137 | --x-incl | --x-inc | --x-in | --x-i)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1138 ac_prev=x_includes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1141 x_includes=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1142
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1145 ac_prev=x_libraries ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1148 x_libraries=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1149
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1150 -*) 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
1151 Try \`$0 --help' for more information"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1152 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1153
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1154 *=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1155 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1156 # 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
1157 case $ac_envvar in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1158 '' | [0-9]* | *[!_$as_cr_alnum]* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1159 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
1160 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1161 eval $ac_envvar=\$ac_optarg
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1162 export $ac_envvar ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1163
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1164 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1165 # 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
1166 $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
1167 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
1168 $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
1169 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1170 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1171
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1172 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1173 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1174
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1175 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1176 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
1177 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
1178 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1179
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1180 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
1181 case $enable_option_checking in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1182 no) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1183 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
1184 *) $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
1185 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1186 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1187
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1188 # Check all directory arguments for consistency.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1189 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
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2128
17f5c1c199b4 Mac: Switch to using -weak_framework UserNotifications so binaries will work
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2111
diff changeset
1192 libdir localedir mandir
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1193 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1194 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
1195 # Remove trailing slashes.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1196 case $ac_val in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1197 */ )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1198 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
1199 eval $ac_var=\$ac_val;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1200 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1201 # 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
1202 case $ac_val in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1203 [\\/$]* | ?:[\\/]* ) continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1204 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
1205 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1206 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1207 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1208
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1209 # There might be people who depend on the old broken behavior: `$host'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1210 # 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
1211 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1212 build=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1213 host=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1214 target=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1215
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1216 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1217 if test "x$host_alias" != x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1218 if test "x$build_alias" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1219 cross_compiling=maybe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1220 elif test "x$build_alias" != "x$host_alias"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1221 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1222 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1223 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1224
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1225 ac_tool_prefix=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1226 test -n "$host_alias" && ac_tool_prefix=$host_alias-
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1227
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1228 test "$silent" = yes && exec 6>/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1229
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1230
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1232 ac_ls_di=`ls -di .` &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1233 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
1234 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
1235 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
1236 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
1237
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1238
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1239 # Find the source files, if location was not specified.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1240 if test -z "$srcdir"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1241 ac_srcdir_defaulted=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1242 # 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
1243 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
1244 $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
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1246 X"$as_myself" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1247 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
1248 $as_echo X"$as_myself" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1250 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1251 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1252 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1253 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1254 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1255 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1256 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1257 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1258 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1259 q
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 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1262 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1263 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1264 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1265 s/.*/./; q'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1266 srcdir=$ac_confdir
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1267 if test ! -r "$srcdir/$ac_unique_file"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1268 srcdir=..
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1269 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1270 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1271 ac_srcdir_defaulted=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1272 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1273 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
1274 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
1275 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
1276 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1277 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
1278 ac_abs_confdir=`(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1279 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
1280 pwd)`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1281 # When building in place, set srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1282 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
1283 srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1284 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1285 # Remove unnecessary trailing slashes from srcdir.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1286 # 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
1287 # mess up M-x gdb in Emacs.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1288 case $srcdir in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1289 */) 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
1290 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1291 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
1292 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
1293 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
1294 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
1295 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
1296 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1297
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1298 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1299 # Report the --help message.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1300 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1301 if test "$ac_init_help" = "long"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1302 # Omit some internal or obsolete options to make the list less imposing.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1303 # 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
1304 cat <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1305 \`configure' configures this package to adapt to many kinds of systems.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1306
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1308
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1311
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1312 Defaults for the options are specified in brackets.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1313
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1314 Configuration:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1315 -h, --help display this help and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1316 --help=short display options specific to this package
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1317 --help=recursive display the short help of all the included packages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1318 -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
1319 -q, --quiet, --silent do not print \`checking ...' messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1320 --cache-file=FILE cache test results in FILE [disabled]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1321 -C, --config-cache alias for \`--cache-file=config.cache'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1322 -n, --no-create do not create output files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1324
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1325 Installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1326 --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
1327 [$ac_default_prefix]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1328 --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
1329 [PREFIX]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1330
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1331 By default, \`make install' will install all the files in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1334 for instance \`--prefix=\$HOME'.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1335
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1336 For better control, use the options below.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1337
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1338 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
1339 --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
1340 --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
1341 --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
1342 --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
1343 --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
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1345 --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
1346 --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
1347 --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
1348 --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
1349 --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
1350 --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
1351 --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
1352 --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
1353 --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
1354 --htmldir=DIR html documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1355 --dvidir=DIR dvi documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1356 --pdfdir=DIR pdf documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1357 --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
1358 _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
1359
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1360 cat <<\_ACEOF
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1361
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
1362 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
1363 --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
1364 --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
1365
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1366 System types:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1367 --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
1368 --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
1369 --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
1370 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1371 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1372
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1373 if test -n "$ac_init_help"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1374
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1375 cat <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1376
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1377 Optional Features:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1378 --disable-option-checking ignore unrecognized --enable/--with options
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1379 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1380 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1381 --disable-glibtest Do not try to compile and run a test GLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1382 --disable-gtktest Do not try to compile and run a test GTK program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1383 --disable-imlibtest Do not try to compile and run a test IMLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1384
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1385 Optional Packages:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1386 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1387 --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
1388 --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
1389 --with-gtk2 specify this to build with GTK+ 2.x if available
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
1390 --with-deprecated specify this to build with deprecated functions
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
1391 --with-arch specify architecture: one of all, 32bit, 64bit, intel, ppc, ppc64, x86_64, i386
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1392 --with-x use the X Window System
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1393 --with-glib-prefix=PFX Prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1394 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1395 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1396 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1397 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1398 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1399
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1400 Some influential environment variables:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1401 CC C compiler command
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1402 CFLAGS C compiler flags
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1404 nonstandard directory <lib dir>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1405 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
1406 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
1407 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
1408 CXX C++ compiler command
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1409 CXXFLAGS C++ compiler flags
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1410 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
1411 XMKMF Path to xmkmf, Makefile generator for X Window System
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1412
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1413 Use these variables to override the choices made by `configure' or to help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1414 it to find libraries and programs with nonstandard names/locations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1415
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1416 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
1417 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1418 ac_status=$?
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1419 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1420
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1421 if test "$ac_init_help" = "recursive"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1422 # 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
1423 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
1424 test -d "$ac_dir" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1425 { 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
1426 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
1427 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
1428
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1429 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1430 .) 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
1431 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1432 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
1433 # 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
1434 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
1435 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1436 "") 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
1437 *) 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
1438 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1439 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1440 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1441 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
1442 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1443 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
1444
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1445 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1446 .) # 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
1447 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1448 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1449 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1450 [\\/]* | ?:[\\/]* ) # 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
1451 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1452 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1453 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1454 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1455 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
1456 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
1457 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
1458 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1459 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
1460
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1461 cd "$ac_dir" || { ac_status=$?; continue; }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1462 # Check for guested configure.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1463 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
1464 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1466 elif test -f "$ac_srcdir/configure"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1467 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1468 $SHELL "$ac_srcdir/configure" --help=recursive
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1469 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1470 $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
1471 fi || ac_status=$?
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1472 cd "$ac_pwd" || { ac_status=$?; break; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1473 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1474 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1475
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1476 test -n "$ac_init_help" && exit $ac_status
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1477 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
1478 cat <<\_ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1479 configure
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1480 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
1481
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1482 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1483 This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1484 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
1485 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1486 exit
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1487 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1488
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1489 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1490 ## Autoconf initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1491 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1492
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1493 # 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
1494 # --------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1495 # 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
1496 ac_fn_c_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1497 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1498 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
1499 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1500 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1501 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1503 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1504 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1505 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
1506 $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
1507 (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
1508 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1509 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
1510 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
1511 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1512 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
1513 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1514 $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
1515 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1516 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
1517 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1518 } && 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
1519 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1520 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1521 $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
1522 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
1523
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1524 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1525 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1526 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
1527 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
1528
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1529 } # ac_fn_c_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1530
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1531 # 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
1532 # ----------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1533 # 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
1534 ac_fn_cxx_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1535 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1536 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
1537 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1538 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1539 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1541 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1542 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1543 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
1544 $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
1545 (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
1546 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1547 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
1548 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
1549 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1550 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
1551 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1552 $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
1553 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1554 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
1555 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1556 } && 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
1557 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1558 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1559 $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
1560 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
1561
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1562 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1563 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1564 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
1565 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
1566
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1567 } # ac_fn_cxx_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1568
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1569 # 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
1570 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1571 # 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
1572 ac_fn_c_try_cpp ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1573 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1574 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
1575 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
1576 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1578 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1579 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1580 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
1581 $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
1582 (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
1583 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1584 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
1585 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
1586 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1587 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
1588 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1589 $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
1590 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
1591 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
1592 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1593 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1594 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1595 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1596 $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
1597 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
1598
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1599 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1600 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1601 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
1602 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
1603
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1604 } # ac_fn_c_try_cpp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1605
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1606 # 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
1607 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1608 # 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
1609 # that executables *can* be run.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1610 ac_fn_c_try_run ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1611 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1612 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
1613 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1614 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1616 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1617 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1618 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
1619 $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
1620 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1621 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1622 $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
1623 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
1624 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1626 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1627 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1628 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
1629 $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
1630 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1631 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1632 $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
1633 test $ac_status = 0; }; }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1634 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1635 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1636 $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
1637 $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
1638 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
1639
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1640 ac_retval=$ac_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1641 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1642 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
1643 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
1644 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
1645
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1646 } # ac_fn_c_try_run
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1647
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1648 # 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
1649 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1650 # 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
1651 ac_fn_c_try_link ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1652 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1654 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
1655 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1656 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1658 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1659 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1660 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
1661 $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
1662 (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
1663 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1664 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
1665 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
1666 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1667 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
1668 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1669 $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
1670 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1671 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
1672 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1673 } && test -s conftest$ac_exeext && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1674 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
1675 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
1676 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1677 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1678 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1679 $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
1680 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
1681
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1682 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1683 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1684 # 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
1685 # 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
1686 # 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
1687 # 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
1688 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
1689 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
1690 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
1691
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1692 } # ac_fn_c_try_link
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1693
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1694 # 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
1695 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1696 # 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
1697 # 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
1698 # accordingly.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1699 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
1700 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1701 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
1702 if eval \${$3+:} false; then :
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}: checking for $2" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1704 $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
1705 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1706 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1707 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1708 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1709 { $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
1710 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1711 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1712 # Is the header compilable?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1713 { $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
1714 $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
1715 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
1716 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1717 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1718 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1719 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1720 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
1721 ac_header_compiler=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1722 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1723 ac_header_compiler=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1724 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1725 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
1726 { $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
1727 $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
1728
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1729 # Is the header present?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1730 { $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
1731 $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
1732 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
1733 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1734 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1735 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1736 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
1737 ac_header_preproc=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1738 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1739 ac_header_preproc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1740 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1741 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
1742 { $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
1743 $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
1744
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1745 # So? What about this header?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1746 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
1747 yes:no: )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1748 { $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
1749 $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
1750 { $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
1751 $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
1752 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1753 no:yes:* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1754 { $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
1755 $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
1756 { $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
1757 $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
1758 { $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
1759 $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
1760 { $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
1761 $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
1762 { $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
1763 $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
1764 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1765 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1766 { $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
1767 $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
1768 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1769 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1770 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1771 eval "$3=\$ac_header_compiler"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1772 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1773 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1774 { $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
1775 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1776 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1777 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
1778
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1779 } # 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
1780
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1781 # 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
1782 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1783 # 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
1784 # 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
1785 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
1786 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1787 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
1788 { $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
1789 $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
1790 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1791 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1792 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1793 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
1794 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1795 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1796 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1797 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1798 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
1799 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1800 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1801 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1802 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1803 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
1804 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1805 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1806 { $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
1807 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1808 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
1809
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1810 } # 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
1811
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1812 # 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
1813 # ----------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1814 # 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
1815 ac_fn_c_check_func ()
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 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
1818 { $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
1819 $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
1820 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1821 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1822 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1823 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
1824 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1825 /* 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
1826 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
1827 #define $2 innocuous_$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1828
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1829 /* 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
1830 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
1831 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
1832 <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
1833
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1834 #ifdef __STDC__
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1835 # include <limits.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1836 #else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1837 # include <assert.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1838 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1839
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1840 #undef $2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1841
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1842 /* 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
1843 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
1844 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
1845 #ifdef __cplusplus
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1846 extern "C"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1847 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1848 char $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1849 /* 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
1850 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
1851 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
1852 #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
1853 choke me
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1854 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1855
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1856 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1857 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1858 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1859 return $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1860 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1861 return 0;
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 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1864 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
1865 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1866 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1867 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1868 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1869 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
1870 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
1871 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1872 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1873 { $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
1874 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1875 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
1876
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1877 } # ac_fn_c_check_func
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1878 cat >config.log <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1879 This file contains any messages produced by compilers while
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1880 running configure, to aid debugging if configure makes a mistake.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1881
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1882 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
1883 generated by GNU Autoconf 2.69. Invocation command line was
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1884
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1885 $ $0 $@
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1886
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1887 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1888 exec 5>>config.log
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1889 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1890 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
1891 ## --------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1892 ## 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
1893 ## --------- ##
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1894
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1895 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1896 uname -m = `(uname -m) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1897 uname -r = `(uname -r) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1898 uname -s = `(uname -s) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1899 uname -v = `(uname -v) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1900
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1901 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1902 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1903
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1904 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1905 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1906 /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
1907 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1908 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1909 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1910 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1911
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1912 _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
1913
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1914 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
1915 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
1916 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
1917 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
1918 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
1919 $as_echo "PATH: $as_dir"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1920 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1921 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
1922
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1923 } >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1924
120
7d2108cbcd3e Porting DW 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 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
1926
7d2108cbcd3e Porting DW 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
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1928 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1929 ## 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
1930 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1931
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1932 _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
1933
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1934
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1935 # Keep a trace of the command line.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1936 # 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
1937 # Strip out --silent because we don't want to record it for future runs.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1938 # 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
1939 # Make two passes to allow for proper duplicate-argument suppression.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1940 ac_configure_args=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1941 ac_configure_args0=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1942 ac_configure_args1=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1943 ac_must_keep_next=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1944 for ac_pass in 1 2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1945 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1946 for ac_arg
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1947 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1948 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1949 -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
1950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1951 | -silent | --silent | --silen | --sile | --sil)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1952 continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1953 *\'*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1954 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
1955 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1956 case $ac_pass in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1957 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
1958 2)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1959 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
1960 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
1961 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
1962 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1963 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1964 *=* | --config-cache | -C | -disable-* | --disable-* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1965 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1966 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1967 | -with-* | --with-* | -without-* | --without-* | --x)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1968 case "$ac_configure_args0 " in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1969 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1970 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1971 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1972 -* ) ac_must_keep_next=true ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1973 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1974 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1975 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
1976 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1977 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1978 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1979 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1980 { 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
1981 { ac_configure_args1=; unset ac_configure_args1;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1982
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1983 # When interrupted or exit'd, cleanup temporary files, and complete
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1984 # config.log. We remove comments because anyway the quotes in there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1985 # would cause problems or look ugly.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1986 # 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
1987 # 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
1988 trap 'exit_status=$?
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1989 # 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
1990 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1991 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1992
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1993 $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
1994 ## Cache variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1995 ## ---------------- ##"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1996 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
1997 # 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
1998 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1999 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
2000 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2001 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2002 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2003 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2004 *_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
2005 $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
2006 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2007 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2008 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2009 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
2010 *) { eval $ac_var=; unset $ac_var;} ;;
622
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 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2013 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2014 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2015 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
2016 *${as_nl}ac_space=\ *)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2017 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2018 "s/'\''/'\''\\\\'\'''\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2019 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
2020 ;; #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2021 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2023 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2024 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2025 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2026 )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2027 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2028
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2029 $as_echo "## ----------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2030 ## Output variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2031 ## ----------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2032 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2033 for ac_var in $ac_subst_vars
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2034 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2035 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2036 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2037 *\'\''*) 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
2038 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2039 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2040 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
2041 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2042
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2043 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
2044 $as_echo "## ------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2045 ## File substitutions. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2046 ## ------------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2047 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2048 for ac_var in $ac_subst_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2049 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2050 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2051 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2052 *\'\''*) 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
2053 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2054 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2055 done | sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2056 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2057 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2058
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2059 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
2060 $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
2061 ## confdefs.h. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2062 ## ----------- ##"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2063 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2064 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
2065 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
2066 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
2067 test "$ac_signal" != 0 &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2068 $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
2069 $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
2070 } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2071 rm -f core *.core core.conftest.* &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2072 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2073 exit $exit_status
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2074 ' 0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2075 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
2076 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2077 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2078 ac_signal=0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2079
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2080 # 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
2081 rm -f -r conftest* confdefs.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2082
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2083 $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
2084
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2085 # 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
2086
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2087 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
2088 #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
2089 _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
2090
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2091 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
2092 #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
2093 _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
2094
7d2108cbcd3e Porting DW 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 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
2096 #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
2097 _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
2098
7d2108cbcd3e Porting DW 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 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
2100 #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
2101 _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
2102
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2103 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2105 _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
2106
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2107 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2108 #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
2109 _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
2110
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2111
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2112 # 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
2113 # 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
2114 ac_site_file1=NONE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2115 ac_site_file2=NONE
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2116 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
2117 # 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
2118 case $CONFIG_SITE in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2119 -*) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2120 */*) ac_site_file1=$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2121 *) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2122 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2123 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
2124 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
2125 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
2126 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2127 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
2128 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
2129 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2130 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
2131 do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2132 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
2133 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
2134 { $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
2135 $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
2136 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
2137 . "$ac_site_file" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2138 || { { $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
2139 $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
2140 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
2141 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2142 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2143 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2144
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2145 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
2146 # 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
2147 # 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
2148 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
2149 { $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
2150 $as_echo "$as_me: loading cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2151 case $cache_file in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2152 [\\/]* | ?:[\\/]* ) . "$cache_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2153 *) . "./$cache_file";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2154 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2155 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2156 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2157 { $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
2158 $as_echo "$as_me: creating cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2159 >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2160 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2161
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2162 # Check that the precious variables saved in the cache have kept the same
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2163 # value.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2164 ac_cache_corrupted=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2165 for ac_var in $ac_precious_vars; do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2166 eval ac_old_set=\$ac_cv_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2167 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
2168 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
2169 eval ac_new_val=\$ac_env_${ac_var}_value
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2170 case $ac_old_set,$ac_new_set in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2171 set,)
1596
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: \`$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
2173 $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
2174 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2175 ,set)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2176 { $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
2177 $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
2178 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2179 ,);;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2180 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2181 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
2182 # 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
2183 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
2184 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
2185 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
2186 { $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
2187 $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
2188 ac_cache_corrupted=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2189 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2190 { $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
2191 $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
2192 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
2193 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2194 { $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
2195 $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
2196 { $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
2197 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2198 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2199 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
2200 # 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
2201 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
2202 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
2203 *\'*) 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
2204 *) 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
2205 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
2206 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
2207 *" '$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
2208 *) 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
2209 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2210 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2211 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2212 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
2213 { $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
2214 $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
2215 { $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
2216 $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
2217 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
2218 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2219 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2220 ## Main body of script. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2221 ## -------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2222
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2223 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2224 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2228
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2229
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2230 ac_config_headers="$ac_config_headers config.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2231
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2232
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
2233 TARGET="dwindows"
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2234 TARGET2="dwcompat"
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2235
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2236
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2237
1109
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2238
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2239
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
2240 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
2241 DW_SRC=dw.c
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
2242 DW_DEFINE=__UNIX__
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2243 SHAREDFLAG=-shared
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
2244 SOSUFFIX=so
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2245 LIBSUFFIX=a
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2246 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
2247 INSTALL_TEST="installdwtest"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2248 INCLUDES="-I."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2249
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2250 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2251 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2255 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2256 # 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
2257 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
2258 { $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
2259 $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
2260 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
2261 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2262 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2263 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2264 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2265 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
2266 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
2267 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
2268 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
2269 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
2270 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
2271 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
2272 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
2273 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
2274 $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
2275 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
2276 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
2277 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2278 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2279 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2280
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2281 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2282 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2283 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2284 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
2285 { $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
2286 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2287 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2288 { $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
2289 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2290 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2291
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2292
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2293 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2294 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2295 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2296 # Extract the first word of "gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2297 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
2298 { $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
2299 $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
2300 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
2301 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2302 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2303 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2304 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2305 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
2306 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
2307 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
2308 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
2309 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
2310 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
2311 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
2312 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
2313 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
2314 $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
2315 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
2316 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
2317 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2318 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2319 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2320
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2321 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2322 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2324 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
2325 { $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
2326 $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
2327 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2328 { $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
2329 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2330 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2331
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2332 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
2333 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2334 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2335 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2336 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2337 { $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
2338 $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
2339 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2340 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2341 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2342 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2343 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2344 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2345 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2346
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2347 if test -z "$CC"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2348 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2349 # 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
2350 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
2351 { $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
2352 $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
2353 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
2354 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2355 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2356 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2358 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
2359 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
2360 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
2361 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
2362 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
2363 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
2364 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
2365 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
2366 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
2367 $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
2368 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
2369 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
2370 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2371 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2372 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2373
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2374 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2375 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2376 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2377 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
2378 { $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
2379 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2380 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2381 { $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
2382 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2383 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2384
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2385
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2386 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2387 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2388 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2389 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2390 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
2391 { $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
2392 $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
2393 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
2394 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2395 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2396 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2397 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2398 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2399 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
2400 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
2401 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
2402 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
2403 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
2404 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
2405 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
2406 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
2407 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
2408 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
2409 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
2410 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
2411 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
2412 $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
2413 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
2414 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
2415 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2416 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2417 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2418
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2419 if test $ac_prog_rejected = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2420 # We found a bogon in the path, so make sure we never use it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2421 set dummy $ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2422 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2423 if test $# != 0; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2424 # We chose a different compiler from the bogus one.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2425 # However, it has the same basename, so the bogon will be chosen
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2426 # first if we set CC to just the basename; use the full file name.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2427 shift
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2428 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2429 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2430 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2431 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2432 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2433 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2434 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
2435 { $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
2436 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2437 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2438 { $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
2439 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2440 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2441
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2442
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2443 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2444 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2445 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
2446 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2447 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2448 # 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
2449 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
2450 { $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
2451 $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
2452 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
2453 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2454 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2455 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2456 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2457 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
2458 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
2459 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
2460 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
2461 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
2462 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
2463 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
2464 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
2465 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
2466 $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
2467 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
2468 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
2469 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2470 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2471 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2472
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2473 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2474 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2475 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2476 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
2477 { $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
2478 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2479 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2480 { $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
2481 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2482 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2483
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2484
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2485 test -n "$CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2486 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2487 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2488 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2489 ac_ct_CC=$CC
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2490 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2491 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2492 # 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
2493 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
2494 { $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
2495 $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
2496 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
2497 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2498 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2499 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2501 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
2502 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
2503 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
2504 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
2505 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
2506 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
2507 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
2508 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
2509 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
2510 $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
2511 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
2512 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
2513 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2514 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2515 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2516
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2517 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2518 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2520 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
2521 { $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
2522 $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
2523 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2524 { $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
2525 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2526 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2527
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2528
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2529 test -n "$ac_ct_CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2530 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2531
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2532 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
2533 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2534 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2535 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2536 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2537 { $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
2538 $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
2539 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2540 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2541 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2542 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2543 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2544
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2545 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2546
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2547
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2548 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
2549 $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
2550 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
2551 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2552
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2553 # 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
2554 $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
2555 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2556 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2557 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
2558 { { 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
2559 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2561 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2562 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2563 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
2564 $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
2565 (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
2566 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2567 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
2568 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2569 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2570 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2571 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2572 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2573 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
2574 $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
2575 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2576 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2577
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2578 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
2579 /* 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
2580
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2581 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2582 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2583 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2584
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2585 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2586 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2587 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2588 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2589 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
2590 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
2591 # 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
2592 # It will help us diagnose broken compilers, and finding out an intuition
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2593 # of exeext.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2594 { $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
2595 $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
2596 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
2597
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2598 # The possible output files:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2599 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
2600
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2601 ac_rmfiles=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2602 for ac_file in $ac_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2603 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2604 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2605 *.$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
2606 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2607 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2608 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2609 rm -f $ac_rmfiles
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2610
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2611 if { { ac_try="$ac_link_default"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2612 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2614 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2615 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2616 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
2617 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2618 (eval "$ac_link_default") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2619 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2620 $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
2621 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2622 # 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
2623 # 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
2624 # 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
2625 # 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
2626 # Autoconf.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2627 for ac_file in $ac_files ''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2628 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2629 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2630 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2631 *.$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
2632 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2633 [ab].out )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2634 # 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
2635 # certainly right.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2636 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2637 *.* )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2638 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
2639 then :; else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2640 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2641 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2642 # 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
2643 # 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
2644 # 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
2645 # 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
2646 # actually working.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2647 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2648 * )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2649 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2650 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2651 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2652 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
2653
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2654 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2655 ac_file=''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2656 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2657 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
2658 { $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
2659 $as_echo "no" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2660 $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
2661 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2662
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2663 { { $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
2664 $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
2665 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
2666 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
2667 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2668 { $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
2669 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2670 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2671 { $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
2672 $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
2673 { $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
2674 $as_echo "$ac_file" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2675 ac_exeext=$ac_cv_exeext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2676
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2677 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
2678 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
2679 { $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
2680 $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
2681 if { { ac_try="$ac_link"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2682 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2684 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2685 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2686 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
2687 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2688 (eval "$ac_link") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2689 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2690 $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
2691 test $ac_status = 0; }; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2692 # If both `conftest.exe' and `conftest' are `present' (well, observable)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2693 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2694 # work properly (i.e., refer to `conftest.exe'), while it won't with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2695 # `rm'.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2696 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
2697 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2698 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2700 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2701 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2702 * ) break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2703 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2704 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2705 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2706 { { $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
2707 $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
2708 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
2709 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
2710 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2711 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
2712 { $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
2713 $as_echo "$ac_cv_exeext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2714
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2715 rm -f conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2716 EXEEXT=$ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2717 ac_exeext=$EXEEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2718 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
2719 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2720 #include <stdio.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2721 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2722 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2723 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2724 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
2725 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
2726
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2727 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2728 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2729 }
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
2730 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2731 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
2732 # 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
2733 # 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
2734 { $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
2735 $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
2736 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
2737 { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2738 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2740 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2741 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2742 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
2743 $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
2744 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2745 ac_status=$?
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}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2747 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2748 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
2749 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2751 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2752 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2753 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
2754 $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
2755 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2756 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2757 $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
2758 test $ac_status = 0; }; }; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2759 cross_compiling=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2760 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2761 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
2762 cross_compiling=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2763 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2764 { { $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
2765 $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
2766 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
2767 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
2768 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
2769 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2770 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2771 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2772 { $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
2773 $as_echo "$cross_compiling" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2774
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2775 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
2776 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
2777 { $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
2778 $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
2779 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
2780 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2781 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2782 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
2783 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2784
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2785 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2786 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2787 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2788
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2789 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2790 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2791 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2792 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2793 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
2794 if { { ac_try="$ac_compile"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2795 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2797 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2798 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2799 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
2800 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2801 (eval "$ac_compile") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2802 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2803 $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
2804 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2805 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
2806 test -f "$ac_file" || continue;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2807 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2809 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2810 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2811 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2812 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2813 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2814 $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
2815 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2816
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2817 { { $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
2818 $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
2819 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
2820 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
2821 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2822 rm -f conftest.$ac_cv_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2823 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2824 { $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
2825 $as_echo "$ac_cv_objext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2826 OBJEXT=$ac_cv_objext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2827 ac_objext=$OBJEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2828 { $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
2829 $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
2830 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
2831 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2832 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2833 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
2834 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2835
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2836 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2837 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2838 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2839 #ifndef __GNUC__
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2840 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2841 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2842
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2843 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2844 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2845 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2846 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2847 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2848 ac_compiler_gnu=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2849 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2850 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2851 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2853 ac_cv_c_compiler_gnu=$ac_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2854
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2855 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2856 { $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
2857 $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
2858 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
2859 GCC=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2860 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2861 GCC=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2862 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2863 ac_test_CFLAGS=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2864 ac_save_CFLAGS=$CFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2865 { $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
2866 $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
2867 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
2868 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2869 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2870 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
2871 ac_c_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2872 ac_cv_prog_cc_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2873 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2874 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
2875 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2876
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2877 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2878 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2879 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2880
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2881 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2882 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2883 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2884 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2885 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2886 ac_cv_prog_cc_g=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2887 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2888 CFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2889 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
2890 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2891
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2892 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2893 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2894 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2895
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2896 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2897 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2898 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2899 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2900 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
2901
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2902 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2903 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
2904 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2905 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
2906 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2907
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2908 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2909 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2910 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2911
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2912 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2913 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2914 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2915 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2916 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
2917 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
2918 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2919 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
2920 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2921 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
2922 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2923 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
2924 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
2925 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2926 { $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
2927 $as_echo "$ac_cv_prog_cc_g" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2928 if test "$ac_test_CFLAGS" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2929 CFLAGS=$ac_save_CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2930 elif test $ac_cv_prog_cc_g = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2931 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2932 CFLAGS="-g -O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2933 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2934 CFLAGS="-g"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2935 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2936 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2937 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2938 CFLAGS="-O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2939 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2940 CFLAGS=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2941 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2942 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2943 { $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
2944 $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
2945 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
2946 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2947 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2948 ac_cv_prog_cc_c89=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2949 ac_save_CC=$CC
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2950 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
2951 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2952 #include <stdarg.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2953 #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
2954 struct stat;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2955 /* 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
2956 struct buf { int x; };
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2957 FILE * (*rcsopen) (struct buf *, struct stat *, int);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2958 static char *e (p, i)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2959 char **p;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2960 int i;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2961 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2962 return p[i];
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2963 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2964 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
2965 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2966 char *s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2967 va_list v;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2968 va_start (v,p);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2969 s = g (p, va_arg (v,int));
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2970 va_end (v);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2971 return s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2972 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2973
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2974 /* 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
2975 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
2976 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
2977 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
2978 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
2979 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
2980 that's true only with -std. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2981 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
2982
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2983 /* 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
2984 inside strings and character constants. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2985 #define FOO(x) 'x'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2986 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
2987
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2988 int test (int i, double x);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2989 struct s1 {int (*f) (int a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2990 struct s2 {int (*f) (double a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2991 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
2992 int argc;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2993 char **argv;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2994 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2995 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2996 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2997 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
2998 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2999 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3000 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3001 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3002 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
3003 -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
3004 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3005 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
3006 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
3007 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
3008 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3009 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
3010 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
3011 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3012 rm -f conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3013 CC=$ac_save_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3014
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3015 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3016 # AC_CACHE_VAL
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3017 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
3018 x)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3019 { $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
3020 $as_echo "none needed" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3021 xno)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3022 { $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
3023 $as_echo "unsupported" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3024 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3025 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
3026 { $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
3027 $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
3028 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3029 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
3030
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3031 fi
622
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 ac_ext=c
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3034 ac_cpp='$CPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3035 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
3036 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
3037 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
3038
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3039 ac_ext=cpp
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3040 ac_cpp='$CXXCPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3041 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
3042 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
3043 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
3044 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3045 if test -n "$CCC"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3046 CXX=$CCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3047 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3048 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3049 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
3050 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3051 # 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
3052 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
3053 { $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
3054 $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
3055 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
3056 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3057 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3058 if test -n "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3059 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
3060 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3062 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3063 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3064 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3065 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
3066 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
3067 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
3068 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
3069 $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
3070 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3071 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3072 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3073 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3074 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3075
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3076 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3077 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3078 CXX=$ac_cv_prog_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3079 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
3080 { $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
3081 $as_echo "$CXX" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3082 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3083 { $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
3084 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3085 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3086
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3087
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3088 test -n "$CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3089 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3090 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3091 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3092 ac_ct_CXX=$CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3093 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
3094 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3095 # 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
3096 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
3097 { $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
3098 $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
3099 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
3100 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3101 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3102 if test -n "$ac_ct_CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3103 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
3104 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3106 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3107 do
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 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
3110 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
3111 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
3112 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
3113 $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
3114 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3115 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3116 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3117 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3118 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3119
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3120 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3121 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3122 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
3123 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
3124 { $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
3125 $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
3126 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3127 { $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
3128 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3129 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3130
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3131
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3132 test -n "$ac_ct_CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3133 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3134
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3135 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
3136 CXX="g++"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3137 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3138 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3139 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3140 { $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
3141 $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
3142 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3143 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3144 CXX=$ac_ct_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3145 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3146 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3147
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3148 fi
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 # 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
3151 $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
3152 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3153 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3154 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
3155 { { 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
3156 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3158 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3159 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3160 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
3161 $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
3162 (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
3163 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3164 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
3165 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3166 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3167 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3168 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3169 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3170 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
3171 $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
3172 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3173 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3174
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3175 { $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
3176 $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
3177 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
3178 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3179 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3180 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
3181 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3182
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3183 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3184 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3185 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3186 #ifndef __GNUC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3187 choke me
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3188 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3189
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3190 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3191 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3192 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3193 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3194 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
3195 ac_compiler_gnu=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3196 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3197 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3198 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3199 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
3200 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
3201
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3202 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3203 { $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
3204 $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
3205 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
3206 GXX=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3207 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3208 GXX=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3209 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3210 ac_test_CXXFLAGS=${CXXFLAGS+set}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3211 ac_save_CXXFLAGS=$CXXFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3212 { $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
3213 $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
3214 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
3215 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3216 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3217 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
3218 ac_cxx_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3219 ac_cv_prog_cxx_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3220 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3221 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
3222 /* end confdefs.h. */
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 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3225 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3226 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3227
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3228 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3229 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3230 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3231 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3232 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
3233 ac_cv_prog_cxx_g=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3234 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3235 CXXFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3236 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
3237 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3238
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3239 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3240 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3241 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3242
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3243 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3244 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3245 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3246 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3247 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
3248
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3249 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3250 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
3251 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3252 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
3253 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3254
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3255 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3256 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3257 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3258
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3259 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3260 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3261 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3262 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3263 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
3264 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
3265 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3266 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
3267 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3268 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
3269 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3270 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
3271 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
3272 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3273 { $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
3274 $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
3275 if test "$ac_test_CXXFLAGS" = set; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3276 CXXFLAGS=$ac_save_CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3277 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
3278 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3279 CXXFLAGS="-g -O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3280 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3281 CXXFLAGS="-g"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3282 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3283 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3284 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3285 CXXFLAGS="-O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3286 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3287 CXXFLAGS=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3288 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3289 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3290 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3291 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3295
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3296
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3297 # Extract the first word of "gmake", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3298 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
3299 { $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
3300 $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
3301 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
3302 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3303 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3304 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3305 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3306 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
3307 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
3308 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
3309 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
3310 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
3311 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
3312 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
3313 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
3314 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
3315 $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
3316 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
3317 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
3318 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3319 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3320 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3321
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3322 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3323 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3324 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3325 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
3326 { $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
3327 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3328 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3329 { $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
3330 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3331 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3332
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3333
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3334 if test x"$MAKE" = x; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3335 # 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
3336 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
3337 { $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
3338 $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
3339 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
3340 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3341 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3342 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3343 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3344 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
3345 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
3346 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
3347 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
3348 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
3349 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
3350 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
3351 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
3352 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
3353 $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
3354 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
3355 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
3356 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3357 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3358 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3359
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3360 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3361 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3362 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3363 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
3364 { $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
3365 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3366 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3367 { $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
3368 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3369 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3370
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3371
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3372 fi
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3373 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
3374 # 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
3375 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
3376 { $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
3377 $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
3378 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
3379 $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
3380 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3381 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
3382 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
3383 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3384 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
3385 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
3386 do
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3387 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
3388 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
3389 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
3390 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
3391 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
3392 $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
3393 break 2
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3394 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3395 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3396 done
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3397 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
3398
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3399 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3400 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3401 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
3402 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
3403 { $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
3404 $as_echo "$SVNVERSION" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3405 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3406 { $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
3407 $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
3408 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3409
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3410
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3411 fi
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3412 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
3413 SVNVERSION=0
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3414 else
1162
52e3aa735bdb Attempt to fix parsing errors with the double : separated
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1161
diff changeset
3415 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
3416 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3417
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3418 ac_aux_dir=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3419 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
3420 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
3421 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
3422 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
3423 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3424 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
3425 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
3426 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
3427 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3428 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
3429 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
3430 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
3431 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3432 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3433 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3434 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
3435 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
3436 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3437
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3438 # These three variables are undocumented and unsupported,
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3439 # 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
3440 # 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
3441 # whose full name contains unusual characters.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3442 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
3443 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
3444 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
3445
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3446
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3447 # Find a good install program. We prefer a C program (faster),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3448 # so one script is as good as another. But avoid the broken or
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3449 # incompatible versions:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3450 # SysV /etc/install, /usr/sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3451 # SunOS /usr/etc/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3452 # IRIX /sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3453 # AIX /bin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3454 # AmigaOS /C/install, which installs bootblocks on floppy discs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3455 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3457 # 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
3458 # OS/2's system install, which has a completely different semantic
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3459 # ./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
3460 # 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
3461 { $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
3462 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3463 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
3464 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
3465 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3466 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
3467 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
3468 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
3469 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
3470 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
3471 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
3472 # 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
3473 case $as_dir/ in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3474 ./ | .// | /[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
3475 /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
3476 ?:[\\/]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
3477 /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
3478 *)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3479 # 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
3480 # 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
3481 # 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
3482 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
3483 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
3484 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
3485 if test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3486 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
3487 # 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
3488 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3489 elif test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3490 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
3491 # 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
3492 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3493 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3494 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
3495 echo one > conftest.one
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3496 echo two > conftest.two
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3497 mkdir conftest.dir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3498 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
3499 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
3500 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
3501 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
3502 then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3503 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
3504 break 3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3505 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3506 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3507 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3508 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
3509 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
3510 ;;
7d2108cbcd3e Porting DW 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 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3512
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3513 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3514 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
3515
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3516 rm -rf conftest.one conftest.two conftest.dir
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3517
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3518 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3519 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3520 INSTALL=$ac_cv_path_install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3521 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3522 # 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
3523 # value for INSTALL within a source directory, because that will
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3524 # 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
3525 # removed, or if the value is a relative name.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3526 INSTALL=$ac_install_sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3527 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3528 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3529 { $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
3530 $as_echo "$INSTALL" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3531
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3533 # It thinks the first close brace ends the variable substitution.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3535
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3537
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3538 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3539
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3540
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3541
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3542
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3543 # Make sure we can run config.sub.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3544 $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
3545 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
3546
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3547 { $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
3548 $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
3549 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
3550 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3551 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3552 ac_build_alias=$build_alias
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3553 test "x$ac_build_alias" = x &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3554 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
3555 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
3556 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
3557 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
3558 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
3559
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3560 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3561 { $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
3562 $as_echo "$ac_cv_build" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3563 case $ac_cv_build in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3564 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3565 *) 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
3566 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3567 build=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3568 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3569 set x $ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3570 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3571 build_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3572 build_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3573 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3574 # 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
3575 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3576 build_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3577 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3578 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
3579
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3580
1596
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 host 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 host 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_host+:} 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 if test "x$host_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3587 ac_cv_host=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3588 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3589 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
3590 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
3591 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3592
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3593 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3594 { $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
3595 $as_echo "$ac_cv_host" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3596 case $ac_cv_host in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3597 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3598 *) 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
3599 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3600 host=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3601 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3602 set x $ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3603 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3604 host_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3605 host_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3606 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3607 # 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
3608 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3609 host_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3610 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3611 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
3612
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3613
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3614 { $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
3615 $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
3616 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
3617 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3618 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3619 if test "x$target_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3620 ac_cv_target=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3621 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3622 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
3623 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
3624 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3625
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3626 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3627 { $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
3628 $as_echo "$ac_cv_target" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3629 case $ac_cv_target in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3630 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3631 *) 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
3632 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3633 target=$ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3634 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3635 set x $ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3636 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3637 target_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3638 target_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3639 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3640 # 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
3641 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3642 target_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3643 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3644 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
3645
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 # 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
3648 # will get canonicalized.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3649 test -n "$target_alias" &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3650 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
3651 NONENONEs,x,x, &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3652 program_prefix=${target_alias}-
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3653
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3654
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3655
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
3656 # 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
3657 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
3658 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
3659 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
3660 with_dwcompat=no
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3661 fi
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3662
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
3663
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
3664
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3665 # 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
3666 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
3667 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
3668 else
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3669 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
3670 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
3671
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
3672
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3673
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3674 # 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
3675 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
3676 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
3677 else
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3678 with_deprecated=no
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3679 fi
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3680
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3681
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3682
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3683 # 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
3684 if test "${with_arch+set}" = set; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3685 withval=$with_arch; with_arch=$withval
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3686 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3687 with_arch=no
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3688 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3689
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3690
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3691
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3692 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3693 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3696 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
3697 { $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
3698 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3699 # On Suns, sometimes $CPP names a directory.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3700 if test -n "$CPP" && test -d "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3701 CPP=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3702 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3703 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
3704 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
3705 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3706 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3707 # Double quotes because CPP needs to be expanded
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3708 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3709 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3710 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3711 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
3712 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3713 # 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
3714 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3715 # 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
3716 # <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
3717 # 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
3718 # 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
3719 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
3720 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3721 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3722 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3723 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3724 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3725 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3726 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3727 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3728 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
3729
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3730 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3731 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3732 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3733 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3734 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
3735
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3736 # 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
3737 # 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
3738 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
3739 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3740 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3741 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3742 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
3743 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3744 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3745 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3746 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3747 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3748 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3749 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3750 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
3751
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3752 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3753 # 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
3754 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
3755 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
3756 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3757 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3758
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3759 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3760 ac_cv_prog_CPP=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3761
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3762 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3763 CPP=$ac_cv_prog_CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3764 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3765 ac_cv_prog_CPP=$CPP
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3766 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3767 { $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
3768 $as_echo "$CPP" >&6; }
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3769 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3770 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
3771 do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3772 # 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
3773 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3774 # 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
3775 # <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
3776 # 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
3777 # 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
3778 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
3779 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3780 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3781 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3782 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3783 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3784 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3785 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3786 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3787 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
3788
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3789 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3790 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3791 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3792 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3793 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
3794
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3795 # 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
3796 # 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
3797 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
3798 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3799 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3800 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3801 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
3802 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3803 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3804 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3805 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3806 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3807 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3808 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3809 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
3810
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3811 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3812 # 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
3813 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
3814 if $ac_preproc_ok; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3815
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3816 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3817 { { $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
3818 $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
3819 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
3820 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3821 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3822
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3823 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3824 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3828
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3829
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3830 { $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
3831 $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
3832 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
3833 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3834 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3835 if test -z "$GREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3836 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
3837 # 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
3838 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
3839 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
3840 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3841 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3842 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
3843 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
3844 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
3845 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
3846 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
3847 # 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
3848 # Check for GNU $ac_path_GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3849 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
3850 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3851 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
3852 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3853 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3854 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3855 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3856 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3857 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3858 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3859 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
3860 $as_echo 'GREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3861 "$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
3862 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
3863 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
3864 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
3865 # 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
3866 ac_cv_path_GREP="$ac_path_GREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3867 ac_path_GREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3868 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3869 # 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
3870 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3871 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3872 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
3873 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3874
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3875 $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
3876 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3877 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3878 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3879 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3880 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
3881 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
3882 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3883 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3884 ac_cv_path_GREP=$GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3885 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3886
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3887 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3888 { $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
3889 $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
3890 GREP="$ac_cv_path_GREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3891
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3892
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3893 { $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
3894 $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
3895 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
3896 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3897 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3898 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
3899 then ac_cv_path_EGREP="$GREP -E"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3900 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3901 if test -z "$EGREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3902 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
3903 # 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
3904 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
3905 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
3906 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3907 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3908 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
3909 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
3910 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
3911 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
3912 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
3913 # 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
3914 # Check for GNU $ac_path_EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3915 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
3916 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3917 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
3918 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3919 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3920 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3921 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3922 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3923 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3924 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3925 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
3926 $as_echo 'EGREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3927 "$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
3928 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
3929 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
3930 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
3931 # 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
3932 ac_cv_path_EGREP="$ac_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3933 ac_path_EGREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3934 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3935 # 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
3936 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3937 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3938 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
3939 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3940
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3941 $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
3942 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3943 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3944 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3945 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3946 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
3947 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
3948 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3949 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3950 ac_cv_path_EGREP=$EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3951 fi
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 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3954 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3955 { $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
3956 $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
3957 EGREP="$ac_cv_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3958
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3959
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3960 { $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
3961 $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
3962 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
3963 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3964 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3965 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
3966 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3967 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3968 #include <stdarg.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3969 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3970 #include <float.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3971
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3972 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3973 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3974 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3975
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3976 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3977 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3978 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3979 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3980 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3981 ac_cv_header_stdc=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3982 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3983 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3984 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3986
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3987 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3988 # 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
3989 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
3990 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3991 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3992
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3993 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3994 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
3995 $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
3996
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3997 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3998 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3999 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4000 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4001
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4002 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4003
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4004 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4005 # 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
4006 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
4007 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4008 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4009
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4010 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4011 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
4012 $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
4013
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4014 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4015 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4016 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4017 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4018
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4019 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4020
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4021 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4022 # /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
4023 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4024 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4025 else
1596
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 <ctype.h>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4029 #include <stdlib.h>
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4030 #if ((' ' & 0x0FF) == 0x020)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4031 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4032 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4033 #else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4034 # define ISLOWER(c) \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4035 (('a' <= (c) && (c) <= 'i') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4036 || ('j' <= (c) && (c) <= 'r') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4037 || ('s' <= (c) && (c) <= 'z'))
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4038 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4039 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4040
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4041 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4042 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4043 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4044 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4045 int i;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4046 for (i = 0; i < 256; i++)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4047 if (XOR (islower (i), ISLOWER (i))
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4048 || toupper (i) != TOUPPER (i))
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4049 return 2;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4050 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4051 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4052 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4053 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
4054
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4055 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4056 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4057 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4058 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
4059 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
4060 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4061
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4062 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4063 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4064 { $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
4065 $as_echo "$ac_cv_header_stdc" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4066 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4067
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4068 $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
4069
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4070 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4071
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4072 ac_header_dirent=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4073 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
4074 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
4075 { $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
4076 $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
4077 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
4078 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4079 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4080 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
4081 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4082 #include <sys/types.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4083 #include <$ac_hdr>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4084
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4085 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4086 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4087 {
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4088 if ((DIR *) 0)
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4089 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4090 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4091 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4092 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4093 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4094 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
4095 eval "$as_ac_Header=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4096 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4097 eval "$as_ac_Header=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4098 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4099 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
4100 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4101 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
4102 { $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
4103 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4104 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
4105 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4106 #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
4107 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4108
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4109 ac_header_dirent=$ac_hdr; break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4110 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4111
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4112 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4113 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4114 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
4115 { $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
4116 $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
4117 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
4118 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4119 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
4120 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
4121 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
4122 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4123
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4124 /* 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
4125 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
4126 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4127 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4128 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4129 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4130 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
4131 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
4132 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
4133 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4134 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
4135 ;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4136 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
4137 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4138 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4139 for ac_lib in '' dir; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4140 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4141 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4142 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4143 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4144 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
4145 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4146 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
4147 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
4148 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4149 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
4150 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4151 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
4152 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4153 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4154 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4155 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
4156
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4157 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4158 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4159 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4160 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
4161 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
4162 fi
1596
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_cv_search_opendir" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4164 $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
4165 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
4166 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4167 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
4168
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4169 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4170
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4171 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4172 { $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
4173 $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
4174 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
4175 $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
4176 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
4177 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
4178 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
4179 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4180
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4181 /* 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
4182 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
4183 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
4184 #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
4185 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
4186 #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
4187 char opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4188 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4189 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4190 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4191 return opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4192 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4193 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4194 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4195 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4196 for ac_lib in '' x; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4197 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4198 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4199 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4200 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4201 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
4202 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4203 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
4204 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
4205 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4206 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
4207 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4208 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
4209 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4210 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4211 done
1596
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 :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4213
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4214 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4215 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4216 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4217 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
4218 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
4219 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4220 { $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
4221 $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
4222 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
4223 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4224 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
4225
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4226 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
4227
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4228 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
4229
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4230 # 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
4231 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
4232 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
4233 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4234 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
4235 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
4236 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4237 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
4238 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4239 #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
4240 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4241
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4242 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4243
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4244 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4245
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4246
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4247 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
4248 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4249 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
4250 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
4251 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4252 #define HAVE_UNISTD_H 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4253 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4254
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4255 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4256
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4257 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4258
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4259 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
4260 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4261 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
4262 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
4263 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4264 #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
4265 _ACEOF
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4266
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4267 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4268
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4269 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4270
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4271
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4272 for ac_func in pipe
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4273 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4274 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
4275 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
4276 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4277 #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
4278 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4279
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4280 $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
4281
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4282 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4283 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4284
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4285 for ac_func in vsnprintf
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4286 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4287 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
4288 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
4289 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4290 #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
4291 _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
4292
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4293 $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
4294
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4295 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
4296 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
4297
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
4298
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4299 for ac_func in connect
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4300 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4301 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
4302 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
4303 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4304 #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
4305 _ACEOF
1596
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 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4308 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4309
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4310 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
4311 if test -z "$libsocket"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4312 { $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
4313 $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
4314 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
4315 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4316 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4317 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
4318 LIBS="-lsocket $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4319 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
4320 /* 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
4321
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4322 /* 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
4323 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
4324 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
4325 #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
4326 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
4327 #endif
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4328 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
4329 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
4330 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
4331 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4332 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
4333 ;
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4334 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
4335 }
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4336 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4337 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
4338 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
4339 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4340 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
4341 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4342 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
4343 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
4344 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
4345 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4346 { $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
4347 $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
4348 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
4349 LIBS="$LIBS -lsocket"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4350 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4351
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4352 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4353
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4354 if test -z "$libinet"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4355 { $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
4356 $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
4357 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
4358 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4359 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4360 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
4361 LIBS="-linet $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4362 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
4363 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4364
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4365 /* 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
4366 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
4367 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4368 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4369 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4370 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4371 char socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4372 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4373 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4374 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4375 return socket ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4376 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4377 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4378 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4379 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4380 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
4381 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
4382 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4383 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
4384 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4385 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
4386 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
4387 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
4388 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4389 { $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
4390 $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
4391 if test "x$ac_cv_lib_inet_socket" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4392 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4393 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4394
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4395 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4396
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4397 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
4398 { $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
4399 $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
4400 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
4401 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4402 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4403 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4404 LIBS="-lnsl $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4405 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
4406 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4407
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4408 /* 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
4409 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
4410 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4411 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4412 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4413 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4414 char gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4415 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4416 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4417 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4418 return gethostname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4419 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4420 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4421 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4422 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4423 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4424 ac_cv_lib_nsl_gethostname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4425 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4426 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
4427 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4428 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
4429 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4430 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4431 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4432 { $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
4433 $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
4434 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4435 LIBS="$LIBS -lnsl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4436 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4437
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4438 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4439 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4440
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4441 { $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
4442 $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
4443 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
4444 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4445 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4446 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4447 LIBS="-lsun $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4448 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
4449 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4450
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4451 /* 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
4452 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
4453 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4454 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4455 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4456 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4457 char getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4458 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4459 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4460 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4461 return getpwnam ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4462 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4463 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4464 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4465 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4466 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4467 ac_cv_lib_sun_getpwnam=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4468 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4469 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
4470 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4471 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
4472 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4473 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4474 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4475 { $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
4476 $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
4477 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4478 LIBS="$LIBS -lsun"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4479 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4480
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4481 { $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
4482 $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
4483 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
4484 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4485 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4486 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4487 LIBS="-ldgc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4488 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
4489 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4490
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4491 /* 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
4492 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
4493 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4494 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4495 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4496 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4497 char inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4498 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4499 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4500 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4501 return inet_addr ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4502 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4503 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4504 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4505 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4506 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4507 ac_cv_lib_dgc_inet_addr=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4508 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4509 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
4510 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4511 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
4512 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4513 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4514 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4515 { $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
4516 $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
4517 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4518 LIBS="$LIBS -ldgc"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4519 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4520
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4521 { $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
4522 $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
4523 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
4524 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4525 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4526 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4527 LIBS="-lresolv $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4528 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
4529 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4530
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4531 /* 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
4532 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
4533 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4534 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4535 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4536 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4537 char gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4538 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4539 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4540 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4541 return gethostbyname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4542 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4543 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4544 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4545 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4546 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4547 ac_cv_lib_resolv_gethostbyname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4548 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4549 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
4550 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4551 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
4552 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4553 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4554 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4555 { $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
4556 $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
4557 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4558 LIBS="$LIBS -lresolv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4559 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4560
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
4561 { $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
4562 $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
4563 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
4564 $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
4565 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
4566 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
4567 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
4568 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
4569 /* 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
4570
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4571 /* 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
4572 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
4573 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
4574 #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
4575 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
4576 #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
4577 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
4578 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
4579 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
4580 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4581 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
4582 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4583 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
4584 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4585 _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
4586 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
4587 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
4588 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
4589 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
4590 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
4591 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
4592 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
4593 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
4594 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
4595 { $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
4596 $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
4597 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
4598 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
4599 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
4600
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4601
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4602 build_gtk="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4603 check_pthreads="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4604 PLATLIBS=""
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4605 SONAME=""
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4606 PLATCCFLAGS="-g -O2 -fPIC -Wall"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4607 ARFLAGS="cqs"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4608
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4609 case "$target" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4610 *cygwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4611 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4612 *mingw32)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4613 $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
4614
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4615 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4616 *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
4617 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
4618 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4619 *apple-darwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4620 case "$with_arch" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4621 no)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4622 ARCH=""
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4623 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4624 all)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4625 ARCH="-arch ppc -arch ppc64 -arch x86_64 -arch i386"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4626 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4627 32bit)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4628 ARCH="-arch ppc -arch i386"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4629 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4630 64bit)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4631 ARCH="-arch ppc64 -arch x86_64"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4632 ;;
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
4633 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
4634 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
4635 ;;
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4636 powerpc)
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4637 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
4638 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4639 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4640 ARCH="-arch $with_arch"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4641 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4642 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
4643 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
4644 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
4645 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
4646 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
4647 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
4648 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
4649 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
4650 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
4651 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
4652 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
4653 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
4654
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4655 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
4656 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
4657 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
4658
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4659 build_gtk="no"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4660 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4661 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4662 ;;
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
4663 esac
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4664
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
4665 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
4666 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
4667 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
4668 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
4669 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
4670 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
4671 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
4672 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
4673 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
4674 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
4675 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
4676
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4677 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
4678
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4679 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
4680 { $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
4681 $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
4682
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4683
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4684 # 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
4685 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
4686 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
4687 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
4688
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4689 # $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
4690 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
4691 # 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
4692 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
4693 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
4694 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
4695 *\'*) 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
4696 *,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
4697 $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
4698 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
4699 # 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
4700 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
4701 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
4702 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
4703 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
4704 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
4705 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
4706 @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
4707 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
4708 @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
4709 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
4710 @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
4711 _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
4712 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
4713 # 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
4714 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
4715 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
4716 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
4717 # 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
4718 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
4719 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
4720 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
4721 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
4722 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
4723 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
4724 # 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
4725 # 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
4726 # 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
4727 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
4728 /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
4729 *) 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
4730 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
4731 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
4732 /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
4733 *) 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
4734 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
4735 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
4736 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
4737 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
4738 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
4739
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4740 # 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
4741 # 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
4742 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
4743 /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
4744 /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
4745 /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
4746 /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
4747 /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
4748
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4749 /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
4750 /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
4751 /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
4752 /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
4753 /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
4754
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4755 /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
4756 /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
4757 /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
4758 /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
4759 /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
4760
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 /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
4762 /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
4763 /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
4764 /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
4765 /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
4766
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 /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
4768 /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
4769 /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
4770
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 /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
4772 /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
4773 /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
4774 /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
4775 /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
4776 /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
4777
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 /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
4779 /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
4780
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 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
4782 # 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
4783 # 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
4784 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
4785 /* 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
4786 #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
4787 _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
4788 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
4789 # 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
4790 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
4791 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
4792 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
4793 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
4794 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
4795 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
4796 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
4797 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
4798 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
4799 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
4800 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
4801
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 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
4803 # 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
4804 # 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
4805 # 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
4806 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
4807 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
4808 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
4809 /* 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
4810 #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
4811 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
4812 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
4813 {
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 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
4815 ;
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 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
4817 }
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 _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
4819 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
4820 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
4821 # 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
4822 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
4823 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
4824 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
4825 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
4826 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
4827 # 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
4828 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
4829 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
4830 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
4831 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
4832 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
4833 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
4834 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
4835 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
4836 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
4837 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
4838 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
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 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
4841 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
4842 # 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
4843 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
4844 *)
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 # 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
4846 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
4847 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
4848 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
4849 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
4850 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
4851 ;; #(
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 *) 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
4853 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
4854 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
4855 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
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 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
4858 { $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
4859 $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
4860 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
4861 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
4862 # 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
4863 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
4864 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
4865 # 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
4866 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
4867 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
4868 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
4869 { $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
4870 $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
4871 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
4872
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 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
4874 # 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
4875
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 $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
4877
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 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
4879 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
4880 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
4881 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
4882 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
4883
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 # 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
4885 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
4886 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
4887 # 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
4888 # 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
4889 { $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
4890 $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
4891 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
4892 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
4893 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
4894 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
4895 /* 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
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 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
4898 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
4899 {
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
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 ;
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 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
4903 }
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 _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
4905 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
4906 { $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
4907 $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
4908 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
4909 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
4910 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
4911 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
4912 /* 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
4913
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 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
4915 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
4916 {
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
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 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
4920 }
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 _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
4922 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
4923 { $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
4924 $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
4925 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
4926 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
4927 { $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
4928 $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
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 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
4931 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
4932 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
4933 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
4934 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
4935 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
4936 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
4937 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
4938
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 # 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
4940 # 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
4941 # (-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
4942
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 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
4944 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
4945 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
4946 # 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
4947 # 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
4948 # 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
4949 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
4950 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
4951 /* 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
4952
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 /* 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
4954 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
4955 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
4956 #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
4957 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
4958 #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
4959 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
4960 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
4961 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
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 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
4964 ;
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 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
4966 }
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 _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
4968 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
4969
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 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
4971 { $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
4972 $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
4973 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
4974 $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
4975 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
4976 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
4977 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
4978 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
4979 /* 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
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 /* 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
4982 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
4983 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
4984 #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
4985 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
4986 #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
4987 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
4988 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
4989 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
4990 {
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 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
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 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
4994 }
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 _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
4996 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
4997 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
4998 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
4999 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
5000 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
5001 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
5002 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
5003 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
5004 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
5005 { $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
5006 $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
5007 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
5008 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
5009 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
5010
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 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
5012 { $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
5013 $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
5014 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
5015 $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
5016 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
5017 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
5018 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
5019 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
5020 /* 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
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 /* 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
5023 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
5024 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
5025 #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
5026 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
5027 #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
5028 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
5029 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
5030 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
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 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
5033 ;
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 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
5035 }
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 _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
5037 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
5038 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
5039 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
5040 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
5041 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
5042 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
5043 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
5044 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
5045 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
5046 { $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
5047 $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
5048 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
5049 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
5050 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
5051
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 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
5053 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
5054 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
5055 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
5056 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
5057
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 # 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
5059 # 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
5060 # 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
5061 # 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
5062 # 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
5063 # 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
5064 # 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
5065 # 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
5066 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
5067 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
5068
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 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
5070
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 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
5072 { $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
5073 $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
5074 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
5075 $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
5076 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
5077 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
5078 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
5079 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
5080 /* 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
5081
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 /* 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
5083 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
5084 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
5085 #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
5086 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
5087 #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
5088 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
5089 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
5090 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
5091 {
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 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
5093 ;
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 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
5095 }
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 _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
5097 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
5098 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
5099 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
5100 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
5101 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
5102 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
5103 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
5104 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
5105 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
5106 { $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
5107 $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
5108 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
5109 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
5110 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
5111
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 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
5113 { $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
5114 $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
5115 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
5116 $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
5117 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
5118 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
5119 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
5120 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
5121 /* 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
5122
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 /* 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
5124 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
5125 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
5126 #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
5127 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
5128 #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
5129 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
5130 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
5131 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
5132 {
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 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
5134 ;
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 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
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 _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
5138 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
5139 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
5140 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
5141 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
5142 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
5143 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
5144 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
5145 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
5146 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
5147 { $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
5148 $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
5149 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
5150 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
5151 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
5152
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 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
5154 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
5155
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 # 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
5157 # 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
5158 # 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
5159 # 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
5160 # 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
5161 # 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
5162 # 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
5163 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
5164 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
5165
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 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
5167
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 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
5169 { $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
5170 $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
5171 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
5172 $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
5173 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
5174 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
5175 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
5176 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
5177 /* 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
5178
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 /* 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
5180 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
5181 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
5182 #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
5183 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
5184 #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
5185 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
5186 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
5187 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
5188 {
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 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
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 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
5192 }
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 _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
5194 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
5195 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
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_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
5198 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
5199 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
5200 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
5201 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
5202 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
5203 { $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
5204 $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
5205 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
5206 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
5207 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
5208
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 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
5210
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 # 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
5212 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
5213 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
5214
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 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
5216
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 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
5218 { $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
5219 $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
5220 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
5221 $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
5222 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
5223 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
5224 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
5225 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
5226 /* 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
5227
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 /* 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
5229 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
5230 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
5231 #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
5232 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
5233 #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
5234 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
5235 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
5236 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
5237 {
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 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
5239 ;
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 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
5241 }
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 _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
5243 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
5244 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
5245 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
5246 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
5247 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
5248 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
5249 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
5250 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
5251 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
5252 { $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
5253 $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
5254 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
5255 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
5256 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
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 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
5259
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 # 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
5261 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
5262 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
5263
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 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
5265
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 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
5267 { $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
5268 $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
5269 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
5270 $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
5271 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
5272 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
5273 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
5274 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
5275 /* 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
5276
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 /* 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
5278 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
5279 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
5280 #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
5281 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
5282 #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
5283 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
5284 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
5285 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
5286 {
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 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
5288 ;
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 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
5290 }
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 _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
5292 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
5293 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
5294 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
5295 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
5296 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
5297 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
5298 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
5299 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
5300 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
5301 { $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
5302 $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
5303 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
5304 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
5305 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
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 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
5308 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
5309
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 # 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
5311 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
5312 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
5313 # 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
5314 # 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
5315 # 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
5316 # 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
5317 # 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
5318 # 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
5319 { $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
5320 $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
5321 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
5322 $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
5323 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
5324 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
5325 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
5326 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
5327 /* 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
5328
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 /* 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
5330 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
5331 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
5332 #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
5333 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
5334 #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
5335 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
5336 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
5337 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
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 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
5340 ;
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 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
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 _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
5344 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
5345 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
5346 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
5347 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
5348 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
5349 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
5350 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
5351 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
5352 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
5353 { $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
5354 $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
5355 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
5356 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
5357 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
5358
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 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
5360
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 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
5362
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 LIBS="$LIBS $X_LIBS -lX11"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5364 # 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
5365 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
5366 { $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
5367 $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
5368 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
5369 $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
5370 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
5371 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
5372 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
5373 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
5374 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
5375 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
5376 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
5377 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
5378 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
5379 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
5380 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
5381 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
5382 $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
5383 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
5384 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
5385 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5386 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5387 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
5388
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5389 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
5390 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
5391 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
5392 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
5393 { $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
5394 $as_echo "$PKG_CFG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5395 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5396 { $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
5397 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5398 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5399
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5400
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5401 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
5402 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
5403 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
5404 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
5405 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
5406 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5407 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
5408 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
5409 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
5410 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
5411 else
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5412 DW_DIR=gtk
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5413 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
5414 fi
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5415 # 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
5416 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
5417 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
5418 # 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
5419 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
5420 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
5421 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
5422 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
5423 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
5424 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
5425 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
5426 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
5427 fi
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5428 else
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5429 $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
5430
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5431 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
5432 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5433 else
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5434 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
5435 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
5436 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
5437 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
5438 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
5439 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
5440 $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
5441
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5442 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
5443 fi
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5444 else
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5445 $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
5446
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5447 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
5448 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5449 fi
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5450 else
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5451 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
5452 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
5453 $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
5454
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5455 else
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5456 $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
5457
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5458 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5459 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5460 if test x"$RPATH" != x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5461 RPATH="-Wl,-R$RPATH"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5462 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5463 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5464
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5465 if test x"$GTK_LIBS" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5466
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5467 # 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
5468 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
5469 withval=$with_glib_prefix; glib_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5470 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5471 glib_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5472 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5473
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5474
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5475 # 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
5476 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
5477 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5478 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5479 glib_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5480 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5481
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5482 # 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
5483 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
5484 enableval=$enable_glibtest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5485 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5486 enable_glibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5487 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5488
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5489
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5490 if test x$glib_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5491 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5492 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5493 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5494 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5495 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5496 if test x$glib_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5497 glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5498 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5499 GLIB_CONFIG=$glib_config_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5500 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5501 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5502
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5503 for module in .
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5504 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5505 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5506 gmodule)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5507 glib_config_args="$glib_config_args gmodule"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5508 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5509 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5510 glib_config_args="$glib_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5511 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5512 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5513 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5514
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5515 # 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
5516 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
5517 { $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
5518 $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
5519 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
5520 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5521 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5522 case $GLIB_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5523 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5524 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
5525 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5526 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5527 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
5528 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
5529 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
5530 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
5531 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
5532 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
5533 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
5534 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
5535 $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
5536 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
5537 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
5538 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5539 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5540 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5541
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5542 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5543 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5544 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5545 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5546 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5547 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
5548 { $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
5549 $as_echo "$GLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5550 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5551 { $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
5552 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5553 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5554
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5555
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5556 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
5557 { $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
5558 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5559 no_glib=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5560 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5561 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5562 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5563 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5564 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5565 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5567 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5568 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5569 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5571 if test "x$enable_glibtest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5572 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5573 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5574 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5575 LIBS="$GLIB_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5576 rm -f conf.glibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5577 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5578 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5579 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5580 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
5581 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5582
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5583 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5584 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5585 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5586
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5587 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5588 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5589 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5590 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5591 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5592
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5593 system ("touch conf.glibtest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5594
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5595 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5596 tmp_version = g_strdup("$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5597 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5598 printf("%s, bad version string\n", "$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5599 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5600 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5601
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5602 if ((glib_major_version != $glib_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5603 (glib_minor_version != $glib_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5604 (glib_micro_version != $glib_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5605 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5606 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5607 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5608 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5609 printf ("*** was found! If glib-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5610 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
5611 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5612 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5613 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5614 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5615 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
5616 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5617 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5618 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5619 (glib_minor_version != GLIB_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5620 (glib_micro_version != GLIB_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5621 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5622 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5623 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5624 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5625 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5626 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5627 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5628 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5629 if ((glib_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5630 ((glib_major_version == major) && (glib_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5631 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5632 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5633 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5634 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5635 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5636 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5637 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5638 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5639 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
5640 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5641 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5642 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5643 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5644 printf("*** probably means that the wrong copy of the glib-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5645 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
5646 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
5647 printf("*** correct copy of glib-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5648 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5649 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5650 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5651 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5652 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5653 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5654
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5655 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5656 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
5657
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5658 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5659 no_glib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5660 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5661 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
5662 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
5663 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5664
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5665 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5666 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5667 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5668 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5669 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
5670 { $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
5671 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5672 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5673 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5674 { $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
5675 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5676 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5677 echo "*** The glib-config script installed by GLIB could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5678 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5679 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5680 echo "*** full path to glib-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5681 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5682 if test -f conf.glibtest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5683 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5684 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5685 echo "*** Could not run GLIB test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5686 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5687 LIBS="$LIBS $GLIB_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5688 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
5689 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5690
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5691 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5692 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5693
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5694 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5695 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5696 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5697 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5698 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5699 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5700 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5701 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5702 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5703 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5704 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5705 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
5706 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5707 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5708 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5709 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5710 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5711 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
5712 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5713 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
5714 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5715 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
5716 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5717 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5718 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
5719 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5720 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5721 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5722 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5723 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5724 GLIB_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5725 GLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5726 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
5727 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5728
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5729
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5730 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5731
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5732
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5733 # 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
5734 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
5735 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5736 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5737 gtk_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5738 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5739
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5740
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5741 # 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
5742 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
5743 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5744 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5745 gtk_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5746 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5747
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5748 # 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
5749 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
5750 enableval=$enable_gtktest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5751 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5752 enable_gtktest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5753 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5754
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5755
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5756 for module in . gthread
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5757 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5758 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5759 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5760 gtk_config_args="$gtk_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5761 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5762 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5763 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5764
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5765 if test x$gtk_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5766 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5767 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5768 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5769 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5770 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5771 if test x$gtk_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5772 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5773 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5774 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5775 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5776 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5777
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5778 # 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
5779 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
5780 { $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
5781 $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
5782 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
5783 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5784 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5785 case $GTK_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5786 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5787 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
5788 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5789 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5790 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
5791 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
5792 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
5793 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
5794 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
5795 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
5796 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
5797 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
5798 $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
5799 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
5800 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
5801 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5802 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5803 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5804
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5805 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5806 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5807 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5808 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5809 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5810 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
5811 { $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
5812 $as_echo "$GTK_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5813 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5814 { $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
5815 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5816 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5817
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5818
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5819 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
5820 { $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
5821 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5822 no_gtk=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5823 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5824 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5825 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5826 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5827 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5828 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5830 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5832 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5834 if test "x$enable_gtktest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5835 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5836 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5837 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5838 LIBS="$GTK_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5839 rm -f conf.gtktest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5840 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5841 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5842 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5843 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
5844 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5845
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5846 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5847 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5848 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5849
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5850 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5851 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5852 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5853 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5854 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5855
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5856 system ("touch conf.gtktest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5857
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5858 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5859 tmp_version = g_strdup("$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5860 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5861 printf("%s, bad version string\n", "$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5862 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5863 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5864
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5865 if ((gtk_major_version != $gtk_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5866 (gtk_minor_version != $gtk_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5867 (gtk_micro_version != $gtk_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5868 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5869 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5870 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5871 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5872 printf ("*** was found! If gtk-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5873 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
5874 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5875 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5876 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5877 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5878 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
5879 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5880 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5881 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5882 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5883 (gtk_minor_version != GTK_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5884 (gtk_micro_version != GTK_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5885 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5886 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5887 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5888 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5889 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5890 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5891 #endif /* defined (GTK_MAJOR_VERSION) ... */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5892 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5893 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5894 if ((gtk_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5895 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5896 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5897 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5898 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5899 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5900 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5901 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5902 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5903 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5904 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
5905 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5906 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5907 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5908 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5909 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5910 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
5911 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
5912 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5913 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5914 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5915 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5916 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5917 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5918 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5919
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5920 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5921 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
5922
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5923 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5924 no_gtk=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5925 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5926 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
5927 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
5928 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5929
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5930 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5931 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5932 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5933 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5934 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
5935 { $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
5936 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5937 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5938 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5939 { $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
5940 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5941 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5942 echo "*** The gtk-config script installed by GTK could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5943 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5944 echo "*** your path, or set the GTK_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5945 echo "*** full path to gtk-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5946 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5947 if test -f conf.gtktest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5948 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5949 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5950 echo "*** Could not run GTK test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5951 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5952 LIBS="$LIBS $GTK_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5953 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
5954 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5955
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5956 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5957 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5958
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5959 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5960 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5961 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5962 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5963 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5964 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5965 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5966 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5967 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5968 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5969 echo "*** that the run-time linker is not finding GTK or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5970 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
5971 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5972 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5973 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5974 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5975 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5976 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
5977 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5978 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
5979 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5980 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
5981 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5982 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5983 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
5984 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5985 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5986 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5987 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5988 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5989 GTK_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5990 GTK_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5991 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
5992 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5993
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5994
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5995 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5996
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
5997
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5998 # 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
5999 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
6000 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
6001 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6002 imlib_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6003 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6004
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6005
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6006 # 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
6007 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
6008 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
6009 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6010 imlib_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6011 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6012
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6013 # 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
6014 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
6015 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
6016 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6017 enable_imlibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6018 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6019
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6020
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6021 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
6022 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
6023 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
6024 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
6025 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6026 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6027 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
6028 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
6029 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
6030 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
6031 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6032 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6033
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6034 # 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
6035 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
6036 { $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
6037 $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
6038 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
6039 $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
6040 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6041 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
6042 [\\/]* | ?:[\\/]*)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6043 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
6044 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6045 *)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6046 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
6047 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
6048 do
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6049 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
6050 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
6051 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
6052 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
6053 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
6054 $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
6055 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
6056 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6057 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6058 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6059 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
6060
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6061 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
6062 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6063 esac
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6064 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6065 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
6066 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
6067 { $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
6068 $as_echo "$IMLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6069 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6070 { $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
6071 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6072 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6073
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6074
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6075 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
6076 { $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
6077 $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
6078 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
6079 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
6080 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
6081 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6082 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
6083 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
6084
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6085 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
6086 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
6087 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
6088 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
6089 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
6090 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
6091 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
6092 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
6093 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
6094 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
6095 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
6096 rm -f conf.imlibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6097 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
6098 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
6099 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6100 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
6101 /* 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
6102
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6103 #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
6104 #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
6105 #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
6106
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6107 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
6108 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6109 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
6110 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
6111
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6112 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
6113
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6114 /* 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
6115 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
6116 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
6117 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
6118 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
6119 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6120
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6121 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
6122 (($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
6123 (($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
6124 ($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
6125 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6126 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
6127 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6128 else
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 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
6131 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
6132 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
6133 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
6134 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
6135 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
6136 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
6137 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6138 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6139
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6140
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6141 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6142 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
6143
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6144 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6145 no_imlib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6146 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6147 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
6148 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
6149 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6150
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6151 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
6152 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
6153 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6154 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6155 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
6156 { $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
6157 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6158 $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
6159
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6160 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6161 { $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
6162 $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
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 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
6165 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
6166 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
6167 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
6168 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6169 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
6170 :
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6171 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6172 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
6173 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
6174 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
6175 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
6176 /* 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
6177
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6178 #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
6179 #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
6180
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6181 int
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6182 main ()
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6183 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6184 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
6185 ;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6186 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
6187 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6188 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6189 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
6190 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
6191 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
6192 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
6193 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
6194 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
6195 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
6196 echo "***"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6197 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
6198 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
6199 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6200 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
6201 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
6202 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
6203 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
6204 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6205 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
6206 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
6207 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
6208 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
6209 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6210 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6211 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
6212 GDK_IMLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6213 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
6214 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6215
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6216
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6217 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
6218
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6219 else
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
6220 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
6221 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6222 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
6223 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
6224
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6225 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
6226 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
6227 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
6228
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6229 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6230 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
6231 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6232
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6233
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6234 { $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
6235 $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
6236 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
6237 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6238 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6239 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6240 LIBS="-lpthread $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6242 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6243
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6244 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6245 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
6246 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6247 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6248 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6249 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6250 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6251 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6252 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6253 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6254 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6255 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6256 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6257 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6258 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6259 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6260 ac_cv_lib_pthread_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6261 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6262 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
6263 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6264 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
6265 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6266 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6267 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6268 { $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
6269 $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
6270 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
6271 PTHREAD_LIBS="-lpthread"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6272 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6273 { $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
6274 $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
6275 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
6276 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6277 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6278 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6279 LIBS="-lpthreads $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6281 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6282
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6283 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6284 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
6285 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6286 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6287 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6288 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6289 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6290 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6291 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6292 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6293 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6294 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6295 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6296 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6297 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6298 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6299 ac_cv_lib_pthreads_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6300 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6301 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
6302 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6303 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
6304 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6305 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6306 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6307 { $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
6308 $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
6309 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
6310 PTHREAD_LIBS="-lpthreads"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6311 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6312 { $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
6313 $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
6314 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
6315 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6316 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6317 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6318 LIBS="-lc_r $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6319 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
6320 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6321
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6322 /* 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
6323 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
6324 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6325 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6326 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6327 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6328 char pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6329 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6330 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6331 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6332 return pthread_attr_init ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6333 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6334 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6335 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6336 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6337 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6338 ac_cv_lib_c_r_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6339 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6340 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
6341 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6342 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
6343 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
6344 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
6345 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6346 { $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
6347 $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
6348 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6349 PTHREAD_LIBS="-lc_r"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6350 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6351 { $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
6352 $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
6353 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
6354 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6355 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6356 ac_check_lib_save_LIBS=$LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6357 LIBS="-lc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6358 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
6359 /* end confdefs.h. */
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6360
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6361 /* 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
6362 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
6363 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
6364 #ifdef __cplusplus
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6365 extern "C"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6366 #endif
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6367 char pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6368 int
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6369 main ()
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6370 {
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6371 return pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6372 ;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6373 return 0;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6374 }
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6375 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6376 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
6377 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
6378 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6379 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
6380 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6381 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
6382 conftest$ac_exeext conftest.$ac_ext
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6383 LIBS=$ac_check_lib_save_LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6384 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6385 { $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
6386 $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
6387 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
6388 PTHREAD_LIBS="-lc"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6389 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6390 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
6391
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6392 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6393
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6394
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6395 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6396
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6397
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6398 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6399
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6400
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6401 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6402
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6403 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
6404
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6405 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
6406
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6407 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
6408 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
6409 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
6410 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
6411 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
6412 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
6413 { $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
6414 $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
6415 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
6416 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6417 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6418 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6419 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
6420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6421 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6422
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6423 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6424 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
6425 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6426 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6427 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6428 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6429 char webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6430 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6431 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6432 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6433 return webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6434 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6435 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6436 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6437 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6438 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6439 eval "$as_ac_Lib=yes"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6440 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6441 eval "$as_ac_Lib=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6442 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6443 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
6444 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6445 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6446 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6447 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
6448 { $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
6449 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6450 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
6451 $as_echo "#define USE_WEBKIT 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6452
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6453 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6454
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6455 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6456
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6457 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
6458
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6459 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
6460 do :
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6461 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
6462 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
6463 cat >>confdefs.h <<_ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6464 #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
6465 _ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6466
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6467 $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
6468
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6469 fi
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6470 done
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6471
1794
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6472 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
6473 do :
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6474 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
6475 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
6476 cat >>confdefs.h <<_ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6477 #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
6478 _ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6479
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6480 $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
6481
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6482 fi
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6483 done
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6484
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6485
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6486 RM="rm -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6487 LN="ln -s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6488 CP="cp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6489 MV="mv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6490 MKDIR="mkdir"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6491
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6492
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6493
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6494
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6495
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6496
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6497
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6498
7d2108cbcd3e Porting DW 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
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6500
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6501
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6502
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6503
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
6504
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
6505
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6506
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6507
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6508
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6509
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6510
663
86c404056262 Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 644
diff changeset
6511
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6512
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6513
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6514
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6515
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6516
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6517
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6518
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6519
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
6520
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
6521 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
6522
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6523 cat >confcache <<\_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6524 # This file is a shell script that caches the results of configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6525 # tests run on this system so they can be shared between configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6526 # scripts and configure runs, see configure's option --config-cache.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6527 # It is not useful on other systems. If it contains results you don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6528 # want to keep, you may remove or edit it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6529 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6530 # config.status only pays attention to the cache file if you give it
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6531 # the --recheck option to rerun configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6532 #
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6533 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6534 # loading this file, other *unset* `ac_cv_foo' will be assigned the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6535 # following values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6536
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6537 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6538
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6539 # The following way of writing the cache mishandles newlines in values,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6540 # 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
6541 # So, we kill variables containing newlines.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6542 # Ultrix sh set writes to stderr and can't be redirected directly,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6543 # 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
6544 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6545 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
6546 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6547 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6548 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6549 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6550 *_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
6551 $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
6552 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6553 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6554 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6555 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
6556 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6557 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6558 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6559 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6560
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6561 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6562 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
6563 *${as_nl}ac_space=\ *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6564 # `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
6565 # substitution turns \\\\ into \\, and sed turns \\ into \.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6566 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6567 "s/'/'\\\\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6568 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
6569 ;; #(
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6570 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6571 # `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
6572 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6573 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6574 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6575 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6576 ) |
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6577 sed '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6578 /^ac_cv_env_/b end
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6579 t clear
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6580 :clear
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6581 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6582 t end
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6583 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6584 :end' >>confcache
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6585 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
6586 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
6587 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
6588 { $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
6589 $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
6590 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
6591 cat confcache >"$cache_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6592 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6593 case $cache_file in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6594 */* | ?:*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6595 mv -f confcache "$cache_file"$$ &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6596 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
6597 *)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6598 mv -f confcache "$cache_file" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6599 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6600 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6601 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6602 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6603 { $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
6604 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6605 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6606 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6607 rm -f confcache
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6608
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6609 test "x$prefix" = xNONE && prefix=$ac_default_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6610 # Let make expand exec_prefix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6611 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6612
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6613 DEFS=-DHAVE_CONFIG_H
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6614
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6615 ac_libobjs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6616 ac_ltlibobjs=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6617 U=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6618 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
6619 # 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
6620 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
6621 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
6622 # 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
6623 # 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
6624 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
6625 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
6626 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6627 LIBOBJS=$ac_libobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6628
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6629 LTLIBOBJS=$ac_ltlibobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6630
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6631
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6632
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6633 : "${CONFIG_STATUS=./config.status}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6634 ac_write_fail=0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6635 ac_clean_files_save=$ac_clean_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6636 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
6637 { $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
6638 $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
6639 as_write_fail=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6640 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6641 #! $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
6642 # Generated by $as_me.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6643 # Run this file to recreate the current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6644 # Compiler output produced by configure, useful for debugging
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6645 # configure, is in config.log if it exists.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6646
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6647 debug=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6648 ac_cs_recheck=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6649 ac_cs_silent=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6650
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6651 SHELL=\${CONFIG_SHELL-$SHELL}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6652 export SHELL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6653 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6654 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
6655 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6656 ## M4sh Initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6657 ## -------------------- ##
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6658
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6659 # Be more Bourne compatible
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6660 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
6661 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6662 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6663 NULLCMD=:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6664 # 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
6665 # 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
6666 alias -g '${1+"$@"}'='"$@"'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6667 setopt NO_GLOB_SUBST
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6668 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6669 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
6670 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6671 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6672 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6673 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6674 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6675 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6676
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6677
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6678 as_nl='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6679 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6680 export as_nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6681 # 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
6682 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6683 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
6684 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
6685 # 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
6686 # 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
6687 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
6688 && (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
6689 as_echo='print -r --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6690 as_echo_n='print -rn --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6691 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
6692 as_echo='printf %s\n'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6693 as_echo_n='printf %s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6694 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6695 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
6696 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
6697 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
6698 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6699 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
6700 as_echo_n_body='eval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6701 arg=$1;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6702 case $arg in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6703 *"$as_nl"*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6704 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
6705 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
6706 esac;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6707 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
6708 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6709 export as_echo_n_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6710 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
6711 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6712 export as_echo_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6713 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
6714 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
6715
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6716 # 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
6717 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
6718 PATH_SEPARATOR=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6719 (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
6720 (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
6721 PATH_SEPARATOR=';'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6722 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6723 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6724
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6725
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6726 # IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6727 # 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
6728 # 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
6729 # (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
6730 # splitting by setting IFS to empty value.)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6731 IFS=" "" $as_nl"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6732
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6733 # 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
6734 as_myself=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6735 case $0 in #((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6736 *[\\/]* ) as_myself=$0 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6737 *) 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
6738 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
6739 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
6740 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
6741 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
6742 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
6743 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6744 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6745
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6746 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6747 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6748 # 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
6749 # 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
6750 if test "x$as_myself" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6751 as_myself=$0
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6752 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6753 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
6754 $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
6755 exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6756 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6757
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6758 # 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
6759 # 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
6760 # 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
6761 # 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
6762 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
6763 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
6764 && ( (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
6765 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6766 PS1='$ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6767 PS2='> '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6768 PS4='+ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6769
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6770 # NLS nuisances.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6771 LC_ALL=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6772 export LC_ALL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6773 LANGUAGE=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6774 export LANGUAGE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6775
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6776 # CDPATH.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6777 (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
6778
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6779
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6780 # 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
6781 # ----------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6782 # 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
6783 # 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
6784 # 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
6785 as_fn_error ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6786 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6787 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
6788 if test "$4"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6789 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
6790 $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
6791 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6792 $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
6793 as_fn_exit $as_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6794 } # as_fn_error
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6795
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6796
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6797 # as_fn_set_status STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6798 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6799 # Set $? to STATUS, without forking.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6800 as_fn_set_status ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6801 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6802 return $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6803 } # as_fn_set_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6804
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6805 # as_fn_exit STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6806 # -----------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6807 # 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
6808 as_fn_exit ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6809 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6810 set +e
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6811 as_fn_set_status $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6812 exit $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6813 } # as_fn_exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6814
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6815 # as_fn_unset VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6816 # ---------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6817 # Portably unset VAR.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6818 as_fn_unset ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6819 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6820 { eval $1=; unset $1;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6821 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6822 as_unset=as_fn_unset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6823 # as_fn_append VAR VALUE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6824 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6825 # 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
6826 # 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
6827 # 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
6828 # implementations.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6829 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
6830 eval 'as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6831 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6832 eval $1+=\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6833 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6834 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6835 as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6836 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6837 eval $1=\$$1\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6838 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6839 fi # as_fn_append
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6840
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6841 # as_fn_arith ARG...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6842 # ------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6843 # 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
6844 # 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
6845 # 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
6846 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
6847 eval 'as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6848 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6849 as_val=$(( $* ))
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6850 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6851 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6852 as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6853 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6854 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
6855 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6856 fi # as_fn_arith
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6857
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6858
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6859 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
6860 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6861 as_expr=expr
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6862 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6863 as_expr=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6864 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6865
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6866 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
6867 as_basename=basename
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6868 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6869 as_basename=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6870 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6871
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6872 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
6873 as_dirname=dirname
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6874 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6875 as_dirname=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6876 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6877
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6878 as_me=`$as_basename -- "$0" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6880 X"$0" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6881 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
6882 $as_echo X/"$0" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6883 sed '/^.*\/\([^/][^/]*\)\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6884 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6885 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6886 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6887 /^X\/\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6888 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6889 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6890 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6891 /^X\/\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6892 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6893 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6894 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6895 s/.*/./; q'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6896
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6897 # Avoid depending upon Character Ranges.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6898 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6899 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6900 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
6901 as_cr_digits='0123456789'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6902 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
6903
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6904 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
6905 case `echo -n x` in #(((((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6906 -n*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6907 case `echo 'xy\c'` in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6908 *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
6909 xy) ECHO_C='\c';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6910 *) 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
6911 ECHO_T=' ';;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6912 esac;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6913 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6914 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
6915 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6916
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6917 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
6918 if test -d conf$$.dir; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6919 rm -f conf$$.dir/conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6920 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6921 rm -f conf$$.dir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6922 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
6923 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6924 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
6925 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
6926 as_ln_s='ln -s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6927 # ... but there are two gotchas:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6928 # 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
6929 # 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
6930 # 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
6931 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
6932 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
6933 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
6934 as_ln_s=ln
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6935 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6936 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
6937 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6938 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6939 as_ln_s='cp -pR'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6940 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6941 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
6942 rmdir conf$$.dir 2>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6943
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6944
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6945 # as_fn_mkdir_p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6946 # -------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6947 # 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
6948 as_fn_mkdir_p ()
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
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6951 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6952 -*) as_dir=./$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6953 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6954 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
6955 as_dirs=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6956 while :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6957 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6958 *\'*) 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
6959 *) as_qdir=$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6960 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6961 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
6962 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
6963 $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
6964 X"$as_dir" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6965 X"$as_dir" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6966 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
6967 $as_echo X"$as_dir" |
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6969 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6970 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6971 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6972 /^X\(\/\/\)[^/].*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6973 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6974 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6975 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6976 /^X\(\/\/\)$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6977 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6978 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6979 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6980 /^X\(\/\).*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6981 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6982 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6983 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6984 s/.*/./; q'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6985 test -d "$as_dir" && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6986 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6987 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
6988 } || 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
6989
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6990
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6991 } # as_fn_mkdir_p
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6992 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
6993 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
6994 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6995 test -d ./-p && rmdir ./-p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6996 as_mkdir_p=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6997 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6998
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6999
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7000 # 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
7001 # -----------------------
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7002 # 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
7003 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
7004 {
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7005 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
7006 } # 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
7007 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
7008 as_executable_p=as_fn_executable_p
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7009
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7010 # 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
7011 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
7012
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7013 # 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
7014 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
7015
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7016
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7017 exec 6>&1
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7018 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7019 ## 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
7020 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7021 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7022 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
7023
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7024 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
7025 # 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
7026 # 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
7027 # values after options handling.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7028 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
7029 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
7030 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
7031
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7032 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
7033 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
7034 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
7035 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
7036 $ $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
7037
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7038 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
7039 "
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7040
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7041 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7042
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7043 case $ac_config_files in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7044 "*) 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
7045 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7046
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7047 case $ac_config_headers in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7048 "*) 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
7049 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7050
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7051
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7053 # 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
7054 config_files="$ac_config_files"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7055 config_headers="$ac_config_headers"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7056
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7057 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7058
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7060 ac_cs_usage="\
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7061 \`$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
7062 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
7063 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
7064
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7065 Usage: $0 [OPTION]... [TAG]...
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7066
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7067 -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
7068 -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
7069 --config print configuration, then exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7070 -q, --quiet, --silent
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7071 do not print progress messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7072 -d, --debug don't remove temporary files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7073 --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
7074 --file=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7075 instantiate the configuration file FILE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7076 --header=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7077 instantiate the configuration header FILE
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7078
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7079 Configuration files:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7080 $config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7081
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7082 Configuration headers:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7083 $config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7084
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7085 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
7086
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7087 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7088 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
7089 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7090 ac_cs_version="\\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7091 config.status
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7092 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
7093 with options \\"\$ac_cs_config\\"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7094
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7095 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7096 This config.status script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7097 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
7098
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7099 ac_pwd='$ac_pwd'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7100 srcdir='$srcdir'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7101 INSTALL='$INSTALL'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7102 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
7103 _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
7104
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7105 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
7106 # The default lists apply if the user does not specify any file.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7107 ac_need_defaults=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7108 while test $# != 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7109 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7110 case $1 in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7111 --*=?*)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7112 ac_option=`expr "X$1" : 'X\([^=]*\)='`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7113 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7114 ac_shift=:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7115 ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7116 --*=)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7117 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
7118 ac_optarg=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7119 ac_shift=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7120 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7121 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7122 ac_option=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7123 ac_optarg=$2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7124 ac_shift=shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7125 ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7126 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7127
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7128 case $ac_option in
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7129 # Handling of the options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7130 -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
7131 ac_cs_recheck=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7132 --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
7133 $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
7134 --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
7135 $as_echo "$ac_cs_config"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7136 --debug | --debu | --deb | --de | --d | -d )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7137 debug=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7138 --file | --fil | --fi | --f )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7139 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7140 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7141 *\'*) 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
7142 '') 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
7143 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7144 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
7145 ac_need_defaults=false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7146 --header | --heade | --head | --hea )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7147 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7148 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7149 *\'*) 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
7150 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7151 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
7152 ac_need_defaults=false;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7153 --he | --h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7154 # 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
7155 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
7156 Try \`$0 --help' for more information.";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7157 --help | --hel | -h )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7158 $as_echo "$ac_cs_usage"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7160 | -silent | --silent | --silen | --sile | --sil | --si | --s)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7161 ac_cs_silent=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7162
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7163 # This is an error.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7164 -*) 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
7165 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
7166
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7167 *) 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
7168 ac_need_defaults=false ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7169
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7170 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7171 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7172 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7173
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7174 ac_configure_extra_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7175
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7176 if $ac_cs_silent; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7177 exec 6>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7178 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
7179 fi
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 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7182 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
7183 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
7184 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
7185 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7186 \$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
7187 CONFIG_SHELL='$SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7188 export CONFIG_SHELL
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7189 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
7190 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
7191
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7192 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7193 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
7194 exec 5>>config.log
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7195 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7196 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7197 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
7198 ## Running $as_me. ##
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7199 _ASBOX
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7200 $as_echo "$ac_log"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7201 } >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7202
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7203 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7204 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
7205 _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
7206
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7207 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
7208
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7209 # Handling of arguments.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7210 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
7211 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7212 case $ac_config_target in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7213 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7214 "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
7215 "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
7216 "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
7217 "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
7218
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7219 *) 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
7220 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7221 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7222
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7223
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7224 # If the user did not use the arguments to specify the items to instantiate,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7225 # then the envvar interface is used. Set only those that are not.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7226 # We use the long form for the default assignment because of an extremely
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7227 # bizarre bug on SunOS 4.1.3.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7228 if $ac_need_defaults; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7229 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7230 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7231 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7232
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7233 # 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
7234 # 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
7235 # 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
7236 # Hook for its removal unless debugging.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7237 # 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
7238 # after its creation but before its name has been assigned to `$tmp'.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7239 $debug ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7240 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7241 tmp= ac_tmp=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7242 trap 'exit_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7243 : "${ac_tmp:=$tmp}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7244 { 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
7245 ' 0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7246 trap 'as_fn_exit 1' 1 2 13 15
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7247 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7248 # 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
7249
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7250 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7251 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
7252 test -d "$tmp"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7253 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7254 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7255 tmp=./conf$$-$RANDOM
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7256 (umask 077 && mkdir "$tmp")
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7257 } || 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
7258 ac_tmp=$tmp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7259
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7260 # 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
7261 # 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
7262 # 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
7263 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
7264
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7265
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7266 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
7267 # 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
7268 # 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
7269 # 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
7270 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
7271 eval ac_cr=\$\'\\r\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7272 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7273 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
7274 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
7275 ac_cs_awk_cr='\\r'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7276 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7277 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
7278 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7279
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7280 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
7281 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7282
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7283
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
7284 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7285 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
7286 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
7287 echo "_ACEOF"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7288 } >conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7289 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
7290 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
7291 ac_delim='%!_!# '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7292 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
7293 . ./conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7294 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
7295
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7296 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
7297 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
7298 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7299 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
7300 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
7301 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7302 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
7303 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7304 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7305 rm -f conf$$subs.sh
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7306
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7307 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
7308 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
7309 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7310 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7311 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7312 s/^/S["/; s/!.*/"]=/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7313 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7314 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7315 s/^[^!]*!//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7316 :repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7317 t repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7318 s/'"$ac_delim"'$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7319 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7320 :nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7321 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7322 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7323 t more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7324 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7325 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7326 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7327 b repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7328 :more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7329 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7330 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7331 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7332 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7333 t nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7334 :delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7335 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7336 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7337 t more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7338 s/["\\]/\\&/g; s/^/"/; s/$/"/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7339 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7340 b
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7341 :more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7343 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7344 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7345 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7346 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7347 ' <conf$$subs.awk | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7348 /^[^""]/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7349 N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7350 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7351 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7352 ' >>$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
7353 rm -f conf$$subs.awk
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7354 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
7355 _ACAWK
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7356 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
7357 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
7358 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7359
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7360 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7361 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7362 line = $ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7363 nfields = split(line, field, "@")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7364 substed = 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7365 len = length(field[1])
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7366 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
7367 key = field[i]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7368 keylen = length(key)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7369 if (S_is_set[key]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7370 value = S[key]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7371 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
7372 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
7373 substed = 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7374 } else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7375 len += 1 + keylen
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7376 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7377
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7378 print line
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7379 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7380
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7381 _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
7382 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7383 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
7384 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
7385 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
7386 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7387 cat
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7388 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
7389 || 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
7390 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7391
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7392 # 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
7393 # ${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
7394 # 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
7395 # (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
7396 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
7397 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7398 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7399 s///
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7400 s/^/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7401 s/[ ]*$/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7402 s/:\$(srcdir):/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7403 s/:\${srcdir}:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7404 s/:@srcdir@:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7405 s/^:*//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7406 s/:*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7407 x
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7408 s/\(=[ ]*\).*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7409 G
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7410 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7411 s/^[^=]*=[ ]*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7412 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7413 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7414
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7415 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
7416 fi # test -n "$CONFIG_FILES"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7417
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7418 # 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
7419 # 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
7420 # 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
7421 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
7422 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
7423 BEGIN {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7424 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7425
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7426 # 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
7427 # 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
7428 # 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
7429
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7430 # 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
7431 # handling of long lines.
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7432 ac_delim='%!_!# '
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7433 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
7434 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
7435 if test -z "$ac_tt"; then
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7436 break
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7437 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
7438 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
7439 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7440 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7441 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7442 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7443
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7444 # 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
7445 # 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
7446 # newline sequences.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7447
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7448 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
7449 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7450 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7451 t rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7452 :rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7453 s/^[ ]*#[ ]*define[ ][ ]*/ /
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7454 t def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7455 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7456 :def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7457 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7458 t bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7459 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7460 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
7461 D["\1"]=" \3"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7462 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
7463 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7464 :bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7465 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7466 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
7467 D["\1"]=" \3\\\\\\n"\\/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7468 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7469 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
7470 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7471 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7472 :cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7473 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7474 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7475 t clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7476 :clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7477 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7478 t bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7479 s/["\\]/\\&/g; s/^/"/; s/$/"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7480 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7481 :bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7482 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
7483 b cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7484 ' <confdefs.h | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7485 s/'"$ac_delim"'/"\\\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7486 "/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
7487
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7488 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
7489 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
7490 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7491 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7492 /^[\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
7493 line = \$ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7494 split(line, arg, " ")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7495 if (arg[1] == "#") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7496 defundef = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7497 mac1 = arg[3]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7498 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7499 defundef = substr(arg[1], 2)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7500 mac1 = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7501 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7502 split(mac1, mac2, "(") #)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7503 macro = mac2[1]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7504 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
7505 if (D_is_set[macro]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7506 # 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
7507 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
7508 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7509 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7510 # 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
7511 # 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
7512 # 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
7513 if (defundef == "undef") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7514 print "/*", prefix defundef, macro, "*/"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7515 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7516 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7517 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7518 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7519 { print }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7520 _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
7521 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7522 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
7523 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
7524 fi # test -n "$CONFIG_HEADERS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7525
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7526
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7527 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
7528 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7529 for ac_tag
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7530 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7531 case $ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7532 :[FHLC]) ac_mode=$ac_tag; continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7533 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7534 case $ac_mode$ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7535 :[FHL]*:*);;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7536 :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
7537 :[FH]-) ac_tag=-:-;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7538 :[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
7539 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7540 ac_save_IFS=$IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7541 IFS=:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7542 set x $ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7543 IFS=$ac_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7544 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7545 ac_file=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7546 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7547
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7548 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7549 :L) ac_source=$1;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7550 :[FH])
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7551 ac_file_inputs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7552 for ac_f
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7553 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7554 case $ac_f in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7555 -) ac_f="$ac_tmp/stdin";;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7556 *) # 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
7557 # (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
7558 # because $ac_f cannot contain `:'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7559 test -f "$ac_f" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7560 case $ac_f in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7561 [\\/$]*) false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7562 *) 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
7563 esac ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7564 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
7565 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7566 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
7567 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
7568 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7569
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7570 # 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
7571 # 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
7572 # /* 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
7573 configure_input='Generated from '`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7574 $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
7575 `' by configure.'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7576 if test x"$ac_file" != x-; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7577 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
7578 { $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
7579 $as_echo "$as_me: creating $ac_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7580 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7581 # 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
7582 case $configure_input in #(
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 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
7585 sed 's/[\\\\&|]/\\\\&/g'`;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7586 *) 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
7587 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7588
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7589 case $ac_tag in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7590 *:-:* | *:-) cat >"$ac_tmp/stdin" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7591 || 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
7592 esac
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7593 ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7594 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7595
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7596 ac_dir=`$as_dirname -- "$ac_file" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7598 X"$ac_file" : 'X\(//\)[^/]' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7599 X"$ac_file" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7600 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
7601 $as_echo X"$ac_file" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7603 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7604 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7605 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7606 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7607 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7608 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7609 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7610 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7611 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7612 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7613 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7614 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7615 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7616 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7617 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7618 s/.*/./; q'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7619 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
7620 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
7621
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7622 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7623 .) 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
7624 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7625 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
7626 # 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
7627 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
7628 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7629 "") 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
7630 *) 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
7631 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7632 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7633 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7634 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
7635 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7636 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
7637
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7638 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7639 .) # 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
7640 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7641 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7642 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7643 [\\/]* | ?:[\\/]* ) # 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
7644 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7645 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7646 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7647 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7648 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
7649 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
7650 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
7651 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7652 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
7653
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7654
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7655 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7656 :F)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7657 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7658 # CONFIG_FILE
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7659 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7660
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7661 case $INSTALL in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7662 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7663 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7664 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7665 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7666
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7667
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7668 # Neutralize VPATH when `$srcdir' = `.'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7669 # 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
7670 # 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
7671 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
7672 ac_sed_extra="$ac_vpsub
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7673 $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
7674 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7676 :t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7677 /@[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
7678 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
7679 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
7680 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
7681 s&@srcdir@&$ac_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7682 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
7683 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
7684 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
7685 s&@builddir@&$ac_builddir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7686 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
7687 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
7688 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
7689 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7690 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
7691 >$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
7692
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7693
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7694 rm -f "$ac_tmp/stdin"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7695 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7696 -) 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
7697 *) 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
7698 esac \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7699 || 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
7700 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7701 :H)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7702 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7703 # CONFIG_HEADER
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7704 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7705 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
7706 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7707 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7708 && 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
7709 } >"$ac_tmp/config.h" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7710 || 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
7711 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
7712 { $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
7713 $as_echo "$as_me: $ac_file is unchanged" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7714 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7715 rm -f "$ac_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7716 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
7717 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7718 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7719 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7720 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7721 && 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
7722 || as_fn_error $? "could not create -" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7723 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7724 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7725
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7726
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7727 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7728
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7729 done # for ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7730
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7731
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7732 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
7733 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7734 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7735
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7736 test $ac_write_fail = 0 ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7737 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
7738
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7739
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7740 # configure is writing to config.log, and then calls config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7741 # config.status does its own redirection, appending to config.log.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7742 # Unfortunately, on DOS this fails, as config.log is still kept open
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7743 # by configure, so config.status won't be able to write to it; its
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7744 # output is simply discarded. So we exec the FD to /dev/null,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7745 # effectively closing config.log, so it can be properly (re)opened and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7746 # appended to by config.status. When coming back to configure, we
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7747 # need to make the FD available again.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7748 if test "$no_create" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7749 ac_cs_success=:
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7750 ac_config_status_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7751 test "$silent" = yes &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7752 ac_config_status_args="$ac_config_status_args --quiet"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7753 exec 5>/dev/null
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7754 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7755 exec 5>>config.log
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7756 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7757 # 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
7758 $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
7759 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7760 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
7761 { $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
7762 $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
7763 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7764