annotate configure @ 2109:068681933258

GTK: Add dwtest to install rules and a desktop link required for notifications. Also added missing rules to uninstall and distclean.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 17 Jun 2020 08:41:18 +0000
parents 082d743f3214
children 37ce3e22ee1a
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
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
625 INSTALL_COMPAT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
626 COMPAT_OBJECT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
627 BROWSER_OBJECT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
628 DW_DEFINE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
629 DW_DIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
630 DW_SRC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
631 TARGETS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
632 SONAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
633 LIBPREFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
634 LIBSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
635 SOSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
636 SHAREDFLAG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
637 MKDIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
638 MV
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
639 CP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
640 LN
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
641 RM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
642 ARFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
643 PLATCCFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
644 INCLUDES
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
645 SYSCONF_LINK_TARGET_STATIC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
646 SYSCONF_LINK_TARGET_SHARED2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
647 SYSCONF_LINK_TARGET_SHARED
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
648 GDK_IMLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
649 GDK_IMLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
650 IMLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
651 GTK_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
652 GTK_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
653 GTK_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
654 GLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
655 GLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
656 GLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
657 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
658 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
659 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
660 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
661 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
662 XMKMF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
663 EGREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
664 GREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
665 CPP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
666 target_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
667 target_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
668 target_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
669 target
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
670 host_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
671 host_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
672 host_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
673 host
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
674 build_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
675 build_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
676 build_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
677 build
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
678 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
679 INSTALL_SCRIPT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
680 INSTALL_PROGRAM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
681 SVNVERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
682 MAKE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
683 ac_ct_CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
684 CXXFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
685 CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
686 OBJEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
687 EXEEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
688 ac_ct_CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
689 CPPFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
690 LDFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
691 CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
692 CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
693 TARGET2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
694 TARGET
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
695 target_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
696 host_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
697 build_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
698 LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
699 ECHO_T
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
700 ECHO_N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
701 ECHO_C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
702 DEFS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
703 mandir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
704 localedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
705 libdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
706 psdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
707 pdfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
708 dvidir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
709 htmldir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
710 infodir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
711 docdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
712 oldincludedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
713 includedir
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
714 runstatedir
1596
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'
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
803 runstatedir='${localstatedir}/run'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
804 includedir='${prefix}/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
805 oldincludedir='/usr/include'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
806 docdir='${datarootdir}/doc/${PACKAGE}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
807 infodir='${datarootdir}/info'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
808 htmldir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
809 dvidir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
810 pdfdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
811 psdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
812 libdir='${exec_prefix}/lib'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
813 localedir='${datarootdir}/locale'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
814 mandir='${datarootdir}/man'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
815
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
816 ac_prev=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
817 ac_dashdash=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
818 for ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
819 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
820 # If the previous option needs an argument, assign it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
821 if test -n "$ac_prev"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
822 eval $ac_prev=\$ac_option
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
823 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
824 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
825 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
826
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
827 case $ac_option in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
828 *=?*) 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
829 *=) ac_optarg= ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
830 *) ac_optarg=yes ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
831 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
832
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
833 # Accept the important Cygnus configure options, so we can diagnose typos.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
834
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
835 case $ac_dashdash$ac_option in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
836 --)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
837 ac_dashdash=yes ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
838
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
839 -bindir | --bindir | --bindi | --bind | --bin | --bi)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
840 ac_prev=bindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
841 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
842 bindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
843
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
844 -build | --build | --buil | --bui | --bu)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
845 ac_prev=build_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
846 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
847 build_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
848
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
849 -cache-file | --cache-file | --cache-fil | --cache-fi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
851 ac_prev=cache_file ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
854 cache_file=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
855
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
856 --config-cache | -C)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
857 cache_file=config.cache ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
858
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
859 -datadir | --datadir | --datadi | --datad)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
860 ac_prev=datadir ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
861 -datadir=* | --datadir=* | --datadi=* | --datad=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
862 datadir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
863
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
864 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
865 | --dataroo | --dataro | --datar)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
866 ac_prev=datarootdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
867 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
868 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
869 datarootdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
870
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
871 -disable-* | --disable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
872 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
873 # 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
874 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
875 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
876 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
877 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
878 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
879 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
880 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
881 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
882 *) 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
883 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
884 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
885 eval enable_$ac_useropt=no ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
886
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
887 -docdir | --docdir | --docdi | --doc | --do)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
888 ac_prev=docdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
889 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
890 docdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
891
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
892 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
893 ac_prev=dvidir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
894 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
895 dvidir=$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
896
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
897 -enable-* | --enable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
898 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
899 # 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
900 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
901 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
902 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
903 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
904 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
905 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
906 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
907 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
908 *) 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
909 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
910 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
911 eval enable_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
912
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
913 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
914 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
915 | --exec | --exe | --ex)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
916 ac_prev=exec_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
917 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
918 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
919 | --exec=* | --exe=* | --ex=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
920 exec_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
921
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
922 -gas | --gas | --ga | --g)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
923 # Obsolete; use --with-gas.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
924 with_gas=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
925
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
926 -help | --help | --hel | --he | -h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
927 ac_init_help=long ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
928 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
929 ac_init_help=recursive ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
930 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
931 ac_init_help=short ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
932
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
933 -host | --host | --hos | --ho)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
934 ac_prev=host_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
935 -host=* | --host=* | --hos=* | --ho=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
936 host_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
937
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
938 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
939 ac_prev=htmldir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
940 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
941 | --ht=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
942 htmldir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
943
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
944 -includedir | --includedir | --includedi | --included | --include \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
945 | --includ | --inclu | --incl | --inc)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
946 ac_prev=includedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
947 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
948 | --includ=* | --inclu=* | --incl=* | --inc=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
949 includedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
950
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
951 -infodir | --infodir | --infodi | --infod | --info | --inf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
952 ac_prev=infodir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
953 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
954 infodir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
955
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
956 -libdir | --libdir | --libdi | --libd)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
957 ac_prev=libdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
958 -libdir=* | --libdir=* | --libdi=* | --libd=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
959 libdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
960
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
961 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
962 | --libexe | --libex | --libe)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
963 ac_prev=libexecdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
964 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
965 | --libexe=* | --libex=* | --libe=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
966 libexecdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
967
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
968 -localedir | --localedir | --localedi | --localed | --locale)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
969 ac_prev=localedir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
970 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
971 localedir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
972
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
973 -localstatedir | --localstatedir | --localstatedi | --localstated \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
974 | --localstate | --localstat | --localsta | --localst | --locals)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
975 ac_prev=localstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
976 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
977 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
978 localstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
979
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
980 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
981 ac_prev=mandir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
982 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
983 mandir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
984
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
985 -nfp | --nfp | --nf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
986 # Obsolete; use --without-fp.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
987 with_fp=no ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
988
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
989 -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
990 | --no-cr | --no-c | -n)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
991 no_create=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
992
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
993 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
994 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
995 no_recursion=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
996
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
997 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
998 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
999 | --oldin | --oldi | --old | --ol | --o)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1000 ac_prev=oldincludedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1001 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1002 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1003 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1004 oldincludedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1005
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1006 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1007 ac_prev=prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1008 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1009 prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1010
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1011 -program-prefix | --program-prefix | --program-prefi | --program-pref \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1012 | --program-pre | --program-pr | --program-p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1013 ac_prev=program_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1014 -program-prefix=* | --program-prefix=* | --program-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1015 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1016 program_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1017
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1018 -program-suffix | --program-suffix | --program-suffi | --program-suff \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1019 | --program-suf | --program-su | --program-s)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1020 ac_prev=program_suffix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1021 -program-suffix=* | --program-suffix=* | --program-suffi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1022 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1023 program_suffix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1024
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1025 -program-transform-name | --program-transform-name \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1026 | --program-transform-nam | --program-transform-na \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1027 | --program-transform-n | --program-transform- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1028 | --program-transform | --program-transfor \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1029 | --program-transfo | --program-transf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1030 | --program-trans | --program-tran \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1031 | --progr-tra | --program-tr | --program-t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1032 ac_prev=program_transform_name ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1033 -program-transform-name=* | --program-transform-name=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1034 | --program-transform-nam=* | --program-transform-na=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1035 | --program-transform-n=* | --program-transform-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1036 | --program-transform=* | --program-transfor=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1037 | --program-transfo=* | --program-transf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1038 | --program-trans=* | --program-tran=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1039 | --progr-tra=* | --program-tr=* | --program-t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1040 program_transform_name=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1041
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1042 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1043 ac_prev=pdfdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1044 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1045 pdfdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1046
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1047 -psdir | --psdir | --psdi | --psd | --ps)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1048 ac_prev=psdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1049 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1050 psdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1051
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1053 | -silent | --silent | --silen | --sile | --sil)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1054 silent=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1055
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1056 -runstatedir | --runstatedir | --runstatedi | --runstated \
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1057 | --runstate | --runstat | --runsta | --runst | --runs \
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1058 | --run | --ru | --r)
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1059 ac_prev=runstatedir ;;
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1060 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1061 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1062 | --run=* | --ru=* | --r=*)
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1063 runstatedir=$ac_optarg ;;
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1064
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1066 ac_prev=sbindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1068 | --sbi=* | --sb=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1069 sbindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1070
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1073 | --sharedst | --shareds | --shared | --share | --shar \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1074 | --sha | --sh)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1075 ac_prev=sharedstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1079 | --sha=* | --sh=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1080 sharedstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1081
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1082 -site | --site | --sit)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1083 ac_prev=site ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1084 -site=* | --site=* | --sit=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1085 site=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1086
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1088 ac_prev=srcdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1090 srcdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1091
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1093 | --syscon | --sysco | --sysc | --sys | --sy)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1094 ac_prev=sysconfdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1097 sysconfdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1098
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1100 ac_prev=target_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1102 target_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1103
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1105 verbose=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1106
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1107 -version | --version | --versio | --versi | --vers | -V)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1108 ac_init_version=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1109
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1110 -with-* | --with-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1112 # 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
1113 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
1114 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
1115 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1116 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
1117 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1118 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1119 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1120 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1121 *) 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
1122 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1123 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1124 eval with_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1125
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1126 -without-* | --without-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1128 # 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
1129 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
1130 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
1131 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1132 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
1133 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1134 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1135 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1136 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1137 *) 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
1138 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1139 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1140 eval with_$ac_useropt=no ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1141
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1142 --x)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1143 # Obsolete; use --with-x.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1144 with_x=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1145
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1147 | --x-incl | --x-inc | --x-in | --x-i)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1148 ac_prev=x_includes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1151 x_includes=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1152
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1155 ac_prev=x_libraries ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1158 x_libraries=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1159
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1160 -*) 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
1161 Try \`$0 --help' for more information"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1162 ;;
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 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1166 # 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
1167 case $ac_envvar in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1169 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
1170 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1171 eval $ac_envvar=\$ac_optarg
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1172 export $ac_envvar ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1173
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1174 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1175 # 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
1176 $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
1177 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
1178 $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
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1180 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1181
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1182 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1183 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1184
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1185 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1186 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
1187 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
1188 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1189
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1190 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
1191 case $enable_option_checking in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1192 no) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1193 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
1194 *) $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
1195 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1196 fi
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 # Check all directory arguments for consistency.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1199 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
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1202 libdir localedir mandir runstatedir
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1203 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1204 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
1205 # Remove trailing slashes.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1206 case $ac_val in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1207 */ )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1208 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
1209 eval $ac_var=\$ac_val;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1210 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1211 # 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
1212 case $ac_val in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1213 [\\/$]* | ?:[\\/]* ) continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1214 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
1215 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1217 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1218
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1219 # There might be people who depend on the old broken behavior: `$host'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1220 # 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
1221 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1222 build=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1223 host=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1224 target=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1225
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1226 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1227 if test "x$host_alias" != x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1228 if test "x$build_alias" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1229 cross_compiling=maybe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1230 elif test "x$build_alias" != "x$host_alias"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1231 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1232 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1233 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1234
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1235 ac_tool_prefix=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1237
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1238 test "$silent" = yes && exec 6>/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1239
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1240
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1242 ac_ls_di=`ls -di .` &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1243 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
1244 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
1245 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
1246 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
1247
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1248
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1249 # Find the source files, if location was not specified.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1250 if test -z "$srcdir"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1251 ac_srcdir_defaulted=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1252 # 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
1253 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
1254 $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
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1256 X"$as_myself" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1257 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
1258 $as_echo X"$as_myself" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1260 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1261 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1262 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1263 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1264 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1265 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1266 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1267 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1268 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1269 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1270 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1271 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1272 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1273 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1274 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1275 s/.*/./; q'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1276 srcdir=$ac_confdir
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1277 if test ! -r "$srcdir/$ac_unique_file"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1278 srcdir=..
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1279 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1280 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1281 ac_srcdir_defaulted=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1282 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1283 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
1284 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
1285 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
1286 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1287 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
1288 ac_abs_confdir=`(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1289 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
1290 pwd)`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1291 # When building in place, set srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1292 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
1293 srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1294 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1295 # Remove unnecessary trailing slashes from srcdir.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1296 # 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
1297 # mess up M-x gdb in Emacs.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1298 case $srcdir in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1299 */) 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
1300 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1301 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
1302 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
1303 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
1304 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
1305 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
1306 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1307
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1308 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1309 # Report the --help message.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1310 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1311 if test "$ac_init_help" = "long"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1312 # Omit some internal or obsolete options to make the list less imposing.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1313 # 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
1314 cat <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1315 \`configure' configures this package to adapt to many kinds of systems.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1316
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1318
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1321
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1322 Defaults for the options are specified in brackets.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1323
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1324 Configuration:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1325 -h, --help display this help and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1326 --help=short display options specific to this package
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1327 --help=recursive display the short help of all the included packages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1328 -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
1329 -q, --quiet, --silent do not print \`checking ...' messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1330 --cache-file=FILE cache test results in FILE [disabled]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1331 -C, --config-cache alias for \`--cache-file=config.cache'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1332 -n, --no-create do not create output files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1334
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1335 Installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1336 --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
1337 [$ac_default_prefix]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1338 --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
1339 [PREFIX]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1340
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1341 By default, \`make install' will install all the files in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1344 for instance \`--prefix=\$HOME'.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1345
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1346 For better control, use the options below.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1347
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1348 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
1349 --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
1350 --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
1351 --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
1352 --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
1353 --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
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
1355 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1356 --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
1357 --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
1358 --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
1359 --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
1360 --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
1361 --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
1362 --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
1363 --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
1364 --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
1365 --htmldir=DIR html documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1366 --dvidir=DIR dvi documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1367 --pdfdir=DIR pdf documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1368 --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
1369 _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
1370
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1371 cat <<\_ACEOF
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1372
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
1373 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
1374 --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
1375 --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
1376
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1377 System types:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1378 --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
1379 --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
1380 --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
1381 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1382 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1383
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1384 if test -n "$ac_init_help"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1385
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1386 cat <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1387
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1388 Optional Features:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1389 --disable-option-checking ignore unrecognized --enable/--with options
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1392 --disable-glibtest Do not try to compile and run a test GLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1393 --disable-gtktest Do not try to compile and run a test GTK program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1394 --disable-imlibtest Do not try to compile and run a test IMLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1395
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1396 Optional Packages:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1397 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1398 --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
1399 --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
1400 --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
1401 --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
1402 --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
1403 --with-x use the X Window System
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1404 --with-glib-prefix=PFX Prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1405 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1406 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1407 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1408 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1409 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1410
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1411 Some influential environment variables:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1412 CC C compiler command
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1413 CFLAGS C compiler flags
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1415 nonstandard directory <lib dir>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1416 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
1417 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
1418 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
1419 CXX C++ compiler command
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1420 CXXFLAGS C++ compiler flags
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1421 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
1422 XMKMF Path to xmkmf, Makefile generator for X Window System
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1423
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1424 Use these variables to override the choices made by `configure' or to help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1425 it to find libraries and programs with nonstandard names/locations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1426
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1427 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
1428 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1429 ac_status=$?
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1430 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1431
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1432 if test "$ac_init_help" = "recursive"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1433 # 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
1434 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
1435 test -d "$ac_dir" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1436 { 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
1437 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
1438 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
1439
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1440 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1441 .) 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
1442 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1443 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
1444 # 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
1445 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
1446 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1447 "") 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
1448 *) 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
1449 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1450 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1451 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1452 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
1453 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1454 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
1455
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1456 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1457 .) # 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
1458 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1459 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1460 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1461 [\\/]* | ?:[\\/]* ) # 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
1462 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1463 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1464 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1465 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1466 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
1467 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
1468 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
1469 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1470 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
1471
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1472 cd "$ac_dir" || { ac_status=$?; continue; }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1473 # Check for guested configure.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1474 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
1475 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1477 elif test -f "$ac_srcdir/configure"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1478 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1479 $SHELL "$ac_srcdir/configure" --help=recursive
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1480 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1481 $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
1482 fi || ac_status=$?
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1483 cd "$ac_pwd" || { ac_status=$?; break; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1484 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1485 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1486
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1487 test -n "$ac_init_help" && exit $ac_status
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1488 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
1489 cat <<\_ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1490 configure
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1491 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
1492
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1493 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1494 This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1495 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
1496 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1497 exit
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1498 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1499
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1500 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1501 ## Autoconf initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1502 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1503
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1504 # 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
1505 # --------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1506 # 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
1507 ac_fn_c_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1508 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1509 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
1510 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1511 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1512 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1514 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1515 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1516 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
1517 $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
1518 (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
1519 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1520 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
1521 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
1522 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1523 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
1524 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1525 $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
1526 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1527 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
1528 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1529 } && 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
1530 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1531 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1532 $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
1533 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
1534
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1535 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1536 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1537 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
1538 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
1539
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1540 } # ac_fn_c_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1541
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1542 # 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
1543 # ----------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1544 # 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
1545 ac_fn_cxx_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1546 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1547 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
1548 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1549 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1550 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1552 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1553 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1554 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
1555 $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
1556 (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
1557 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1558 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
1559 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
1560 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1561 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
1562 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1563 $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
1564 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1565 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
1566 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1567 } && 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
1568 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1569 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1570 $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
1571 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
1572
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1573 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1574 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1575 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
1576 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
1577
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1578 } # ac_fn_cxx_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1579
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1580 # 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
1581 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1582 # 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
1583 ac_fn_c_try_cpp ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1584 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1585 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
1586 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
1587 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1589 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1590 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1591 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
1592 $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
1593 (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
1594 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1595 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
1596 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
1597 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1598 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
1599 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1600 $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
1601 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
1602 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
1603 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1604 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1605 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1606 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1607 $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
1608 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
1609
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1610 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1611 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1612 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
1613 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
1614
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1615 } # ac_fn_c_try_cpp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1616
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1617 # 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
1618 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1619 # 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
1620 # that executables *can* be run.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1621 ac_fn_c_try_run ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1622 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1623 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
1624 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1625 case "(($ac_try" in
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 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1628 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1629 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
1630 $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
1631 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1632 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1633 $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
1634 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
1635 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1637 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1638 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1639 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
1640 $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
1641 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1642 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1643 $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
1644 test $ac_status = 0; }; }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1645 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1646 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1647 $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
1648 $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
1649 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
1650
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1651 ac_retval=$ac_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1652 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1653 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
1654 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
1655 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
1656
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1657 } # ac_fn_c_try_run
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1658
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1659 # 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
1660 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1661 # 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
1662 ac_fn_c_try_link ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1663 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1664 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
1665 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
1666 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1667 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1669 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1670 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1671 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
1672 $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
1673 (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
1674 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1675 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
1676 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
1677 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1678 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
1679 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1680 $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
1681 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1682 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
1683 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1684 } && test -s conftest$ac_exeext && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1685 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
1686 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
1687 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1688 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1689 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1690 $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
1691 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
1692
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1693 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1694 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1695 # 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
1696 # 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
1697 # 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
1698 # 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
1699 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
1700 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
1701 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
1702
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1703 } # ac_fn_c_try_link
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1704
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1705 # 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
1706 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1707 # 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
1708 # 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
1709 # accordingly.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1710 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
1711 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1712 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
1713 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1714 { $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
1715 $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
1716 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1717 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1718 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1719 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1720 { $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
1721 $as_echo "$ac_res" >&6; }
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 # Is the header compilable?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1724 { $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
1725 $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
1726 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
1727 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1728 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1729 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1730 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1731 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
1732 ac_header_compiler=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1733 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1734 ac_header_compiler=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1735 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1736 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
1737 { $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
1738 $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
1739
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1740 # Is the header present?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1741 { $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
1742 $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
1743 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
1744 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1745 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1746 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1747 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
1748 ac_header_preproc=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1749 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1750 ac_header_preproc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1751 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1752 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
1753 { $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
1754 $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
1755
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1756 # So? What about this header?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1757 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
1758 yes:no: )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1759 { $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
1760 $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
1761 { $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
1762 $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
1763 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1764 no:yes:* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1765 { $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
1766 $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
1767 { $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
1768 $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
1769 { $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
1770 $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
1771 { $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
1772 $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
1773 { $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
1774 $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
1775 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1776 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1777 { $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
1778 $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
1779 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1780 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1781 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1782 eval "$3=\$ac_header_compiler"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1783 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1784 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1785 { $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
1786 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1787 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1788 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
1789
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1790 } # 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
1791
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1792 # 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
1793 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1794 # 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
1795 # 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
1796 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
1797 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1798 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
1799 { $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
1800 $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
1801 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1802 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1803 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1804 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
1805 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1806 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1807 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1808 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1809 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
1810 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1811 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1812 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1813 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1814 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
1815 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1816 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1817 { $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
1818 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1819 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
1820
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1821 } # 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
1822
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1823 # 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
1824 # ----------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1825 # 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
1826 ac_fn_c_check_func ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1827 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1828 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
1829 { $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
1830 $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
1831 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1832 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1833 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1834 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
1835 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1836 /* 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
1837 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
1838 #define $2 innocuous_$2
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 /* 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
1841 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
1842 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
1843 <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
1844
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1845 #ifdef __STDC__
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1846 # include <limits.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1847 #else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1848 # include <assert.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1849 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1850
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1851 #undef $2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1852
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1853 /* 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
1854 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
1855 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
1856 #ifdef __cplusplus
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1857 extern "C"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1858 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1859 char $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1860 /* 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
1861 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
1862 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
1863 #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
1864 choke me
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1865 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1866
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1867 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1868 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1869 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1870 return $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1871 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1872 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1873 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1874 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1875 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
1876 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1877 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1878 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1879 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1880 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
1881 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
1882 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1883 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1884 { $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
1885 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1886 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
1887
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1888 } # ac_fn_c_check_func
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1889 cat >config.log <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1890 This file contains any messages produced by compilers while
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1891 running configure, to aid debugging if configure makes a mistake.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1892
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1893 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
1894 generated by GNU Autoconf 2.69. Invocation command line was
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1895
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1896 $ $0 $@
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1897
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1898 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1899 exec 5>>config.log
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1900 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1901 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
1902 ## --------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1903 ## 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
1904 ## --------- ##
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1905
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1906 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1907 uname -m = `(uname -m) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1908 uname -r = `(uname -r) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1909 uname -s = `(uname -s) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1910 uname -v = `(uname -v) 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 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1913 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1914
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1915 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1916 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1917 /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
1918 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1919 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1920 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1921 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1922
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1923 _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
1924
7d2108cbcd3e Porting DW 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 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
1926 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
1927 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
1928 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
1929 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
1930 $as_echo "PATH: $as_dir"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1931 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1932 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
1933
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1934 } >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1935
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1936 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
1937
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1938
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1939 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1940 ## 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
1941 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1942
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1943 _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
1944
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1945
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1946 # Keep a trace of the command line.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1947 # 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
1948 # Strip out --silent because we don't want to record it for future runs.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1949 # 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
1950 # Make two passes to allow for proper duplicate-argument suppression.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1951 ac_configure_args=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1952 ac_configure_args0=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1953 ac_configure_args1=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1954 ac_must_keep_next=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1955 for ac_pass in 1 2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1956 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1957 for ac_arg
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1958 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1959 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1960 -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
1961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1962 | -silent | --silent | --silen | --sile | --sil)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1963 continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1964 *\'*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1965 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
1966 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1967 case $ac_pass in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1968 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
1969 2)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1970 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
1971 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
1972 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
1973 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1974 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1975 *=* | --config-cache | -C | -disable-* | --disable-* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1976 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1977 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1978 | -with-* | --with-* | -without-* | --without-* | --x)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1979 case "$ac_configure_args0 " in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1980 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1981 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1982 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1983 -* ) ac_must_keep_next=true ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1984 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1985 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1986 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
1987 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1988 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1989 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1990 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1991 { 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
1992 { ac_configure_args1=; unset ac_configure_args1;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1993
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1994 # When interrupted or exit'd, cleanup temporary files, and complete
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1995 # config.log. We remove comments because anyway the quotes in there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1996 # would cause problems or look ugly.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1997 # 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
1998 # 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
1999 trap 'exit_status=$?
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2000 # 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
2001 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2002 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2003
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2004 $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
2005 ## Cache variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2006 ## ---------------- ##"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2007 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
2008 # 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
2009 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2010 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
2011 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2012 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2013 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2014 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2015 *_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
2016 $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
2017 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2018 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2019 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2020 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
2021 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2022 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2023 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2024 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2025 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2026 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
2027 *${as_nl}ac_space=\ *)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2028 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2029 "s/'\''/'\''\\\\'\'''\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2030 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
2031 ;; #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2032 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2034 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2035 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2036 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2037 )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2038 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2039
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2040 $as_echo "## ----------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2041 ## Output variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2042 ## ----------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2043 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2044 for ac_var in $ac_subst_vars
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2045 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2046 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2047 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2048 *\'\''*) 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
2049 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2050 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2051 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
2052 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2053
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2054 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
2055 $as_echo "## ------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2056 ## File substitutions. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2057 ## ------------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2058 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2059 for ac_var in $ac_subst_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2060 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2061 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2062 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2063 *\'\''*) 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
2064 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2065 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2066 done | sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2067 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2068 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2069
120
7d2108cbcd3e Porting DW 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 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
2071 $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
2072 ## confdefs.h. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2073 ## ----------- ##"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2074 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2075 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
2076 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
2077 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
2078 test "$ac_signal" != 0 &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2079 $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
2080 $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
2081 } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2082 rm -f core *.core core.conftest.* &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2083 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2084 exit $exit_status
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2085 ' 0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2086 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
2087 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2088 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2089 ac_signal=0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2090
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2091 # 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
2092 rm -f -r conftest* confdefs.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2093
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2094 $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
2095
120
7d2108cbcd3e Porting DW 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 # 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
2097
7d2108cbcd3e Porting DW 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 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
2099 #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
2100 _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
2101
7d2108cbcd3e Porting DW 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 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
2103 #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
2104 _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
2105
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2106 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
2107 #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
2108 _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
2109
7d2108cbcd3e Porting DW 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 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
2111 #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
2112 _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
2113
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2114 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2116 _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
2117
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2118 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2119 #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
2120 _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
2121
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2122
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2123 # 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
2124 # 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
2125 ac_site_file1=NONE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2126 ac_site_file2=NONE
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2127 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
2128 # 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
2129 case $CONFIG_SITE in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2130 -*) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2131 */*) ac_site_file1=$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2132 *) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2133 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2134 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
2135 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
2136 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
2137 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2138 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
2139 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
2140 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2141 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
2142 do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2143 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
2144 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
2145 { $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
2146 $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
2147 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
2148 . "$ac_site_file" \
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}: error: in \`$ac_pwd':" >&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: error: in \`$ac_pwd':" >&2;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2151 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
2152 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2153 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2154 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2155
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2156 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
2157 # 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
2158 # 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
2159 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
2160 { $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
2161 $as_echo "$as_me: loading cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2162 case $cache_file in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2163 [\\/]* | ?:[\\/]* ) . "$cache_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2164 *) . "./$cache_file";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2165 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2166 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2167 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2169 $as_echo "$as_me: creating cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2170 >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2171 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2172
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2173 # Check that the precious variables saved in the cache have kept the same
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2174 # value.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2175 ac_cache_corrupted=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2176 for ac_var in $ac_precious_vars; do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2177 eval ac_old_set=\$ac_cv_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2178 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
2179 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
2180 eval ac_new_val=\$ac_env_${ac_var}_value
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2181 case $ac_old_set,$ac_new_set in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2182 set,)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
2184 $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
2185 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2186 ,set)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2187 { $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
2188 $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
2189 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2190 ,);;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2191 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2192 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
2193 # 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
2194 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
2195 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
2196 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
2197 { $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
2198 $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
2199 ac_cache_corrupted=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2200 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2201 { $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
2202 $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
2203 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
2204 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2205 { $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
2206 $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
2207 { $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
2208 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2209 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2210 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
2211 # 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
2212 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
2213 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
2214 *\'*) 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
2215 *) 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
2216 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
2217 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
2218 *" '$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
2219 *) 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
2220 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2221 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2222 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2223 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
2224 { $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
2225 $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
2226 { $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
2227 $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
2228 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
2229 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2230 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2231 ## Main body of script. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2232 ## -------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2233
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2234 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2235 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2239
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2240
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2241 ac_config_headers="$ac_config_headers config.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2242
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2243
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
2244 TARGET="dwindows"
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2245 TARGET2="dwcompat"
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2246
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2247
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2248
1109
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2249
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2250
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
2251 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
2252 DW_SRC=dw.c
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
2253 DW_DEFINE=__UNIX__
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2254 SHAREDFLAG=-shared
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
2255 SOSUFFIX=so
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2256 LIBSUFFIX=a
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2257 LIBPREFIX=lib
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2258
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2259 INCLUDES="-I."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2260
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2261 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2262 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2266 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2267 # 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
2268 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
2269 { $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
2270 $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
2271 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
2272 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2273 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2274 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2275 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2276 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
2277 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
2278 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
2279 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
2280 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
2281 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
2282 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
2283 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
2284 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
2285 $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
2286 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
2287 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
2288 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2289 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2290 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2291
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2292 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2293 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2294 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2295 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
2296 { $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
2297 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2298 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2299 { $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
2300 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2301 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2302
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2303
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2304 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2305 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2306 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2307 # Extract the first word of "gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2308 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
2309 { $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
2310 $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
2311 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
2312 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2313 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2314 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2316 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
2317 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
2318 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
2319 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
2320 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
2321 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
2322 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
2323 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
2324 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
2325 $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
2326 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
2327 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
2328 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2329 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2330 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2331
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2332 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2333 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2335 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
2336 { $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
2337 $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
2338 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2339 { $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
2340 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2341 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2342
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2343 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
2344 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2345 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2346 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2347 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
2349 $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
2350 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2351 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2352 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2353 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2354 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2355 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2356 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2357
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2358 if test -z "$CC"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2359 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2360 # 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
2361 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
2362 { $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
2363 $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
2364 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
2365 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2366 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2367 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2368 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2369 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
2370 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
2371 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
2372 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
2373 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
2374 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
2375 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
2376 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
2377 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
2378 $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
2379 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
2380 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
2381 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2382 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2383 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2384
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2385 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2386 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2387 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2388 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
2389 { $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
2390 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2391 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2392 { $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
2393 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2394 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2395
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2396
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2397 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2398 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2399 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2400 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2401 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
2402 { $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
2403 $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
2404 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
2405 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2406 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2407 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2408 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2409 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2410 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
2411 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
2412 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
2413 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
2414 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
2415 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
2416 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
2417 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
2418 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
2419 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
2420 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
2421 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
2422 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
2423 $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
2424 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
2425 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
2426 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2427 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2428 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2429
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2430 if test $ac_prog_rejected = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2431 # We found a bogon in the path, so make sure we never use it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2432 set dummy $ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2433 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2434 if test $# != 0; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2435 # We chose a different compiler from the bogus one.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2436 # However, it has the same basename, so the bogon will be chosen
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2437 # first if we set CC to just the basename; use the full file name.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2438 shift
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2439 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2440 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2441 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2442 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2443 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2444 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2445 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
2446 { $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
2447 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2448 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2449 { $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
2450 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2451 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2452
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2453
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2454 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2455 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2456 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
2457 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2458 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2459 # 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
2460 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
2461 { $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
2462 $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
2463 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
2464 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2465 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2466 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2467 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2468 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
2469 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
2470 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
2471 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
2472 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
2473 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
2474 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
2475 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
2476 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
2477 $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
2478 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
2479 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
2480 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2481 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2482 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2483
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2484 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2485 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2486 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2487 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
2488 { $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
2489 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2490 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2491 { $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
2492 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2493 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2494
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2495
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2496 test -n "$CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2497 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2498 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2499 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2500 ac_ct_CC=$CC
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2501 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2502 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2503 # 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
2504 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
2505 { $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
2506 $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
2507 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
2508 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2509 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2510 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2511 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2512 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
2513 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
2514 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
2515 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
2516 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
2517 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
2518 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
2519 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
2520 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
2521 $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
2522 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
2523 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
2524 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2525 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2526 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2527
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2528 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2529 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2530 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2531 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
2532 { $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
2533 $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
2534 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2535 { $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
2536 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2537 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2538
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2539
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2540 test -n "$ac_ct_CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2541 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2542
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2543 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
2544 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2545 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2546 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2547 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2548 { $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
2549 $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
2550 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2551 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2552 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2553 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2554 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2555
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2556 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2557
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2558
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2559 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
2560 $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
2561 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
2562 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2563
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2564 # 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
2565 $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
2566 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2567 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2568 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
2569 { { 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
2570 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2572 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2573 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2574 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
2575 $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
2576 (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
2577 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2578 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
2579 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2580 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2581 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2582 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2583 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2584 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
2585 $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
2586 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2587 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2588
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2589 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
2590 /* 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
2591
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2592 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2593 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2594 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2595
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2596 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2597 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2598 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2599 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2600 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
2601 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
2602 # 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
2603 # It will help us diagnose broken compilers, and finding out an intuition
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2604 # of exeext.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2605 { $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
2606 $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
2607 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
2608
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2609 # The possible output files:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2610 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
2611
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2612 ac_rmfiles=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2613 for ac_file in $ac_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2614 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2615 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2616 *.$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
2617 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2618 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2619 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2620 rm -f $ac_rmfiles
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2621
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2622 if { { ac_try="$ac_link_default"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2623 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2625 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2626 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2627 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
2628 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2629 (eval "$ac_link_default") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2630 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2631 $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
2632 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2633 # 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
2634 # 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
2635 # 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
2636 # 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
2637 # Autoconf.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2638 for ac_file in $ac_files ''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2639 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2640 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2641 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2642 *.$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
2643 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2644 [ab].out )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2645 # 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
2646 # certainly right.
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 *.* )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2649 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
2650 then :; else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2651 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2652 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2653 # 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
2654 # 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
2655 # 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
2656 # 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
2657 # actually working.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2658 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2659 * )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2660 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2661 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2662 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2663 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
2664
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2665 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2666 ac_file=''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2667 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2668 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
2669 { $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
2670 $as_echo "no" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2671 $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
2672 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2673
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2674 { { $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
2675 $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
2676 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
2677 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
2678 else
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}: result: yes" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2680 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2681 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2682 { $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
2683 $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
2684 { $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
2685 $as_echo "$ac_file" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2686 ac_exeext=$ac_cv_exeext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2687
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2688 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
2689 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
2690 { $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
2691 $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
2692 if { { ac_try="$ac_link"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2693 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2695 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2696 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2697 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
2698 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2699 (eval "$ac_link") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2700 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2701 $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
2702 test $ac_status = 0; }; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2703 # If both `conftest.exe' and `conftest' are `present' (well, observable)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2704 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2705 # work properly (i.e., refer to `conftest.exe'), while it won't with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2706 # `rm'.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2707 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
2708 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2709 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2711 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2712 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2713 * ) break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2714 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2715 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2716 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2717 { { $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
2718 $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
2719 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
2720 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
2721 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2722 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
2723 { $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
2724 $as_echo "$ac_cv_exeext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2725
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2726 rm -f conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2727 EXEEXT=$ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2728 ac_exeext=$EXEEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2729 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
2730 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2731 #include <stdio.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2732 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2733 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2734 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2735 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
2736 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
2737
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2738 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2739 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2740 }
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
2741 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2742 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
2743 # 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
2744 # 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
2745 { $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
2746 $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
2747 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
2748 { { ac_try="$ac_link"
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_link") 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; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2759 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
2760 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2762 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2763 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2764 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
2765 $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
2766 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2767 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2769 test $ac_status = 0; }; }; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2770 cross_compiling=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2771 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2772 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
2773 cross_compiling=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2774 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2775 { { $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
2776 $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
2777 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
2778 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
2779 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
2780 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2781 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2782 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2783 { $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
2784 $as_echo "$cross_compiling" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2785
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2786 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
2787 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
2788 { $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
2789 $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
2790 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
2791 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2792 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2793 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
2794 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2795
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2796 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2797 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2798 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2799
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2800 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2801 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2802 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2803 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2804 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
2805 if { { ac_try="$ac_compile"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2806 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2808 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2809 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2810 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
2811 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2812 (eval "$ac_compile") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2813 ac_status=$?
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:${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
2815 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2816 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
2817 test -f "$ac_file" || continue;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2818 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2821 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2822 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2823 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2824 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2825 $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
2826 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2827
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}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2829 $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
2830 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
2831 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
2832 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2833 rm -f conftest.$ac_cv_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2834 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2835 { $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
2836 $as_echo "$ac_cv_objext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2837 OBJEXT=$ac_cv_objext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2838 ac_objext=$OBJEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2839 { $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
2840 $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
2841 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
2842 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2843 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2844 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
2845 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2846
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2847 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2848 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2849 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2850 #ifndef __GNUC__
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2851 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2852 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2853
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2854 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2855 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2856 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2857 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2858 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2859 ac_compiler_gnu=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2860 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2861 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2862 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2864 ac_cv_c_compiler_gnu=$ac_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2865
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2866 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2867 { $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
2868 $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
2869 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
2870 GCC=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2871 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2872 GCC=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2873 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2874 ac_test_CFLAGS=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2875 ac_save_CFLAGS=$CFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2876 { $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
2877 $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
2878 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
2879 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2880 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2881 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
2882 ac_c_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2883 ac_cv_prog_cc_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2884 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2885 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
2886 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2887
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2888 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2889 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2890 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2891
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2892 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2893 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2894 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2895 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2896 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2897 ac_cv_prog_cc_g=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2898 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2899 CFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2900 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
2901 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2902
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2903 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2904 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2905 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2906
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 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2909 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2910 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2911 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
2912
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2913 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2914 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
2915 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2916 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
2917 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2918
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2919 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2920 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2921 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2922
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2923 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2924 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2925 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2926 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2927 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
2928 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
2929 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2930 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
2931 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2932 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
2933 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2934 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
2935 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
2936 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2937 { $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
2938 $as_echo "$ac_cv_prog_cc_g" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2939 if test "$ac_test_CFLAGS" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2940 CFLAGS=$ac_save_CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2941 elif test $ac_cv_prog_cc_g = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2942 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2943 CFLAGS="-g -O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2944 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2945 CFLAGS="-g"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2946 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2947 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2948 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2949 CFLAGS="-O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2950 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2951 CFLAGS=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2952 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2953 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2954 { $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
2955 $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
2956 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
2957 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2958 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2959 ac_cv_prog_cc_c89=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2960 ac_save_CC=$CC
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2961 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
2962 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2963 #include <stdarg.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2964 #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
2965 struct stat;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2966 /* 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
2967 struct buf { int x; };
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2969 static char *e (p, i)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2970 char **p;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2971 int i;
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 return p[i];
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2974 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2975 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
2976 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2977 char *s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2978 va_list v;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2979 va_start (v,p);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2980 s = g (p, va_arg (v,int));
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2981 va_end (v);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2982 return s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2983 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2984
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2985 /* 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
2986 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
2987 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
2988 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
2989 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
2990 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
2991 that's true only with -std. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2992 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
2993
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2994 /* 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
2995 inside strings and character constants. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2996 #define FOO(x) 'x'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2997 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
2998
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2999 int test (int i, double x);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3000 struct s1 {int (*f) (int a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3001 struct s2 {int (*f) (double a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3002 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
3003 int argc;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3004 char **argv;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3005 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3006 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3007 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3008 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
3009 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3010 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3011 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3012 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3013 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
3014 -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
3015 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3016 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
3017 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
3018 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
3019 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3020 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
3021 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
3022 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3023 rm -f conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3024 CC=$ac_save_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3025
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3026 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3027 # AC_CACHE_VAL
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3028 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
3029 x)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3030 { $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
3031 $as_echo "none needed" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3032 xno)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3033 { $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
3034 $as_echo "unsupported" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3035 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3036 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
3037 { $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
3038 $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
3039 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3040 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
3041
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3042 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3043
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3044 ac_ext=c
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3045 ac_cpp='$CPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3046 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
3047 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
3048 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
3049
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3050 ac_ext=cpp
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3051 ac_cpp='$CXXCPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3052 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
3053 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
3054 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
3055 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3056 if test -n "$CCC"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3057 CXX=$CCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3058 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3059 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3060 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
3061 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3062 # 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
3063 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
3064 { $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
3065 $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
3066 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
3067 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3068 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3069 if test -n "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3070 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
3071 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3073 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3074 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3075 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3076 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
3077 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
3078 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
3079 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
3080 $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
3081 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3082 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3083 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3084 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3085 IFS=$as_save_IFS
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 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3088 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3089 CXX=$ac_cv_prog_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3090 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
3091 { $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
3092 $as_echo "$CXX" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3093 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3094 { $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
3095 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3096 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3097
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3098
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3099 test -n "$CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3100 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3101 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3102 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3103 ac_ct_CXX=$CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3104 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
3105 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3106 # 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
3107 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
3108 { $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
3109 $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
3110 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
3111 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3112 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3113 if test -n "$ac_ct_CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3114 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
3115 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3117 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3118 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3119 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3120 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
3121 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
3122 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
3123 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
3124 $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
3125 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3126 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3127 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3128 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3129 IFS=$as_save_IFS
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 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3132 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3133 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
3134 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
3135 { $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
3136 $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
3137 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3138 { $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
3139 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3140 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3141
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3142
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3143 test -n "$ac_ct_CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3144 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3145
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3146 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
3147 CXX="g++"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3148 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3149 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3150 yes:)
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}: 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
3152 $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
3153 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3154 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3155 CXX=$ac_ct_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3156 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3157 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3158
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3159 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3160 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3161 # 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
3162 $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
3163 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3164 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3165 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
3166 { { 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
3167 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3169 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3170 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3171 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
3172 $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
3173 (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
3174 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3175 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
3176 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3177 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3178 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3179 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3180 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3181 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
3182 $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
3183 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3184 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3185
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3186 { $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
3187 $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
3188 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
3189 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3190 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3191 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
3192 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3193
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3194 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3195 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3196 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3197 #ifndef __GNUC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3198 choke me
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3199 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3200
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3201 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3202 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3203 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3204 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3205 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
3206 ac_compiler_gnu=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3207 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3208 ac_compiler_gnu=no
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 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
3211 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
3212
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3213 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3214 { $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
3215 $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
3216 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
3217 GXX=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3218 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3219 GXX=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3220 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3221 ac_test_CXXFLAGS=${CXXFLAGS+set}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3222 ac_save_CXXFLAGS=$CXXFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3223 { $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
3224 $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
3225 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
3226 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3227 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3228 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
3229 ac_cxx_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3230 ac_cv_prog_cxx_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3231 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3232 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
3233 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3234
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3235 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3236 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3237 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3238
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3239 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3240 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3241 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3242 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3243 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
3244 ac_cv_prog_cxx_g=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3245 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3246 CXXFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3247 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
3248 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3249
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3250 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3251 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3252 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3253
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 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3256 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3257 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3258 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
3259
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3260 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3261 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
3262 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3263 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
3264 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3265
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3266 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3267 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3268 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3269
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3270 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3271 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3272 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3273 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3274 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
3275 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
3276 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3277 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
3278 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3279 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
3280 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3281 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
3282 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
3283 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3284 { $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
3285 $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
3286 if test "$ac_test_CXXFLAGS" = set; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3287 CXXFLAGS=$ac_save_CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3288 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
3289 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3290 CXXFLAGS="-g -O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3291 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3292 CXXFLAGS="-g"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3293 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3294 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3295 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3296 CXXFLAGS="-O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3297 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3298 CXXFLAGS=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3299 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3300 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3301 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3302 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3306
120
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3308 # Extract the first word of "gmake", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3309 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
3310 { $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
3311 $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
3312 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
3313 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3314 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3315 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3316 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3317 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
3318 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
3319 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
3320 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
3321 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
3322 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
3323 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
3324 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
3325 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
3326 $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
3327 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
3328 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
3329 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3330 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3331 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3332
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3333 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3334 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3335 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3336 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
3337 { $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
3338 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3339 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3340 { $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
3341 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3342 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3343
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3344
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3345 if test x"$MAKE" = x; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3346 # 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
3347 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
3348 { $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
3349 $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
3350 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
3351 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3352 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3353 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3354 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3355 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
3356 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
3357 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
3358 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
3359 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
3360 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
3361 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
3362 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
3363 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
3364 $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
3365 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
3366 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
3367 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3368 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3369 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3370
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3371 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3372 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3373 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3374 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
3375 { $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
3376 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3377 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3378 { $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
3379 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3380 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3381
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3382
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3383 fi
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3384 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
3385 # 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
3386 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
3387 { $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
3388 $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
3389 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
3390 $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
3391 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3392 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
3393 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
3394 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3395 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
3396 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
3397 do
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3398 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
3399 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
3400 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
3401 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
3402 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
3403 $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
3404 break 2
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3405 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3406 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3407 done
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3408 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
3409
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3410 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3411 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3412 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
3413 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
3414 { $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
3415 $as_echo "$SVNVERSION" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3416 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3417 { $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
3418 $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
3419 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3420
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3421
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3422 fi
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3423 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
3424 SVNVERSION=0
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3425 else
1162
52e3aa735bdb Attempt to fix parsing errors with the double : separated
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1161
diff changeset
3426 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
3427 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3428
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3429 ac_aux_dir=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3430 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
3431 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
3432 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
3433 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
3434 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3435 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
3436 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
3437 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
3438 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3439 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
3440 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
3441 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
3442 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3443 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3444 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3445 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
3446 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
3447 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3448
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3449 # These three variables are undocumented and unsupported,
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3450 # 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
3451 # 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
3452 # whose full name contains unusual characters.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3453 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
3454 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
3455 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
3456
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3457
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3458 # Find a good install program. We prefer a C program (faster),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3459 # so one script is as good as another. But avoid the broken or
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3460 # incompatible versions:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3461 # SysV /etc/install, /usr/sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3462 # SunOS /usr/etc/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3463 # IRIX /sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3464 # AIX /bin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3465 # AmigaOS /C/install, which installs bootblocks on floppy discs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3466 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3467 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3468 # 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
3469 # OS/2's system install, which has a completely different semantic
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3470 # ./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
3471 # 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
3472 { $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
3473 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3474 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
3475 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
3476 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3477 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
3478 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
3479 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
3480 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
3481 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
3482 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
3483 # 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
3484 case $as_dir/ in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3485 ./ | .// | /[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
3486 /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
3487 ?:[\\/]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
3488 /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
3489 *)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3490 # 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
3491 # 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
3492 # 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
3493 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
3494 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
3495 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
3496 if test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3497 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
3498 # 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
3499 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3500 elif test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3501 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
3502 # 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
3503 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3504 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3505 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
3506 echo one > conftest.one
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3507 echo two > conftest.two
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3508 mkdir conftest.dir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3509 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
3510 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
3511 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
3512 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
3513 then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3514 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
3515 break 3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3516 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3517 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3518 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3519 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
3520 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
3521 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3522 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3523
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3524 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3525 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
3526
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3527 rm -rf conftest.one conftest.two conftest.dir
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3528
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3529 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3530 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3531 INSTALL=$ac_cv_path_install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3532 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3533 # 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
3534 # value for INSTALL within a source directory, because that will
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3535 # 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
3536 # removed, or if the value is a relative name.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3537 INSTALL=$ac_install_sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3538 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3539 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3540 { $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
3541 $as_echo "$INSTALL" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3542
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3543 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3544 # It thinks the first close brace ends the variable substitution.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3545 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3546
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3547 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3548
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3549 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3550
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3551
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3552
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3553
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3554 # Make sure we can run config.sub.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3555 $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
3556 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
3557
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3558 { $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
3559 $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
3560 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
3561 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3562 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3563 ac_build_alias=$build_alias
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3564 test "x$ac_build_alias" = x &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3565 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
3566 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
3567 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
3568 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
3569 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
3570
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3571 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3572 { $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
3573 $as_echo "$ac_cv_build" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3574 case $ac_cv_build in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3575 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3576 *) 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
3577 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3578 build=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3579 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3580 set x $ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3581 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3582 build_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3583 build_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3584 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3585 # 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
3586 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3587 build_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3588 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3589 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
3590
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3591
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3592 { $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
3593 $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
3594 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
3595 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3596 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3597 if test "x$host_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3598 ac_cv_host=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3599 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3600 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
3601 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
3602 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3603
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3604 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3605 { $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
3606 $as_echo "$ac_cv_host" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3607 case $ac_cv_host in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3608 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3609 *) 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
3610 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3611 host=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3612 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3613 set x $ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3614 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3615 host_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3616 host_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3617 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3618 # 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
3619 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3620 host_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3621 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3622 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
3623
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3624
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3625 { $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
3626 $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
3627 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
3628 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3629 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3630 if test "x$target_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3631 ac_cv_target=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3632 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3633 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
3634 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
3635 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3636
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3637 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3638 { $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
3639 $as_echo "$ac_cv_target" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3640 case $ac_cv_target in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3641 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3642 *) 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
3643 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3644 target=$ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3645 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3646 set x $ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3647 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3648 target_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3649 target_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3650 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3651 # 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
3652 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3653 target_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3654 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3655 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
3656
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3657
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3658 # 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
3659 # will get canonicalized.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3660 test -n "$target_alias" &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3661 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
3662 NONENONEs,x,x, &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3663 program_prefix=${target_alias}-
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3664
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3665
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3666
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
3667 # 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
3668 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
3669 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
3670 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
3671 with_dwcompat=no
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3672 fi
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3673
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
3674
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
3675
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3676 # 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
3677 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
3678 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
3679 else
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3680 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
3681 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
3682
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
3683
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3684
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3685 # 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
3686 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
3687 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
3688 else
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3689 with_deprecated=no
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3690 fi
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3691
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3692
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3693
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3694 # 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
3695 if test "${with_arch+set}" = set; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3696 withval=$with_arch; with_arch=$withval
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3697 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3698 with_arch=no
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3699 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3700
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3701
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3702
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3703 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3704 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3707 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
3708 { $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
3709 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3710 # On Suns, sometimes $CPP names a directory.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3711 if test -n "$CPP" && test -d "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3712 CPP=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3713 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3714 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
3715 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
3716 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3717 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3718 # Double quotes because CPP needs to be expanded
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3719 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3720 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3721 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3722 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
3723 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3724 # 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
3725 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3726 # 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
3727 # <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
3728 # 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
3729 # 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
3730 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
3731 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3732 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3733 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3734 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3735 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3736 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3737 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3738 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3739 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
3740
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3741 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3742 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3743 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3744 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3745 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
3746
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3747 # 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
3748 # 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
3749 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
3750 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3751 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3752 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3753 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
3754 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3755 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3756 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3757 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3758 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3759 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3760 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3761 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
3762
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3763 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3764 # 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
3765 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
3766 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
3767 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3768 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3769
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3770 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3771 ac_cv_prog_CPP=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3772
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3773 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3774 CPP=$ac_cv_prog_CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3775 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3776 ac_cv_prog_CPP=$CPP
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3777 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3778 { $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
3779 $as_echo "$CPP" >&6; }
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3780 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3781 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
3782 do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3783 # 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
3784 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3785 # 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
3786 # <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
3787 # 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
3788 # 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
3789 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
3790 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3791 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3792 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3793 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3794 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3795 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3796 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3797 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3798 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
3799
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3800 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3801 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3802 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3803 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3804 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
3805
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3806 # 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
3807 # 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
3808 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
3809 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3810 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3811 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3812 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
3813 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3814 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3815 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3816 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3817 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3818 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3819 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3820 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
3821
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3822 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3823 # 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
3824 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
3825 if $ac_preproc_ok; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3826
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3827 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3829 $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
3830 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
3831 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3832 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3833
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3834 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3835 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3839
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3840
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3841 { $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
3842 $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
3843 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
3844 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3845 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3846 if test -z "$GREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3847 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
3848 # 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
3849 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
3850 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
3851 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3852 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3853 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
3854 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
3855 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
3856 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
3857 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
3858 # 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
3859 # Check for GNU $ac_path_GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3860 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
3861 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3862 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
3863 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3864 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3865 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3866 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3867 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3868 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3869 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3870 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
3871 $as_echo 'GREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3872 "$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
3873 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
3874 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
3875 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
3876 # 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
3877 ac_cv_path_GREP="$ac_path_GREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3878 ac_path_GREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3879 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3880 # 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
3881 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3882 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3883 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
3884 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3885
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3886 $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
3887 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3888 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3889 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3890 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3891 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
3892 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
3893 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3894 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3895 ac_cv_path_GREP=$GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3896 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3897
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3898 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3899 { $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
3900 $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
3901 GREP="$ac_cv_path_GREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3902
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3903
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3904 { $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
3905 $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
3906 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
3907 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3908 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3909 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
3910 then ac_cv_path_EGREP="$GREP -E"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3911 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3912 if test -z "$EGREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3913 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
3914 # 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
3915 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
3916 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
3917 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3918 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3919 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
3920 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
3921 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
3922 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
3923 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
3924 # 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
3925 # Check for GNU $ac_path_EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3926 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
3927 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3928 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
3929 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3930 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3931 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3932 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3933 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3934 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3935 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3936 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
3937 $as_echo 'EGREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3938 "$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
3939 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
3940 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
3941 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
3942 # 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
3943 ac_cv_path_EGREP="$ac_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3944 ac_path_EGREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3945 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3946 # 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
3947 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3948 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3949 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
3950 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3951
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3952 $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
3953 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3954 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3955 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3956 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3957 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
3958 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
3959 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3960 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3961 ac_cv_path_EGREP=$EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3962 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3963
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3964 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3965 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3966 { $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
3967 $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
3968 EGREP="$ac_cv_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3969
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3970
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3971 { $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
3972 $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
3973 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
3974 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3975 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3976 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
3977 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3978 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3979 #include <stdarg.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3980 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3981 #include <float.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3982
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3983 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3984 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3985 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3986
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3987 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3988 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3989 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3990 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3991 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3992 ac_cv_header_stdc=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3993 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3994 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3995 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3997
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3998 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3999 # 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
4000 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
4001 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4002 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4003
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4004 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4005 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
4006 $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
4007
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4008 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4009 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4010 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4011 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4012
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4013 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4014
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4015 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4016 # 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
4017 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
4018 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4019 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4020
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4021 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4022 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
4023 $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
4024
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4025 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4026 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4027 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4028 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4029
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4030 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4031
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4032 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4033 # /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
4034 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4035 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4036 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4037 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
4038 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4039 #include <ctype.h>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4040 #include <stdlib.h>
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4041 #if ((' ' & 0x0FF) == 0x020)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4042 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4043 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4044 #else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4045 # define ISLOWER(c) \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4046 (('a' <= (c) && (c) <= 'i') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4047 || ('j' <= (c) && (c) <= 'r') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4048 || ('s' <= (c) && (c) <= 'z'))
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4049 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4050 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4051
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4052 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4053 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4054 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4055 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4056 int i;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4057 for (i = 0; i < 256; i++)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4058 if (XOR (islower (i), ISLOWER (i))
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4059 || toupper (i) != TOUPPER (i))
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4060 return 2;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4061 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4062 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4063 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4064 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
4065
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4066 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4067 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4068 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4069 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
4070 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
4071 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4072
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4073 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4074 fi
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}: 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
4076 $as_echo "$ac_cv_header_stdc" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4077 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4078
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4079 $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
4080
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4081 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4082
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4083 ac_header_dirent=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4084 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
4085 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
4086 { $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
4087 $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
4088 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
4089 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4090 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4091 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
4092 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4093 #include <sys/types.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4094 #include <$ac_hdr>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4095
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4096 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4097 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4098 {
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4099 if ((DIR *) 0)
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4100 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4101 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4102 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4103 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4104 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4105 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
4106 eval "$as_ac_Header=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4107 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4108 eval "$as_ac_Header=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4109 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4110 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
4111 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4112 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
4113 { $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
4114 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4115 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
4116 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4117 #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
4118 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4119
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4120 ac_header_dirent=$ac_hdr; break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4121 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4122
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4123 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4124 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4125 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
4126 { $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
4127 $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
4128 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
4129 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4130 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
4131 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
4132 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
4133 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4134
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4135 /* 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
4136 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
4137 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4138 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4139 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4140 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4141 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
4142 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
4143 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
4144 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4145 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
4146 ;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4147 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
4148 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4149 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4150 for ac_lib in '' dir; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4151 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4152 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4153 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4154 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4155 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
4156 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4157 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
4158 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
4159 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4160 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
4161 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4162 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
4163 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4164 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4165 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4166 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
4167
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4168 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4169 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4170 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4171 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
4172 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
4173 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4174 { $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
4175 $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
4176 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
4177 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4178 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
4179
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4180 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4181
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4182 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4183 { $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
4184 $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
4185 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
4186 $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
4187 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
4188 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
4189 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
4190 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4191
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4192 /* 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
4193 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
4194 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
4195 #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
4196 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
4197 #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
4198 char opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4199 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4200 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4201 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4202 return opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4203 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4204 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4205 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4206 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4207 for ac_lib in '' x; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4208 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4209 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4210 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4211 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4212 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
4213 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4214 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
4215 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
4216 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4217 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
4218 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4219 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
4220 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4221 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4222 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4223 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
4224
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4225 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4226 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4227 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4228 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
4229 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
4230 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4231 { $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
4232 $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
4233 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
4234 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4235 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
4236
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4237 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
4238
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4239 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
4240
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4241 # 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
4242 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
4243 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
4244 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4245 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
4246 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
4247 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4248 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
4249 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4250 #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
4251 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4252
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4253 fi
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 done
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
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4258 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
4259 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4260 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
4261 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
4262 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4263 #define HAVE_UNISTD_H 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4264 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4265
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4266 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4267
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4268 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4269
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4270 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
4271 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4272 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
4273 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
4274 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4275 #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
4276 _ACEOF
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4277
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4278 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4279
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4280 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4281
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4282
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4283 for ac_func in pipe
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4284 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4285 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
4286 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
4287 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4288 #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
4289 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4290
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4291 $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
4292
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4293 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4294 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4295
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4296 for ac_func in vsnprintf
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4297 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4298 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
4299 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
4300 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4301 #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
4302 _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
4303
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4304 $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
4305
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4306 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
4307 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
4308
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
4309
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4310 for ac_func in connect
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4311 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4312 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
4313 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
4314 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4315 #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
4316 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4317
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4318 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4319 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4320
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4321 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
4322 if test -z "$libsocket"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4323 { $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
4324 $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
4325 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
4326 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4327 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4328 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
4329 LIBS="-lsocket $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4330 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
4331 /* 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
4332
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 /* 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
4334 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
4335 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
4336 #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
4337 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
4338 #endif
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4339 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
4340 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
4341 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
4342 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4343 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
4344 ;
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4345 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
4346 }
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4347 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4348 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
4349 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
4350 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4351 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
4352 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4353 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
4354 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
4355 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
4356 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4357 { $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
4358 $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
4359 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
4360 LIBS="$LIBS -lsocket"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4361 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4362
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4363 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4364
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4365 if test -z "$libinet"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4366 { $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
4367 $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
4368 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
4369 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4370 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4371 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
4372 LIBS="-linet $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4373 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
4374 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4375
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4376 /* 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
4377 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
4378 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4379 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4380 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4381 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4382 char socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4383 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4384 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4385 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4386 return socket ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4387 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4388 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4389 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4390 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4391 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
4392 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
4393 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4394 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
4395 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4396 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
4397 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
4398 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
4399 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4400 { $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
4401 $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
4402 if test "x$ac_cv_lib_inet_socket" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4403 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4404 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4405
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4406 fi
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 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
4409 { $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
4410 $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
4411 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
4412 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4413 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4414 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4415 LIBS="-lnsl $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4416 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
4417 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4418
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4419 /* 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
4420 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
4421 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4422 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4423 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4424 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4425 char gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4426 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4427 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4428 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4429 return gethostname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4430 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4431 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4432 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4433 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4434 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4435 ac_cv_lib_nsl_gethostname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4436 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4437 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
4438 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4439 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
4440 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4441 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4442 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4443 { $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
4444 $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
4445 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4446 LIBS="$LIBS -lnsl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4447 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4448
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4449 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4450 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4451
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4452 { $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
4453 $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
4454 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
4455 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4456 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4457 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4458 LIBS="-lsun $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4459 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
4460 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4461
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4462 /* 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
4463 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
4464 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4465 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4466 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4467 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4468 char getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4469 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4470 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4471 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4472 return getpwnam ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4473 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4474 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4475 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4476 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4477 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4478 ac_cv_lib_sun_getpwnam=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4479 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4480 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
4481 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4482 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
4483 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4484 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4485 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4486 { $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
4487 $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
4488 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4489 LIBS="$LIBS -lsun"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4490 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4491
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4492 { $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
4493 $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
4494 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
4495 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4496 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4497 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4498 LIBS="-ldgc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4499 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
4500 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4501
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4502 /* 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
4503 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
4504 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4505 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4506 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4507 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4508 char inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4509 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4510 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4511 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4512 return inet_addr ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4513 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4514 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4515 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4516 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4517 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4518 ac_cv_lib_dgc_inet_addr=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4519 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4520 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
4521 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4522 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
4523 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4524 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4525 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4526 { $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
4527 $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
4528 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4529 LIBS="$LIBS -ldgc"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4530 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4531
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4532 { $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
4533 $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
4534 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
4535 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4536 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4537 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4538 LIBS="-lresolv $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4539 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
4540 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4541
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4542 /* 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
4543 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
4544 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4545 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4546 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4547 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4548 char gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4549 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4550 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4551 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4552 return gethostbyname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4553 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4554 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4555 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4556 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4557 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4558 ac_cv_lib_resolv_gethostbyname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4559 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4560 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
4561 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4562 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
4563 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4564 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4565 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4566 { $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
4567 $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
4568 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4569 LIBS="$LIBS -lresolv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4570 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4571
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
4572 { $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
4573 $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
4574 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
4575 $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
4576 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
4577 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
4578 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
4579 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
4580 /* 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
4581
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 /* 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
4583 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
4584 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
4585 #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
4586 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
4587 #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
4588 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
4589 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
4590 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
4591 {
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 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
4593 ;
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 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
4595 }
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 _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
4597 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
4598 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
4599 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
4600 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
4601 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
4602 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
4603 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
4604 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
4605 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
4606 { $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
4607 $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
4608 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
4609 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
4610 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
4611
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4612
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4613 build_gtk="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4614 check_pthreads="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4615 PLATLIBS=""
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4616 SONAME=""
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4617 PLATCCFLAGS="-g -O2 -fPIC -Wall"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4618 ARFLAGS="cqs"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4619
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4620 case "$target" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4621 *cygwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4622 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4623 *mingw32)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4624 $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
4625
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4626 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4627 *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
4628 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
4629 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4630 *apple-darwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4631 case "$with_arch" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4632 no)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4633 ARCH=""
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4634 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4635 all)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4636 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
4637 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4638 32bit)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4639 ARCH="-arch ppc -arch i386"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4640 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4641 64bit)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4642 ARCH="-arch ppc64 -arch x86_64"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4643 ;;
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
4644 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
4645 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
4646 ;;
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4647 powerpc)
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4648 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
4649 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4650 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4651 ARCH="-arch $with_arch"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4652 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4653 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
4654 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
4655 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
4656 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
4657 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
4658 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
4659 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
4660 save_libs="$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
4661 LIBS="$LIBS -framework UserNotifications"
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4662 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
4663 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
4664
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 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
4666 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
4667 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
4668
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4669 build_gtk="no"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4670 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4671 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4672 ;;
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
4673 esac
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4674
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
4675 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
4676 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
4677 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
4678 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
4679 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
4680 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
4681 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
4682 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
4683 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
4684 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
4685 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
4686
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4687 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
4688
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4689 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
4690 { $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
4691 $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
4692
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
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 # 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
4695 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
4696 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
4697 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
4698
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 # $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
4700 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
4701 # 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
4702 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
4703 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
4704 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
4705 *\'*) 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
4706 *,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
4707 $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
4708 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
4709 # 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
4710 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
4711 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
4712 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
4713 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
4714 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
4715 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
4716 @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
4717 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 @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
4719 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
4720 @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
4721 _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
4722 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
4723 # 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
4724 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
4725 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
4726 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
4727 # 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
4728 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
4729 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
4730 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
4731 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
4732 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
4733 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
4734 # 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
4735 # 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
4736 # 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
4737 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
4738 /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
4739 *) 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
4740 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
4741 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
4742 /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
4743 *) 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
4744 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
4745 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
4746 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
4747 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
4748 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
4749
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 # 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
4751 # 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
4752 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
4753 /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
4754 /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
4755 /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
4756 /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
4757 /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
4758
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/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
4760 /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
4761 /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
4762 /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
4763 /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
4764
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/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
4766 /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
4767 /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
4768 /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
4769 /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
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/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
4772 /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
4773 /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
4774 /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
4775 /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
4776
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 /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
4778 /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
4779 /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
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 /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
4782 /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
4783 /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
4784 /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
4785 /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
4786 /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
4787
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 /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
4789 /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
4790
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4791 if 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
4792 # 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
4793 # 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
4794 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
4795 /* 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
4796 #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
4797 _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
4798 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
4799 # 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
4800 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
4801 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
4802 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
4803 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
4804 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
4805 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
4806 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
4807 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
4808 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
4809 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
4810 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
4811
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 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
4813 # 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
4814 # 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
4815 # 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
4816 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
4817 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
4818 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
4819 /* 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
4820 #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
4821 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
4822 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
4823 {
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 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
4825 ;
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 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
4827 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4828 _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
4829 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
4830 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
4831 # 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
4832 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
4833 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
4834 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
4835 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
4836 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
4837 # 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
4838 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
4839 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
4840 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
4841 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
4842 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
4843 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
4844 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
4845 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
4846 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
4847 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
4848 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
4849
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4850 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
4851 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
4852 # 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
4853 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
4854 *)
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 # 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
4856 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
4857 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
4858 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
4859 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
4860 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
4861 ;; #(
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 *) 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
4863 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
4864 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
4865 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
4866
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4867 if 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
4868 { $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
4869 $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
4870 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
4871 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
4872 # 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
4873 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
4874 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
4875 # 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
4876 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
4877 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
4878 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
4879 { $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
4880 $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
4881 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
4882
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 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
4884 # 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
4885
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 $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
4887
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 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
4889 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
4890 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
4891 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
4892 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
4893
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 # 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
4895 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
4896 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
4897 # 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
4898 # 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
4899 { $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
4900 $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
4901 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
4902 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
4903 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
4904 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
4905 /* 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
4906
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 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
4908 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
4909 {
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
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 ;
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 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
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 _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
4915 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
4916 { $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
4917 $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
4918 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
4919 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
4920 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
4921 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
4922 /* 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
4923
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4924 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
4925 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
4926 {
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
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 ;
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 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
4930 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4931 _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
4932 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
4933 { $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
4934 $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
4935 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
4936 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
4937 { $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
4938 $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
4939 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
4940 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
4941 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
4942 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
4943 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
4944 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
4945 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
4946 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
4947 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
4948
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 # 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
4950 # 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
4951 # (-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
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 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
4954 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
4955 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
4956 # 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
4957 # 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
4958 # 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
4959 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
4960 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
4961 /* 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
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 /* 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
4964 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
4965 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
4966 #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
4967 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
4968 #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
4969 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
4970 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
4971 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
4972 {
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 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
4974 ;
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 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
4976 }
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 _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
4978 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
4979
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4980 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
4981 { $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
4982 $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
4983 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
4984 $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
4985 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
4986 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
4987 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
4988 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
4989 /* 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
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 /* 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
4992 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
4993 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
4994 #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
4995 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
4996 #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
4997 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
4998 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
4999 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
5000 {
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 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
5002 ;
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 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
5004 }
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 _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
5006 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
5007 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
5008 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
5009 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
5010 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
5011 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
5012 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
5013 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
5014 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
5015 { $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
5016 $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
5017 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
5018 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
5019 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
5020
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 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
5022 { $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
5023 $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
5024 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
5025 $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
5026 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
5027 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
5028 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
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5030 /* end confdefs.h. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5031
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5032 /* Override any GCC internal prototype to avoid an error.
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5033 Use char because int might match the return type of a GCC
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5034 builtin and then its argument prototype would still apply. */
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5035 #ifdef __cplusplus
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5036 extern "C"
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5037 #endif
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5038 char 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
5039 int
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5040 main ()
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5041 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5042 return 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
5043 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5044 return 0;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5045 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5046 _ACEOF
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5047 if ac_fn_c_try_link "$LINENO"; then :
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5048 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
5049 else
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5050 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
5051 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
5052 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
5053 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
5054 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
5055 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
5056 { $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
5057 $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
5058 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
5059 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
5060 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
5061
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 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
5063 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
5064 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
5065 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
5066 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
5067
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 # 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
5069 # 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
5070 # 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
5071 # 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
5072 # 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
5073 # 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
5074 # 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
5075 # 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
5076 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
5077 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
5078
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5079 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5080
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 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
5082 { $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
5083 $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
5084 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
5085 $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
5086 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
5087 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
5088 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
5089 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
5090 /* 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
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 /* 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
5093 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
5094 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
5095 #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
5096 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
5097 #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
5098 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
5099 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
5100 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
5101 {
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 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
5103 ;
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 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
5105 }
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 _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
5107 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
5108 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
5109 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
5110 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
5111 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
5112 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
5113 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
5114 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
5115 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
5116 { $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
5117 $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
5118 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
5119 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
5120 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5121
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 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
5123 { $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
5124 $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
5125 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
5126 $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
5127 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
5128 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
5129 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
5130 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
5131 /* 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
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 /* 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
5134 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
5135 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
5136 #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
5137 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
5138 #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
5139 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
5140 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
5141 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
5142 {
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 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
5144 ;
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 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
5146 }
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 _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
5148 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
5149 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
5150 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
5151 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
5152 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
5153 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
5154 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
5155 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
5156 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
5157 { $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
5158 $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
5159 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
5160 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
5161 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
5162
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 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
5164 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
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 # 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
5167 # 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
5168 # 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
5169 # 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
5170 # 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
5171 # 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
5172 # 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
5173 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
5174 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
5175
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 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
5177
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 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
5179 { $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
5180 $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
5181 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
5182 $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
5183 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
5184 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
5185 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
5186 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
5187 /* 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
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 /* 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
5190 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
5191 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
5192 #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
5193 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
5194 #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
5195 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
5196 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
5197 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
5198 {
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 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
5200 ;
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 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
5202 }
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 _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
5204 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
5205 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
5206 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
5207 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
5208 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
5209 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
5210 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
5211 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
5212 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
5213 { $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
5214 $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
5215 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
5216 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
5217 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
5218
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 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
5220
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 # 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
5222 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
5223 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
5224
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5225 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5226
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 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
5228 { $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
5229 $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
5230 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
5231 $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
5232 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
5233 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
5234 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
5235 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
5236 /* 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
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 /* 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
5239 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
5240 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
5241 #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
5242 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
5243 #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
5244 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
5245 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
5246 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
5247 {
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 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
5249 ;
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 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
5251 }
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 _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
5253 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
5254 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
5255 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
5256 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
5257 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
5258 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
5259 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
5260 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
5261 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
5262 { $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
5263 $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
5264 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
5265 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
5266 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
5267
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5268 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
5269
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5270 # 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
5271 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
5272 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
5273
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 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
5275
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 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
5277 { $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
5278 $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
5279 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
5280 $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
5281 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
5282 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
5283 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
5284 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
5285 /* 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
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 /* 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
5288 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
5289 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
5290 #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
5291 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
5292 #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
5293 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
5294 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
5295 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
5296 {
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 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
5298 ;
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 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
5300 }
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 _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
5302 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
5303 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
5304 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
5305 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
5306 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
5307 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
5308 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
5309 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
5310 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
5311 { $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
5312 $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
5313 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
5314 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
5315 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
5316
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5317 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
5318 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
5319
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 # 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
5321 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
5322 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
5323 # 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
5324 # 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
5325 # 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
5326 # 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
5327 # 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
5328 # 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
5329 { $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
5330 $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
5331 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
5332 $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
5333 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
5334 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
5335 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
5336 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
5337 /* 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
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 /* 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
5340 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
5341 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
5342 #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
5343 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
5344 #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
5345 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
5346 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
5347 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
5348 {
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 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
5350 ;
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 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
5352 }
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 _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
5354 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
5355 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
5356 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
5357 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
5358 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
5359 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
5360 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
5361 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
5362 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
5363 { $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
5364 $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
5365 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
5366 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
5367 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
5368
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5369 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
5370
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5371 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
5372
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5373 LIBS="$LIBS $X_LIBS -lX11"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5374 # 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
5375 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
5376 { $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
5377 $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
5378 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
5379 $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
5380 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
5381 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
5382 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
5383 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
5384 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
5385 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
5386 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
5387 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
5388 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
5389 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
5390 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
5391 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
5392 $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
5393 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
5394 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
5395 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5396 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5397 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
5398
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5399 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
5400 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
5401 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
5402 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
5403 { $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
5404 $as_echo "$PKG_CFG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5405 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5406 { $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
5407 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5408 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5409
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5410
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5411 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
5412 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
5413 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
5414 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
5415 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
5416 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5417 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
5418 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
5419 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
5420 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
5421 else
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5422 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
5423 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
5424 fi
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5425 # 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
5426 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
5427 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
5428 # 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
5429 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
5430 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
5431 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
5432 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
5433 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
5434 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
5435 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
5436 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
5437 fi
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5438 else
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5439 $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
5440
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5441 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
5442 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5443 else
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5444 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
5445 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
5446 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
5447 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
5448 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
5449 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
5450 $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
5451
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5452 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
5453 fi
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5454 else
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5455 $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
5456
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5457 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
5458 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5459 fi
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5460 else
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
5461 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
5462 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
5463 $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
5464
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5465 else
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5466 $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
5467
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5468 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5469 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5470 if test x"$RPATH" != x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5471 RPATH="-Wl,-R$RPATH"
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 fi
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 if test x"$GTK_LIBS" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5476
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5477 # 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
5478 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
5479 withval=$with_glib_prefix; glib_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5480 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5481 glib_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5482 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5483
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5484
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5485 # 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
5486 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
5487 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5488 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5489 glib_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5490 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5491
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5492 # 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
5493 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
5494 enableval=$enable_glibtest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5495 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5496 enable_glibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5497 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5498
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5499
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5500 if test x$glib_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5501 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5502 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5503 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5504 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5505 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5506 if test x$glib_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5507 glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5508 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5509 GLIB_CONFIG=$glib_config_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5510 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5511 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5512
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5513 for module in .
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5514 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5515 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5516 gmodule)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5517 glib_config_args="$glib_config_args gmodule"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5518 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5519 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5520 glib_config_args="$glib_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5521 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5522 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5523 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5524
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5525 # 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
5526 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
5527 { $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
5528 $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
5529 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
5530 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5531 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5532 case $GLIB_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5533 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5534 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
5535 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5536 *)
120
7d2108cbcd3e Porting DW 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 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
5538 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
5539 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
5540 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
5541 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
5542 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
5543 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
5544 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
5545 $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
5546 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
5547 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
5548 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5549 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5550 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5551
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5552 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5553 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5554 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5555 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5556 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5557 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
5558 { $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
5559 $as_echo "$GLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5560 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5561 { $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
5562 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5563 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5564
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5565
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5566 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
5567 { $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
5568 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5569 no_glib=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5570 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5571 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5572 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5573 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5574 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5575 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5577 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5579 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5581 if test "x$enable_glibtest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5582 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5583 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5584 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5585 LIBS="$GLIB_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5586 rm -f conf.glibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5587 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5588 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5589 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5590 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
5591 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5592
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5593 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5594 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5595 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5596
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5597 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5598 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5599 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5600 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5601 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5602
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5603 system ("touch conf.glibtest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5604
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5605 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5606 tmp_version = g_strdup("$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5607 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5608 printf("%s, bad version string\n", "$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5609 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5610 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5611
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5612 if ((glib_major_version != $glib_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5613 (glib_minor_version != $glib_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5614 (glib_micro_version != $glib_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5615 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5616 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5617 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5618 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5619 printf ("*** was found! If glib-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5620 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
5621 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5622 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5623 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5624 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5625 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
5626 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5627 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5628 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5629 (glib_minor_version != GLIB_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5630 (glib_micro_version != GLIB_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5631 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5632 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5633 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5634 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5635 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5636 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5637 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5638 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5639 if ((glib_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5640 ((glib_major_version == major) && (glib_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5641 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5642 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5643 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5644 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5645 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5646 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5647 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5648 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5649 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
5650 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5651 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5652 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5653 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5654 printf("*** probably means that the wrong copy of the glib-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5655 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
5656 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
5657 printf("*** correct copy of glib-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5658 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5659 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5660 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5661 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5662 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5663 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5664
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5665 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5666 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
5667
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5668 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5669 no_glib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5670 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5671 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
5672 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
5673 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5674
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5675 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5676 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5677 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5678 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5679 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
5680 { $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
5681 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5682 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5683 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5684 { $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
5685 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5686 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5687 echo "*** The glib-config script installed by GLIB could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5688 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5689 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5690 echo "*** full path to glib-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5691 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5692 if test -f conf.glibtest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5693 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5694 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5695 echo "*** Could not run GLIB test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5696 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5697 LIBS="$LIBS $GLIB_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5698 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
5699 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5700
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5701 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5702 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5703
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5704 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5705 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5706 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5707 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5708 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5709 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5710 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5711 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5712 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5713 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5714 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5715 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
5716 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5717 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5718 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5719 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5720 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5721 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
5722 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5723 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
5724 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5725 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
5726 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5727 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5728 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
5729 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5730 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5731 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5732 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5733 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5734 GLIB_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5735 GLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5736 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
5737 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5738
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5739
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5740 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5741
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5742
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5743 # 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
5744 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
5745 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5746 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5747 gtk_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5748 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5749
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5750
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5751 # 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
5752 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
5753 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5754 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5755 gtk_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5756 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5757
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5758 # 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
5759 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
5760 enableval=$enable_gtktest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5761 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5762 enable_gtktest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5763 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5764
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5765
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5766 for module in . gthread
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5767 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5768 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5769 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5770 gtk_config_args="$gtk_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5771 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5772 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5773 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5774
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5775 if test x$gtk_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5776 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5777 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5778 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5779 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5780 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5781 if test x$gtk_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5782 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5783 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5784 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5785 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5786 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5787
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5788 # 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
5789 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
5790 { $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
5791 $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
5792 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
5793 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5794 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5795 case $GTK_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5796 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5797 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
5798 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5799 *)
120
7d2108cbcd3e Porting DW 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 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
5801 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
5802 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
5803 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
5804 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
5805 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
5806 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
5807 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
5808 $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
5809 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
5810 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
5811 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5812 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5813 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5814
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5815 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5816 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5817 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5818 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5819 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5820 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
5821 { $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
5822 $as_echo "$GTK_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5823 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5824 { $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
5825 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5826 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5827
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5828
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5829 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
5830 { $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
5831 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5832 no_gtk=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5833 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5834 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5835 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5836 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5837 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5838 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5840 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5842 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5844 if test "x$enable_gtktest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5845 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5846 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5847 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5848 LIBS="$GTK_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5849 rm -f conf.gtktest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5850 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5851 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5852 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5853 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
5854 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5855
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5856 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5857 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5858 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5859
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5860 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5861 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5862 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5863 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5864 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5865
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5866 system ("touch conf.gtktest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5867
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5868 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5869 tmp_version = g_strdup("$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5870 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5871 printf("%s, bad version string\n", "$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5872 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5873 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5874
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5875 if ((gtk_major_version != $gtk_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5876 (gtk_minor_version != $gtk_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5877 (gtk_micro_version != $gtk_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5878 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5879 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5880 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5881 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5882 printf ("*** was found! If gtk-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5883 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
5884 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5885 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5886 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5887 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5888 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
5889 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5890 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5891 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5892 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5893 (gtk_minor_version != GTK_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5894 (gtk_micro_version != GTK_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5895 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5896 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5897 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5898 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5899 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5900 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5901 #endif /* defined (GTK_MAJOR_VERSION) ... */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5902 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5903 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5904 if ((gtk_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5905 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5906 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5907 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5908 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5909 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5910 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5911 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5912 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5913 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5914 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
5915 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5916 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5917 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5918 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5919 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5920 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
5921 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
5922 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5923 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5924 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5925 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5926 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5927 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5928 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5929
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5930 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5931 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
5932
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5933 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5934 no_gtk=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5935 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5936 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
5937 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
5938 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5939
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5940 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5941 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5942 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5943 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5944 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
5945 { $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
5946 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5947 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5948 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5949 { $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
5950 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5951 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5952 echo "*** The gtk-config script installed by GTK could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5953 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5954 echo "*** your path, or set the GTK_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5955 echo "*** full path to gtk-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5956 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5957 if test -f conf.gtktest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5958 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5959 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5960 echo "*** Could not run GTK test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5961 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5962 LIBS="$LIBS $GTK_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5963 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
5964 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5965
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5966 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5967 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5968
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5969 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5970 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5971 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5972 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5973 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5974 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5975 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5976 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5977 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5978 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5979 echo "*** that the run-time linker is not finding GTK or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5980 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
5981 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5982 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5983 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5984 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5985 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5986 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
5987 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5988 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
5989 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5990 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
5991 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5992 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5993 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
5994 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5995 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5996 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5997 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5998 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5999 GTK_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6000 GTK_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6001 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
6002 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6003
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6004
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6005 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6006
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6007
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6008 # 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
6009 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
6010 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
6011 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6012 imlib_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6013 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6014
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6015
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6016 # 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
6017 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
6018 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
6019 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6020 imlib_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6021 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6022
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6023 # 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
6024 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
6025 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
6026 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6027 enable_imlibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6028 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6029
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6030
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6031 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
6032 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
6033 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
6034 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
6035 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6036 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6037 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
6038 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
6039 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
6040 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
6041 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6042 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6043
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6044 # 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
6045 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
6046 { $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
6047 $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
6048 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
6049 $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
6050 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6051 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
6052 [\\/]* | ?:[\\/]*)
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="$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
6054 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6055 *)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6056 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
6057 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
6058 do
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6059 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
6060 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
6061 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
6062 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
6063 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
6064 $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
6065 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
6066 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6067 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6068 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6069 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
6070
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6071 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
6072 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6073 esac
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6074 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6075 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
6076 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
6077 { $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
6078 $as_echo "$IMLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6079 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6080 { $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
6081 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6082 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6083
121
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 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
6086 { $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
6087 $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
6088 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
6089 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
6090 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
6091 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6092 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
6093 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
6094
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6095 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
6096 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
6097 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
6098 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
6099 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
6100 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
6101 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
6102 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
6103 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
6104 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
6105 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
6106 rm -f conf.imlibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6107 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
6108 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
6109 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6110 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
6111 /* 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
6112
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6113 #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
6114 #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
6115 #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
6116
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6117 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
6118 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6119 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
6120 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
6121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6122 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
6123
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6124 /* 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
6125 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
6126 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
6127 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
6128 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
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
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6131 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
6132 (($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
6133 (($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
6134 ($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
6135 {
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 0;
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 else
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 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
6141 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
6142 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
6143 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
6144 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
6145 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
6146 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
6147 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6148 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6149
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6150
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6151 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6152 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
6153
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6154 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6155 no_imlib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6156 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6157 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
6158 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
6159 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6160
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6161 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
6162 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
6163 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6164 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6165 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
6166 { $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
6167 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6168 $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
6169
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6170 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6171 { $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
6172 $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
6173 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
6174 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
6175 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
6176 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
6177 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
6178 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6179 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
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 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6182 echo "*** 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
6183 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
6184 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
6185 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
6186 /* 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
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 #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
6189 #include <gdk_imlib.h>
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6190
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6191 int
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6192 main ()
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6193 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6194 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
6195 ;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6196 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
6197 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6198 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6199 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
6200 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
6201 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
6202 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
6203 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
6204 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
6205 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
6206 echo "***"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6207 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
6208 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
6209 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6210 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
6211 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
6212 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
6213 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
6214 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6215 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
6216 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
6217 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
6218 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
6219 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6220 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6221 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
6222 GDK_IMLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6223 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
6224 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6225
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6226
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6227 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
6228
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6229 else
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
6230 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
6231 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
6232 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
6233 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
6234
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6235 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
6236 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
6237 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
6238
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6239 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6240 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
6241 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6242
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6243
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6244 { $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
6245 $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
6246 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
6247 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6248 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6249 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6250 LIBS="-lpthread $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6252 /* end confdefs.h. */
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 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6255 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
6256 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6257 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6258 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6259 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6260 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6261 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6262 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6263 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6264 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6265 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6266 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6267 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6268 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6269 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6270 ac_cv_lib_pthread_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6271 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6272 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
6273 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6274 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
6275 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6276 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6277 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6278 { $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
6279 $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
6280 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
6281 PTHREAD_LIBS="-lpthread"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6282 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6283 { $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
6284 $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
6285 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
6286 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6287 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6288 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6289 LIBS="-lpthreads $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6291 /* end confdefs.h. */
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 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6294 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
6295 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6296 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6297 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6298 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6299 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6300 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6301 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6302 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6303 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6304 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6305 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6306 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6307 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6308 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6309 ac_cv_lib_pthreads_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6310 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6311 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
6312 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6313 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
6314 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6315 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6316 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6317 { $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
6318 $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
6319 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
6320 PTHREAD_LIBS="-lpthreads"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6321 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6322 { $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
6323 $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
6324 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
6325 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6326 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6327 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6328 LIBS="-lc_r $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6329 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
6330 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6331
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6332 /* 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
6333 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
6334 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6335 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6336 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6337 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6338 char pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6339 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6340 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6341 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6342 return pthread_attr_init ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6343 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6344 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6345 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6346 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6347 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6348 ac_cv_lib_c_r_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6349 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6350 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
6351 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6352 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
6353 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
6354 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
6355 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6356 { $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
6357 $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
6358 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6359 PTHREAD_LIBS="-lc_r"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6360 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6361 { $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
6362 $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
6363 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
6364 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6365 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6366 ac_check_lib_save_LIBS=$LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6367 LIBS="-lc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6368 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
6369 /* end confdefs.h. */
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 /* 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
6372 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
6373 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
6374 #ifdef __cplusplus
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6375 extern "C"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6376 #endif
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6377 char pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6378 int
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6379 main ()
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6380 {
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6381 return pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6382 ;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6383 return 0;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6384 }
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6385 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6386 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
6387 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
6388 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6389 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
6390 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6391 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
6392 conftest$ac_exeext conftest.$ac_ext
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6393 LIBS=$ac_check_lib_save_LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6394 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6395 { $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
6396 $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
6397 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
6398 PTHREAD_LIBS="-lc"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6399 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6400 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
6401
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6402 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6403
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6404
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6405 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6406
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6407
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6408 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6409
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6410
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6411 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6412
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6413 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
6414
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6415 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
6416
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6417 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
6418 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
6419 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
6420 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
6421 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
6422 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
6423 { $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
6424 $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
6425 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
6426 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6427 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6428 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6429 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
6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6431 /* end confdefs.h. */
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 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6434 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
6435 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6436 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6437 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6438 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6439 char webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6440 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6441 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6442 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6443 return webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6444 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6445 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6446 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6447 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6448 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6449 eval "$as_ac_Lib=yes"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6450 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6451 eval "$as_ac_Lib=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6452 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6453 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
6454 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6455 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6456 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6457 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
6458 { $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
6459 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6460 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
6461 $as_echo "#define USE_WEBKIT 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6462
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6463 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6464
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6465 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6466
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6467 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
6468
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6469 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
6470 do :
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6471 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
6472 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
6473 cat >>confdefs.h <<_ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6474 #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
6475 _ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6476
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6477 $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
6478
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6479 fi
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6480 done
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6481
1794
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6482 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
6483 do :
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6484 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
6485 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
6486 cat >>confdefs.h <<_ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6487 #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
6488 _ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6489
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6490 $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
6491
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6492 fi
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6493 done
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6494
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6495
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6496 RM="rm -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6497 LN="ln -s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6498 CP="cp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6499 MV="mv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6500 MKDIR="mkdir"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6501
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6502
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6503
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6504
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6505
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6506
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6507
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6508
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6509
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6510
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6511
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6512
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6513
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
6514
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
6515
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6516
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6517
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6518
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6519
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6520
663
86c404056262 Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 644
diff changeset
6521
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6522
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6523
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6524
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6525
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6526
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6527
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6528
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6529
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
6530 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
6531
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6532 cat >confcache <<\_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6533 # This file is a shell script that caches the results of configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6534 # tests run on this system so they can be shared between configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6535 # scripts and configure runs, see configure's option --config-cache.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6536 # It is not useful on other systems. If it contains results you don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6537 # want to keep, you may remove or edit it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6538 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6539 # config.status only pays attention to the cache file if you give it
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6540 # the --recheck option to rerun configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6541 #
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6542 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6543 # loading this file, other *unset* `ac_cv_foo' will be assigned the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6544 # following values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6545
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6546 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6547
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6548 # The following way of writing the cache mishandles newlines in values,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6549 # 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
6550 # So, we kill variables containing newlines.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6551 # Ultrix sh set writes to stderr and can't be redirected directly,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6552 # 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
6553 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6554 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
6555 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6556 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6557 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6558 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6559 *_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
6560 $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
6561 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6562 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6563 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6564 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
6565 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6566 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6567 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6568 done
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 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6571 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
6572 *${as_nl}ac_space=\ *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6573 # `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
6574 # substitution turns \\\\ into \\, and sed turns \\ into \.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6575 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6576 "s/'/'\\\\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6577 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
6578 ;; #(
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6579 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6580 # `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
6581 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6582 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6583 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6584 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6585 ) |
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6586 sed '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6587 /^ac_cv_env_/b end
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6588 t clear
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6589 :clear
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6591 t end
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6592 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6593 :end' >>confcache
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6594 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
6595 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
6596 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
6597 { $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
6598 $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
6599 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
6600 cat confcache >"$cache_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6601 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6602 case $cache_file in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6603 */* | ?:*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6604 mv -f confcache "$cache_file"$$ &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6605 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
6606 *)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6607 mv -f confcache "$cache_file" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6608 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6609 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6610 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6611 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6612 { $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
6613 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6614 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6615 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6616 rm -f confcache
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6617
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6618 test "x$prefix" = xNONE && prefix=$ac_default_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6619 # Let make expand exec_prefix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6620 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6621
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6622 DEFS=-DHAVE_CONFIG_H
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6623
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6624 ac_libobjs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6625 ac_ltlibobjs=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6626 U=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6627 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
6628 # 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
6629 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
6630 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
6631 # 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
6632 # 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
6633 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
6634 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
6635 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6636 LIBOBJS=$ac_libobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6637
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6638 LTLIBOBJS=$ac_ltlibobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6639
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6640
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6641
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6642 : "${CONFIG_STATUS=./config.status}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6643 ac_write_fail=0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6644 ac_clean_files_save=$ac_clean_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6645 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
6646 { $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
6647 $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
6648 as_write_fail=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6649 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6650 #! $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
6651 # Generated by $as_me.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6652 # Run this file to recreate the current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6653 # Compiler output produced by configure, useful for debugging
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6654 # configure, is in config.log if it exists.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6655
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6656 debug=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6657 ac_cs_recheck=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6658 ac_cs_silent=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6659
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6660 SHELL=\${CONFIG_SHELL-$SHELL}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6661 export SHELL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6662 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6663 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
6664 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6665 ## M4sh Initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6666 ## -------------------- ##
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6667
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6668 # Be more Bourne compatible
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6669 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
6670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6671 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6672 NULLCMD=:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6673 # 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
6674 # 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
6675 alias -g '${1+"$@"}'='"$@"'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6676 setopt NO_GLOB_SUBST
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6677 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6678 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
6679 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6680 set -o posix ;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6681 *) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6682 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6683 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6684 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6685
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6686
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6687 as_nl='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6688 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6689 export as_nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6690 # 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
6691 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6692 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
6693 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
6694 # 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
6695 # 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
6696 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
6697 && (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
6698 as_echo='print -r --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6699 as_echo_n='print -rn --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6700 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
6701 as_echo='printf %s\n'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6702 as_echo_n='printf %s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6703 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6704 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
6705 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
6706 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
6707 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6708 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
6709 as_echo_n_body='eval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6710 arg=$1;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6711 case $arg in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6712 *"$as_nl"*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6713 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
6714 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
6715 esac;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6716 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
6717 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6718 export as_echo_n_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6719 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
6720 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6721 export as_echo_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6722 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
6723 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
6724
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6725 # 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
6726 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
6727 PATH_SEPARATOR=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6728 (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
6729 (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
6730 PATH_SEPARATOR=';'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6731 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6732 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6733
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6734
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6735 # IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6736 # 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
6737 # 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
6738 # (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
6739 # splitting by setting IFS to empty value.)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6740 IFS=" "" $as_nl"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6741
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6742 # 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
6743 as_myself=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6744 case $0 in #((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6745 *[\\/]* ) as_myself=$0 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6746 *) 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
6747 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
6748 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
6749 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
6750 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
6751 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
6752 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6753 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6754
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6755 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6756 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6757 # 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
6758 # 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
6759 if test "x$as_myself" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6760 as_myself=$0
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6761 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6762 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
6763 $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
6764 exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6765 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6766
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6767 # 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
6768 # 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
6769 # 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
6770 # 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
6771 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
6772 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
6773 && ( (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
6774 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6775 PS1='$ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6776 PS2='> '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6777 PS4='+ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6778
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6779 # NLS nuisances.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6780 LC_ALL=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6781 export LC_ALL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6782 LANGUAGE=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6783 export LANGUAGE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6784
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6785 # CDPATH.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6786 (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
6787
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6788
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6789 # 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
6790 # ----------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6791 # 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
6792 # 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
6793 # 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
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 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
6797 if test "$4"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6798 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
6799 $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
6800 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6801 $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
6802 as_fn_exit $as_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6803 } # as_fn_error
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
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6806 # as_fn_set_status STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6807 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6808 # Set $? to STATUS, without forking.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6809 as_fn_set_status ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6810 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6811 return $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6812 } # as_fn_set_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6813
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6814 # as_fn_exit STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6815 # -----------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6816 # 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
6817 as_fn_exit ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6818 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6819 set +e
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6820 as_fn_set_status $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6821 exit $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6822 } # as_fn_exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6823
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6824 # as_fn_unset VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6825 # ---------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6826 # Portably unset VAR.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6827 as_fn_unset ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6828 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6829 { eval $1=; unset $1;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6830 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6831 as_unset=as_fn_unset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6832 # as_fn_append VAR VALUE
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 # 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
6835 # 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
6836 # 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
6837 # implementations.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6838 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
6839 eval '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 eval $1+=\$2
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 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6844 as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6845 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6846 eval $1=\$$1\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6847 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6848 fi # as_fn_append
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6849
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6850 # as_fn_arith ARG...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6851 # ------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6852 # 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
6853 # 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
6854 # 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
6855 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
6856 eval '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 as_val=$(( $* ))
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6859 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6860 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6861 as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6862 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6863 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
6864 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6865 fi # as_fn_arith
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6866
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6867
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6868 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
6869 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6870 as_expr=expr
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6871 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6872 as_expr=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6873 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6874
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6875 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
6876 as_basename=basename
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6877 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6878 as_basename=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6879 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6880
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6881 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
6882 as_dirname=dirname
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6883 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6884 as_dirname=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6885 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6886
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6887 as_me=`$as_basename -- "$0" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6889 X"$0" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6890 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
6891 $as_echo X/"$0" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6892 sed '/^.*\/\([^/][^/]*\)\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6893 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6894 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6895 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6896 /^X\/\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6897 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6898 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6899 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6900 /^X\/\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6901 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6902 q
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 s/.*/./; q'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6905
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6906 # Avoid depending upon Character Ranges.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6909 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
6910 as_cr_digits='0123456789'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6911 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
6912
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6913 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
6914 case `echo -n x` in #(((((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6915 -n*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6916 case `echo 'xy\c'` in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6917 *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
6918 xy) ECHO_C='\c';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6919 *) 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
6920 ECHO_T=' ';;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6921 esac;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6922 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6923 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
6924 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6925
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6926 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
6927 if test -d conf$$.dir; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6928 rm -f conf$$.dir/conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6929 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6930 rm -f conf$$.dir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6931 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
6932 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6933 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
6934 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
6935 as_ln_s='ln -s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6936 # ... but there are two gotchas:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6937 # 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
6938 # 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
6939 # 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
6940 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
6941 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
6942 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
6943 as_ln_s=ln
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6944 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6945 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
6946 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6947 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6948 as_ln_s='cp -pR'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6949 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6950 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
6951 rmdir conf$$.dir 2>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6952
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6953
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6954 # as_fn_mkdir_p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6955 # -------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6956 # 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
6957 as_fn_mkdir_p ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6958 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6959
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6960 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6961 -*) as_dir=./$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6962 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6963 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
6964 as_dirs=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6965 while :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6966 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6967 *\'*) 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
6968 *) as_qdir=$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6969 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6970 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
6971 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
6972 $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
6973 X"$as_dir" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6974 X"$as_dir" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6975 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
6976 $as_echo X"$as_dir" |
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6978 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6979 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6980 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6981 /^X\(\/\/\)[^/].*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6982 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6983 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6984 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6985 /^X\(\/\/\)$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6986 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6987 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6988 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6989 /^X\(\/\).*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6990 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6991 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6992 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6993 s/.*/./; q'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6994 test -d "$as_dir" && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6995 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6996 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
6997 } || 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
6998
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6999
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7000 } # as_fn_mkdir_p
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7001 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
7002 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
7003 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7004 test -d ./-p && rmdir ./-p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7005 as_mkdir_p=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7006 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7007
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7008
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7009 # 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
7010 # -----------------------
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7011 # 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
7012 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
7013 {
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7014 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
7015 } # 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
7016 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
7017 as_executable_p=as_fn_executable_p
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7018
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7019 # 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
7020 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
7021
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7022 # 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
7023 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
7024
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7025
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7026 exec 6>&1
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7027 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7028 ## 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
7029 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7030 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7031 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
7032
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7033 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
7034 # 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
7035 # 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
7036 # values after options handling.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7037 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
7038 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
7039 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
7040
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7041 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
7042 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
7043 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
7044 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
7045 $ $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
7046
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7047 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
7048 "
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7049
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7050 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7051
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7052 case $ac_config_files in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7053 "*) 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
7054 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7055
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7056 case $ac_config_headers in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7057 "*) 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
7058 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7059
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7060
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7062 # 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
7063 config_files="$ac_config_files"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7064 config_headers="$ac_config_headers"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7065
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7066 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7067
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7069 ac_cs_usage="\
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7070 \`$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
7071 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
7072 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
7073
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7074 Usage: $0 [OPTION]... [TAG]...
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7075
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7076 -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
7077 -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
7078 --config print configuration, then exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7079 -q, --quiet, --silent
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7080 do not print progress messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7081 -d, --debug don't remove temporary files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7082 --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
7083 --file=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7084 instantiate the configuration file FILE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7085 --header=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7086 instantiate the configuration header FILE
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7087
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7088 Configuration files:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7089 $config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7090
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7091 Configuration headers:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7092 $config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7093
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7094 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
7095
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7096 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7097 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
7098 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7099 ac_cs_version="\\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7100 config.status
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7101 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
7102 with options \\"\$ac_cs_config\\"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7103
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7104 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7105 This config.status script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7106 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
7107
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7108 ac_pwd='$ac_pwd'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7109 srcdir='$srcdir'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7110 INSTALL='$INSTALL'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7111 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
7112 _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
7113
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7114 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
7115 # The default lists apply if the user does not specify any file.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7116 ac_need_defaults=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7117 while test $# != 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7118 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7119 case $1 in
1596
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 ac_option=`expr "X$1" : 'X\([^=]*\)='`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7122 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7123 ac_shift=:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7124 ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7125 --*=)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7126 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
7127 ac_optarg=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7128 ac_shift=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7129 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7130 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7131 ac_option=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7132 ac_optarg=$2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7133 ac_shift=shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7134 ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7135 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7136
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7137 case $ac_option in
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7138 # Handling of the options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7139 -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
7140 ac_cs_recheck=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7141 --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
7142 $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
7143 --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
7144 $as_echo "$ac_cs_config"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7145 --debug | --debu | --deb | --de | --d | -d )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7146 debug=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7147 --file | --fil | --fi | --f )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7148 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7149 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7150 *\'*) 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
7151 '') 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
7152 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7153 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
7154 ac_need_defaults=false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7155 --header | --heade | --head | --hea )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7156 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7157 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7158 *\'*) 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
7159 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7160 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
7161 ac_need_defaults=false;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7162 --he | --h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7163 # 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
7164 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
7165 Try \`$0 --help' for more information.";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7166 --help | --hel | -h )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7167 $as_echo "$ac_cs_usage"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7169 | -silent | --silent | --silen | --sile | --sil | --si | --s)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7170 ac_cs_silent=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7171
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7172 # This is an error.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7173 -*) 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
7174 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
7175
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7176 *) 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
7177 ac_need_defaults=false ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7178
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7179 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7180 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7181 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7182
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7183 ac_configure_extra_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7184
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7185 if $ac_cs_silent; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7186 exec 6>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7187 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
7188 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7189
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7190 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7191 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
7192 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
7193 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
7194 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7195 \$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
7196 CONFIG_SHELL='$SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7197 export CONFIG_SHELL
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7198 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
7199 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
7200
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7201 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7202 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
7203 exec 5>>config.log
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7204 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7205 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7206 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
7207 ## Running $as_me. ##
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7208 _ASBOX
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7209 $as_echo "$ac_log"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7210 } >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7211
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7212 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7213 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
7214 _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
7215
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7216 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
7217
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7218 # Handling of arguments.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7219 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
7220 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7221 case $ac_config_target in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7222 "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
7223 "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
7224 "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
7225 "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
7226 "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
7227
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7228 *) 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
7229 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7230 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7231
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7232
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7233 # If the user did not use the arguments to specify the items to instantiate,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7234 # then the envvar interface is used. Set only those that are not.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7235 # We use the long form for the default assignment because of an extremely
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7236 # bizarre bug on SunOS 4.1.3.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7237 if $ac_need_defaults; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7238 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7239 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7240 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7241
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7242 # 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
7243 # 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
7244 # 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
7245 # Hook for its removal unless debugging.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7246 # 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
7247 # after its creation but before its name has been assigned to `$tmp'.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7248 $debug ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7249 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7250 tmp= ac_tmp=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7251 trap 'exit_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7252 : "${ac_tmp:=$tmp}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7253 { 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
7254 ' 0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7255 trap 'as_fn_exit 1' 1 2 13 15
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7256 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7257 # 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
7258
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7259 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7260 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
7261 test -d "$tmp"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7262 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7263 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7264 tmp=./conf$$-$RANDOM
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7265 (umask 077 && mkdir "$tmp")
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7266 } || 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
7267 ac_tmp=$tmp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7268
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7269 # 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
7270 # 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
7271 # 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
7272 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
7273
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7274
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7275 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
7276 # 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
7277 # 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
7278 # 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
7279 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
7280 eval ac_cr=\$\'\\r\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7281 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7282 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
7283 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
7284 ac_cs_awk_cr='\\r'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7285 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7286 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
7287 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7288
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7289 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
7290 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7291
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7292
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
7293 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7294 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
7295 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
7296 echo "_ACEOF"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7297 } >conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7298 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
7299 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
7300 ac_delim='%!_!# '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7301 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
7302 . ./conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7303 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
7304
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7305 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
7306 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
7307 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7308 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
7309 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
7310 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7311 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
7312 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7313 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7314 rm -f conf$$subs.sh
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7315
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7316 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
7317 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
7318 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7319 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7320 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7321 s/^/S["/; s/!.*/"]=/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7322 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7323 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7324 s/^[^!]*!//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7325 :repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7326 t repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7327 s/'"$ac_delim"'$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7328 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7329 :nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7330 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7331 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7332 t more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7333 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7334 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7335 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7336 b repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7337 :more1
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 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7341 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7342 t nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7343 :delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7344 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7345 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7346 t more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7347 s/["\\]/\\&/g; s/^/"/; s/$/"/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7348 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7349 b
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7350 :more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7351 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7352 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7353 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7354 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7355 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7356 ' <conf$$subs.awk | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7357 /^[^""]/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7358 N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7359 s/\n//
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 ' >>$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
7362 rm -f conf$$subs.awk
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7363 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
7364 _ACAWK
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7365 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
7366 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
7367 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7368
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7369 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7370 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7371 line = $ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7372 nfields = split(line, field, "@")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7373 substed = 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7374 len = length(field[1])
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7375 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
7376 key = field[i]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7377 keylen = length(key)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7378 if (S_is_set[key]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7379 value = S[key]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7380 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
7381 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
7382 substed = 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7383 } else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7384 len += 1 + keylen
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7385 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7386
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7387 print line
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7388 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7389
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7390 _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
7391 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7392 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
7393 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
7394 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
7395 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7396 cat
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7397 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
7398 || 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
7399 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7400
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7401 # 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
7402 # ${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
7403 # 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
7404 # (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
7405 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
7406 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7407 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7408 s///
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7409 s/^/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7410 s/[ ]*$/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7411 s/:\$(srcdir):/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7412 s/:\${srcdir}:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7413 s/:@srcdir@:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7414 s/^:*//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7415 s/:*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7416 x
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7417 s/\(=[ ]*\).*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7418 G
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7419 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7420 s/^[^=]*=[ ]*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7421 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7422 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7423
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7424 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
7425 fi # test -n "$CONFIG_FILES"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7426
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7427 # 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
7428 # 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
7429 # 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
7430 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
7431 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
7432 BEGIN {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7433 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7434
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7435 # 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
7436 # 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
7437 # 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
7438
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7439 # 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
7440 # handling of long lines.
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7441 ac_delim='%!_!# '
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7442 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
7443 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
7444 if test -z "$ac_tt"; then
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7445 break
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7446 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
7447 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
7448 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7449 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7450 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7451 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7452
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7453 # 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
7454 # 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
7455 # newline sequences.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7456
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7457 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
7458 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7459 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7460 t rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7461 :rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7462 s/^[ ]*#[ ]*define[ ][ ]*/ /
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7463 t def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7464 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7465 :def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7466 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7467 t bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7468 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7469 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
7470 D["\1"]=" \3"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7471 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
7472 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7473 :bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7474 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7475 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
7476 D["\1"]=" \3\\\\\\n"\\/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7477 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7478 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
7479 t cont
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 :cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7482 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7483 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7484 t clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7485 :clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7486 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7487 t bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7488 s/["\\]/\\&/g; s/^/"/; s/$/"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7489 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7490 :bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7491 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
7492 b cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7493 ' <confdefs.h | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7494 s/'"$ac_delim"'/"\\\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7495 "/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
7496
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7497 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
7498 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
7499 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7500 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7501 /^[\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
7502 line = \$ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7503 split(line, arg, " ")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7504 if (arg[1] == "#") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7505 defundef = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7506 mac1 = arg[3]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7507 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7508 defundef = substr(arg[1], 2)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7509 mac1 = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7510 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7511 split(mac1, mac2, "(") #)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7512 macro = mac2[1]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7513 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
7514 if (D_is_set[macro]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7515 # 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
7516 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
7517 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7518 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7519 # 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
7520 # 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
7521 # 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
7522 if (defundef == "undef") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7523 print "/*", prefix defundef, macro, "*/"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7524 next
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 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7528 { print }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7529 _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
7530 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7531 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
7532 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
7533 fi # test -n "$CONFIG_HEADERS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7534
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7535
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7536 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
7537 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7538 for ac_tag
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7539 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7540 case $ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7541 :[FHLC]) ac_mode=$ac_tag; continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7542 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7543 case $ac_mode$ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7544 :[FHL]*:*);;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7545 :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
7546 :[FH]-) ac_tag=-:-;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7547 :[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
7548 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7549 ac_save_IFS=$IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7550 IFS=:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7551 set x $ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7552 IFS=$ac_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7553 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7554 ac_file=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7555 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7556
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7557 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7558 :L) ac_source=$1;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7559 :[FH])
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7560 ac_file_inputs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7561 for ac_f
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7562 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7563 case $ac_f in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7564 -) ac_f="$ac_tmp/stdin";;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7565 *) # 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
7566 # (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
7567 # because $ac_f cannot contain `:'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7568 test -f "$ac_f" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7569 case $ac_f in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7570 [\\/$]*) false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7571 *) 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
7572 esac ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7573 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
7574 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7575 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
7576 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
7577 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7578
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7579 # 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
7580 # 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
7581 # /* 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
7582 configure_input='Generated from '`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7583 $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
7584 `' by configure.'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7585 if test x"$ac_file" != x-; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7586 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
7587 { $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
7588 $as_echo "$as_me: creating $ac_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7589 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7590 # 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
7591 case $configure_input in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7592 *\&* | *\|* | *\\* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7593 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
7594 sed 's/[\\\\&|]/\\\\&/g'`;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7595 *) 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
7596 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7597
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7598 case $ac_tag in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7599 *:-:* | *:-) cat >"$ac_tmp/stdin" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7600 || 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
7601 esac
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7602 ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7603 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7604
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7605 ac_dir=`$as_dirname -- "$ac_file" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7607 X"$ac_file" : 'X\(//\)[^/]' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7608 X"$ac_file" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7609 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
7610 $as_echo X"$ac_file" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7612 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7613 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7614 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7615 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7616 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7617 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7618 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7619 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7620 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7621 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7622 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7623 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7624 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7625 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7626 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7627 s/.*/./; q'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7628 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
7629 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
7630
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7631 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7632 .) 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
7633 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7634 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
7635 # 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
7636 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
7637 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7638 "") 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
7639 *) 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
7640 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7641 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7642 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7643 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
7644 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7645 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
7646
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7647 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7648 .) # 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
7649 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7650 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7651 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7652 [\\/]* | ?:[\\/]* ) # 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
7653 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7654 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7655 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7656 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7657 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
7658 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
7659 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
7660 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7661 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
7662
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7663
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7664 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7665 :F)
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 # CONFIG_FILE
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7668 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7669
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7670 case $INSTALL in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7671 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7672 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7673 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7674 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7675
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7676
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7677 # Neutralize VPATH when `$srcdir' = `.'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7678 # 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
7679 # 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
7680 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
7681 ac_sed_extra="$ac_vpsub
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7682 $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
7683 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7685 :t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7686 /@[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
7687 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
7688 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
7689 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
7690 s&@srcdir@&$ac_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7691 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
7692 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
7693 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
7694 s&@builddir@&$ac_builddir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7695 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
7696 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
7697 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
7698 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7699 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
7700 >$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
7701
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7702
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7703 rm -f "$ac_tmp/stdin"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7704 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7705 -) 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
7706 *) 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
7707 esac \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7708 || 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
7709 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7710 :H)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7711 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7712 # CONFIG_HEADER
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7713 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7714 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
7715 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7716 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7717 && 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
7718 } >"$ac_tmp/config.h" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7719 || 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
7720 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
7721 { $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
7722 $as_echo "$as_me: $ac_file is unchanged" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7723 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7724 rm -f "$ac_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7725 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
7726 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7727 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7728 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7729 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7730 && 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
7731 || as_fn_error $? "could not create -" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7732 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7733 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7734
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7735
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7736 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7737
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7738 done # for ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7739
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7740
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7741 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
7742 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7743 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7744
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7745 test $ac_write_fail = 0 ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7746 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
7747
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7748
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7749 # configure is writing to config.log, and then calls config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7750 # config.status does its own redirection, appending to config.log.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7751 # Unfortunately, on DOS this fails, as config.log is still kept open
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7752 # by configure, so config.status won't be able to write to it; its
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7753 # output is simply discarded. So we exec the FD to /dev/null,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7754 # effectively closing config.log, so it can be properly (re)opened and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7755 # appended to by config.status. When coming back to configure, we
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7756 # need to make the FD available again.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7757 if test "$no_create" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7758 ac_cs_success=:
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7759 ac_config_status_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7760 test "$silent" = yes &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7761 ac_config_status_args="$ac_config_status_args --quiet"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7762 exec 5>/dev/null
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7763 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7764 exec 5>>config.log
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7765 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7766 # 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
7767 $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
7768 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7769 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
7770 { $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
7771 $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
7772 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7773