annotate configure @ 2829:c543f7df7867

iOS: Implement layout constraints to put the UIStackView containing the columns below the row's image and text label and attempt MULTI mode. Need to figure out how to add the stack's extra height to the cell. Multi mode is implemented with UIButtons and I am getting a weird selector sent to the buttons when in Multi mode.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 06 Sep 2022 07:07:19 +0000
parents d8db838d5616
children 7479ab54e014
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.
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
3 # Generated by GNU Autoconf 2.69 for dwindows 3.2.
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.
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
578 PACKAGE_NAME='dwindows'
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
579 PACKAGE_TARNAME='dwindows'
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
580 PACKAGE_VERSION='3.2'
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
581 PACKAGE_STRING='dwindows 3.2'
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
582 PACKAGE_BUGREPORT=''
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
583 PACKAGE_URL=''
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
584
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
585 # 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
586 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
587 #include <stdio.h>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
588 #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
589 # 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
590 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
591 #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
592 # 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
593 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
594 #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
595 # 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
596 # 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
597 #else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
598 # 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
599 # 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
600 # 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
601 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
602 #ifdef HAVE_STRING_H
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
603 # 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
604 # 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
605 # 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
606 # 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
607 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
608 #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
609 # 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
610 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
611 #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
612 # 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
613 #endif
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
614 #ifdef HAVE_STDINT_H
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
615 # include <stdint.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
616 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
617 #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
618 # 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
619 #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
620
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
621 ac_subst_vars='LTLIBOBJS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
622 LIBOBJS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
623 ARCH
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
624 INSTALL_TEST
1596
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
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
628 DW_GRESOURCE
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
629 DW_DEFINE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
630 DW_DIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
631 DW_SRC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
632 TARGETS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
633 SONAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
634 LIBPREFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
635 LIBSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
636 SOSUFFIX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
637 SHAREDFLAG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
638 MKDIR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
639 MV
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
640 CP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
641 LN
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
642 RM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
643 ARFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
644 PLATCCFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
645 INCLUDES
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
646 SYSCONF_LINK_TARGET_STATIC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
647 SYSCONF_LINK_TARGET_SHARED2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
648 SYSCONF_LINK_TARGET_SHARED
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
649 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
650 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
651 PKG_CONFIG
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
652 GDK_IMLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
653 GDK_IMLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
654 IMLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
655 GTK_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
656 GTK_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
657 GTK_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
658 GLIB_LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
659 GLIB_CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
660 GLIB_CONFIG
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
661 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
662 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
663 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
664 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
665 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
666 XMKMF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
667 EGREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
668 GREP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
669 CPP
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
670 target_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
671 target_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
672 target_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
673 target
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
674 host_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
675 host_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
676 host_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
677 host
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
678 build_os
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
679 build_vendor
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
680 build_cpu
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
681 build
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
682 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
683 INSTALL_SCRIPT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
684 INSTALL_PROGRAM
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
685 SVNVERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
686 MAKE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
687 ac_ct_CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
688 CXXFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
689 CXX
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
690 OBJEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
691 EXEEXT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
692 ac_ct_CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
693 CPPFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
694 LDFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
695 CFLAGS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
696 CC
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
697 TARGET2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
698 TARGET
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
699 target_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
700 host_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
701 build_alias
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
702 LIBS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
703 ECHO_T
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
704 ECHO_N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
705 ECHO_C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
706 DEFS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
707 mandir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
708 localedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
709 libdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
710 psdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
711 pdfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
712 dvidir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
713 htmldir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
714 infodir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
715 docdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
716 oldincludedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
717 includedir
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
718 runstatedir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
719 localstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
720 sharedstatedir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
721 sysconfdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
722 datadir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
723 datarootdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
724 libexecdir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
725 sbindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
726 bindir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
727 program_transform_name
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
728 prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
729 exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
730 PACKAGE_URL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
731 PACKAGE_BUGREPORT
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
732 PACKAGE_STRING
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
733 PACKAGE_VERSION
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
734 PACKAGE_TARNAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
735 PACKAGE_NAME
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
736 PATH_SEPARATOR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
737 SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
738 ac_subst_files=''
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
739 ac_user_opts='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
740 enable_option_checking
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
741 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
742 with_gtk2
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
743 with_gtk4
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
744 with_deprecated
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
745 with_arch
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
746 with_sdk
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
747 with_minver
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
748 with_x
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
749 with_glib_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
750 with_glib_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
751 enable_glibtest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
752 with_gtk_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
753 with_gtk_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
754 enable_gtktest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
755 with_imlib_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
756 with_imlib_exec_prefix
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
757 enable_imlibtest
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
758 '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
759 ac_precious_vars='build_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
760 host_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
761 target_alias
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
762 CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
763 CFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
764 LDFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
765 LIBS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
766 CPPFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
767 CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
768 CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
769 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
770 CPP
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
771 XMKMF
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
772 PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
773 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
774 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
775 GLIB_CFLAGS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
776 GLIB_LIBS'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
777
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
778
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
779 # Initialize some variables set by options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
780 ac_init_help=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
781 ac_init_version=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
782 ac_unrecognized_opts=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
783 ac_unrecognized_sep=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
784 # The variables have the same names as the options, with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
785 # dashes changed to underlines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
786 cache_file=/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
787 exec_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
788 no_create=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
789 no_recursion=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
790 prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
791 program_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
792 program_suffix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
793 program_transform_name=s,x,x,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
794 silent=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
795 site=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
796 srcdir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
797 verbose=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
798 x_includes=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
799 x_libraries=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
800
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
801 # Installation directory options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
803 # and all the variables that are supposed to be based on exec_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
804 # by default will actually change.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
805 # 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
806 # (The list follows the same order as the GNU Coding Standards.)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
807 bindir='${exec_prefix}/bin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
808 sbindir='${exec_prefix}/sbin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
809 libexecdir='${exec_prefix}/libexec'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
810 datarootdir='${prefix}/share'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
811 datadir='${datarootdir}'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
812 sysconfdir='${prefix}/etc'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
813 sharedstatedir='${prefix}/com'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
814 localstatedir='${prefix}/var'
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
815 runstatedir='${localstatedir}/run'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
816 includedir='${prefix}/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
817 oldincludedir='/usr/include'
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
819 infodir='${datarootdir}/info'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
820 htmldir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
821 dvidir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
822 pdfdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
823 psdir='${docdir}'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
824 libdir='${exec_prefix}/lib'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
825 localedir='${datarootdir}/locale'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
826 mandir='${datarootdir}/man'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
827
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
828 ac_prev=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
829 ac_dashdash=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
830 for ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
831 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
832 # If the previous option needs an argument, assign it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
833 if test -n "$ac_prev"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
834 eval $ac_prev=\$ac_option
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
835 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
836 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
837 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
838
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
839 case $ac_option in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
840 *=?*) 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
841 *=) ac_optarg= ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
842 *) ac_optarg=yes ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
843 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
844
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
845 # Accept the important Cygnus configure options, so we can diagnose typos.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
846
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
847 case $ac_dashdash$ac_option in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
848 --)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
849 ac_dashdash=yes ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
850
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
852 ac_prev=bindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
854 bindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
855
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
856 -build | --build | --buil | --bui | --bu)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
857 ac_prev=build_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
859 build_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
860
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
861 -cache-file | --cache-file | --cache-fil | --cache-fi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
863 ac_prev=cache_file ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
866 cache_file=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
867
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
868 --config-cache | -C)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
869 cache_file=config.cache ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
870
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
871 -datadir | --datadir | --datadi | --datad)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
872 ac_prev=datadir ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
874 datadir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
875
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
877 | --dataroo | --dataro | --datar)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
878 ac_prev=datarootdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
881 datarootdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
882
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
883 -disable-* | --disable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
884 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
885 # 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
886 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
887 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
888 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
889 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
890 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
891 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
892 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
893 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
894 *) 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
895 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
896 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
897 eval enable_$ac_useropt=no ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
898
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
899 -docdir | --docdir | --docdi | --doc | --do)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
900 ac_prev=docdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
902 docdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
903
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
905 ac_prev=dvidir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
907 dvidir=$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
908
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
909 -enable-* | --enable-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
911 # 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
912 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
913 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
914 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
915 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
916 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
917 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
918 "enable_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
919 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
920 *) 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
921 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
922 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
923 eval enable_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
924
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
926 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
927 | --exec | --exe | --ex)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
928 ac_prev=exec_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
929 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
930 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
931 | --exec=* | --exe=* | --ex=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
932 exec_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
933
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
934 -gas | --gas | --ga | --g)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
935 # Obsolete; use --with-gas.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
936 with_gas=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
937
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
938 -help | --help | --hel | --he | -h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
939 ac_init_help=long ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
940 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
941 ac_init_help=recursive ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
942 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
943 ac_init_help=short ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
944
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
945 -host | --host | --hos | --ho)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
946 ac_prev=host_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
947 -host=* | --host=* | --hos=* | --ho=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
948 host_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
949
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
951 ac_prev=htmldir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
953 | --ht=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
954 htmldir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
955
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
956 -includedir | --includedir | --includedi | --included | --include \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
957 | --includ | --inclu | --incl | --inc)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
958 ac_prev=includedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
959 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
960 | --includ=* | --inclu=* | --incl=* | --inc=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
961 includedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
962
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
963 -infodir | --infodir | --infodi | --infod | --info | --inf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
964 ac_prev=infodir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
965 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
966 infodir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
967
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
968 -libdir | --libdir | --libdi | --libd)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
969 ac_prev=libdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
970 -libdir=* | --libdir=* | --libdi=* | --libd=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
971 libdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
972
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
973 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
974 | --libexe | --libex | --libe)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
975 ac_prev=libexecdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
976 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
977 | --libexe=* | --libex=* | --libe=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
978 libexecdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
979
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
980 -localedir | --localedir | --localedi | --localed | --locale)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
981 ac_prev=localedir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
983 localedir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
984
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
985 -localstatedir | --localstatedir | --localstatedi | --localstated \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
986 | --localstate | --localstat | --localsta | --localst | --locals)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
987 ac_prev=localstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
990 localstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
991
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
992 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
993 ac_prev=mandir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
994 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
995 mandir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
996
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
997 -nfp | --nfp | --nf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
998 # Obsolete; use --without-fp.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
999 with_fp=no ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1000
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1001 -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
1002 | --no-cr | --no-c | -n)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1003 no_create=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1004
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1005 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1006 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1007 no_recursion=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1008
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1009 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1010 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1011 | --oldin | --oldi | --old | --ol | --o)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1012 ac_prev=oldincludedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1013 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1014 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1015 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1016 oldincludedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1017
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1018 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1019 ac_prev=prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1020 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1021 prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1022
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1023 -program-prefix | --program-prefix | --program-prefi | --program-pref \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1024 | --program-pre | --program-pr | --program-p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1025 ac_prev=program_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1026 -program-prefix=* | --program-prefix=* | --program-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1027 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1028 program_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1029
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1030 -program-suffix | --program-suffix | --program-suffi | --program-suff \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1031 | --program-suf | --program-su | --program-s)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1032 ac_prev=program_suffix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1033 -program-suffix=* | --program-suffix=* | --program-suffi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1034 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1035 program_suffix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1036
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1037 -program-transform-name | --program-transform-name \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1038 | --program-transform-nam | --program-transform-na \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1039 | --program-transform-n | --program-transform- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1040 | --program-transform | --program-transfor \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1041 | --program-transfo | --program-transf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1042 | --program-trans | --program-tran \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1043 | --progr-tra | --program-tr | --program-t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1044 ac_prev=program_transform_name ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1045 -program-transform-name=* | --program-transform-name=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1046 | --program-transform-nam=* | --program-transform-na=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1047 | --program-transform-n=* | --program-transform-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1048 | --program-transform=* | --program-transfor=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1049 | --program-transfo=* | --program-transf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1050 | --program-trans=* | --program-tran=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1051 | --progr-tra=* | --program-tr=* | --program-t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1052 program_transform_name=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1053
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1055 ac_prev=pdfdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1057 pdfdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1058
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1059 -psdir | --psdir | --psdi | --psd | --ps)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1060 ac_prev=psdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1062 psdir=$ac_optarg ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1063
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1065 | -silent | --silent | --silen | --sile | --sil)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1066 silent=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1067
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1068 -runstatedir | --runstatedir | --runstatedi | --runstated \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1069 | --runstate | --runstat | --runsta | --runst | --runs \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1070 | --run | --ru | --r)
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1071 ac_prev=runstatedir ;;
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1072 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1073 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1074 | --run=* | --ru=* | --r=*)
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1075 runstatedir=$ac_optarg ;;
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1076
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1077 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1078 ac_prev=sbindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1079 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1080 | --sbi=* | --sb=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1081 sbindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1082
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1083 -sharedstatedir | --sharedstatedir | --sharedstatedi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1084 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1085 | --sharedst | --shareds | --shared | --share | --shar \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1086 | --sha | --sh)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1087 ac_prev=sharedstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1088 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1089 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1090 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1091 | --sha=* | --sh=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1092 sharedstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1093
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1094 -site | --site | --sit)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1095 ac_prev=site ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1096 -site=* | --site=* | --sit=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1097 site=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1098
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1099 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1100 ac_prev=srcdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1101 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1102 srcdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1103
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1104 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1105 | --syscon | --sysco | --sysc | --sys | --sy)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1106 ac_prev=sysconfdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1107 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1108 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1109 sysconfdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1110
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1111 -target | --target | --targe | --targ | --tar | --ta | --t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1112 ac_prev=target_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1113 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1114 target_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1115
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1116 -v | -verbose | --verbose | --verbos | --verbo | --verb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1117 verbose=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1118
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1119 -version | --version | --versio | --versi | --vers | -V)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1120 ac_init_version=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1121
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1122 -with-* | --with-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1123 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1124 # 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
1125 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
1126 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
1127 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1128 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
1129 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1130 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1131 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1132 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1133 *) 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
1134 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1135 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1136 eval with_$ac_useropt=\$ac_optarg ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1137
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1138 -without-* | --without-*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1139 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1140 # 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
1141 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
1142 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
1143 ac_useropt_orig=$ac_useropt
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1144 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
1145 case $ac_user_opts in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1146 *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1147 "with_$ac_useropt"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1148 "*) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1149 *) 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
1150 ac_unrecognized_sep=', ';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1151 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1152 eval with_$ac_useropt=no ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1153
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1154 --x)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1155 # Obsolete; use --with-x.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1156 with_x=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1157
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1158 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1159 | --x-incl | --x-inc | --x-in | --x-i)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1160 ac_prev=x_includes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1161 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1162 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1163 x_includes=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1164
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1165 -x-libraries | --x-libraries | --x-librarie | --x-librari \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1166 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1167 ac_prev=x_libraries ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1168 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1170 x_libraries=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1171
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1172 -*) 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
1173 Try \`$0 --help' for more information"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1174 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1175
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1176 *=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1177 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1178 # 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
1179 case $ac_envvar in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1180 '' | [0-9]* | *[!_$as_cr_alnum]* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1181 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
1182 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1183 eval $ac_envvar=\$ac_optarg
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1184 export $ac_envvar ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1185
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1186 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1187 # 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
1188 $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
1189 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
1190 $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
1191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1192 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1193
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1194 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1195 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1196
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1197 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1198 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
1199 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
1200 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1201
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1202 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
1203 case $enable_option_checking in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1204 no) ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1205 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
1206 *) $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
1207 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1208 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1209
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1210 # Check all directory arguments for consistency.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1211 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
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1214 libdir localedir mandir runstatedir
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1215 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1216 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
1217 # Remove trailing slashes.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1218 case $ac_val in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1219 */ )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1220 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
1221 eval $ac_var=\$ac_val;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1222 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1223 # 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
1224 case $ac_val in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1225 [\\/$]* | ?:[\\/]* ) continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1226 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
1227 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1228 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1229 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1230
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1231 # There might be people who depend on the old broken behavior: `$host'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1232 # 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
1233 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1234 build=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1235 host=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1236 target=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1237
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1238 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1239 if test "x$host_alias" != x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1240 if test "x$build_alias" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1241 cross_compiling=maybe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1242 elif test "x$build_alias" != "x$host_alias"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1243 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1244 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1245 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1246
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1247 ac_tool_prefix=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1249
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1250 test "$silent" = yes && exec 6>/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1251
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1252
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1254 ac_ls_di=`ls -di .` &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1255 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
1256 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
1257 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
1258 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
1259
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1260
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1261 # Find the source files, if location was not specified.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1262 if test -z "$srcdir"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1263 ac_srcdir_defaulted=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1264 # 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
1265 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
1266 $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
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1268 X"$as_myself" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1270 $as_echo X"$as_myself" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1271 sed '/^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 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1276 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1277 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1278 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1279 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1280 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1281 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1282 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1283 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1284 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1285 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1286 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1287 s/.*/./; q'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1288 srcdir=$ac_confdir
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1289 if test ! -r "$srcdir/$ac_unique_file"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1290 srcdir=..
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1291 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1292 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1293 ac_srcdir_defaulted=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1294 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1295 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
1296 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
1297 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
1298 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1299 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
1300 ac_abs_confdir=`(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1301 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
1302 pwd)`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1303 # When building in place, set srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1304 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
1305 srcdir=.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1306 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1307 # Remove unnecessary trailing slashes from srcdir.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1308 # 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
1309 # mess up M-x gdb in Emacs.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1310 case $srcdir in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1311 */) 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
1312 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1313 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
1314 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
1315 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
1316 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
1317 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
1318 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1319
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1320 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1321 # Report the --help message.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1322 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1323 if test "$ac_init_help" = "long"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1324 # Omit some internal or obsolete options to make the list less imposing.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1325 # 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
1326 cat <<_ACEOF
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1327 \`configure' configures dwindows 3.2 to adapt to many kinds of systems.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1328
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1330
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1333
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1334 Defaults for the options are specified in brackets.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1335
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1336 Configuration:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1337 -h, --help display this help and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1338 --help=short display options specific to this package
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1339 --help=recursive display the short help of all the included packages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1340 -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
1341 -q, --quiet, --silent do not print \`checking ...' messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1342 --cache-file=FILE cache test results in FILE [disabled]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1343 -C, --config-cache alias for \`--cache-file=config.cache'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1344 -n, --no-create do not create output files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1346
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1347 Installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1348 --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
1349 [$ac_default_prefix]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1350 --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
1351 [PREFIX]
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1352
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1353 By default, \`make install' will install all the files in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1356 for instance \`--prefix=\$HOME'.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1357
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1358 For better control, use the options below.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1359
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1360 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
1361 --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
1362 --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
1363 --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
1364 --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
1365 --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
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1367 --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
1368 --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
1369 --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
1370 --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
1371 --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
1372 --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
1373 --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
1374 --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
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/dwindows]
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1377 --htmldir=DIR html documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1378 --dvidir=DIR dvi documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1379 --pdfdir=DIR pdf documentation [DOCDIR]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1380 --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
1381 _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
1382
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1383 cat <<\_ACEOF
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1384
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
1385 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
1386 --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
1387 --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
1388
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1389 System types:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
1390 --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
1391 --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
1392 --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
1393 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1394 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1395
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1396 if test -n "$ac_init_help"; then
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1397 case $ac_init_help in
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1398 short | recursive ) echo "Configuration of dwindows 3.2:";;
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1399 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
1400 cat <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1401
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1402 Optional Features:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1403 --disable-option-checking ignore unrecognized --enable/--with options
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1404 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1405 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1406 --disable-glibtest Do not try to compile and run a test GLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1407 --disable-gtktest Do not try to compile and run a test GTK program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1408 --disable-imlibtest Do not try to compile and run a test IMLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1409
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1410 Optional Packages:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1411 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1412 --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
1413 --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
1414 --with-gtk2 specify this to build with GTK+ 2.x if available
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
1415 --with-gtk4 specify this to build with GTK+ 4.x if available
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
1416 --with-deprecated specify this to build with deprecated functions
2217
6cdb907755cb Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2204
diff changeset
1417 --with-arch specify MacOS architecture: one of modern, classic, 32bit, intel, arm, powerpc
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
1418 --with-sdk specify this to build with an alternate MacOS SDK location
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
1419 --with-minver specify this to build with a minimum MacOS version
2061
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
1420 --with-x use the X Window System
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1421 --with-glib-prefix=PFX Prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1422 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1423 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1424 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1425 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1426 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1427
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1428 Some influential environment variables:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1429 CC C compiler command
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1430 CFLAGS C compiler flags
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1431 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1432 nonstandard directory <lib dir>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1433 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
1434 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
1435 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
1436 CXX C++ compiler command
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1437 CXXFLAGS C++ compiler flags
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1438 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
1439 XMKMF Path to xmkmf, Makefile generator for X Window System
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1440 PKG_CONFIG path to pkg-config utility
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1441 PKG_CONFIG_PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1442 directories to add to pkg-config's search path
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1443 PKG_CONFIG_LIBDIR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1444 path overriding pkg-config's built-in search path
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1445 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
1446 GLIB_LIBS linker flags for GLIB, overriding pkg-config
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1447
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1448 Use these variables to override the choices made by `configure' or to help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1449 it to find libraries and programs with nonstandard names/locations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1450
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1451 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
1452 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1453 ac_status=$?
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1454 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1455
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1456 if test "$ac_init_help" = "recursive"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1457 # 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
1458 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
1459 test -d "$ac_dir" ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1460 { 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
1461 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
1462 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
1463
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1464 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1465 .) 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
1466 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1467 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
1468 # 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
1469 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
1470 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1471 "") 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
1472 *) 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
1473 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1474 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1475 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1476 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
1477 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1478 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
1479
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1480 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1481 .) # 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
1482 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1483 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1484 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1485 [\\/]* | ?:[\\/]* ) # 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
1486 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1487 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1488 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1489 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1490 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
1491 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
1492 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
1493 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1494 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
1495
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1496 cd "$ac_dir" || { ac_status=$?; continue; }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1497 # Check for guested configure.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1498 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
1499 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1500 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1501 elif test -f "$ac_srcdir/configure"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1502 echo &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1503 $SHELL "$ac_srcdir/configure" --help=recursive
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1504 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1505 $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
1506 fi || ac_status=$?
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1507 cd "$ac_pwd" || { ac_status=$?; break; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1508 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1509 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1510
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1511 test -n "$ac_init_help" && exit $ac_status
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1512 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
1513 cat <<\_ACEOF
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1514 dwindows configure 3.2
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1515 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
1516
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1517 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1518 This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1519 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
1520 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1521 exit
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1522 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1523
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1524 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1525 ## Autoconf initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1526 ## ------------------------ ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1527
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1528 # 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
1529 # --------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1530 # 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
1531 ac_fn_c_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1532 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1533 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
1534 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1535 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1536 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1538 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1539 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1540 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
1541 $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
1542 (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
1543 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1544 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
1545 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
1546 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1547 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
1548 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1549 $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
1550 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1551 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
1552 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1553 } && 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
1554 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1555 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1556 $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
1557 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
1558
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1559 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1560 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1561 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
1562 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
1563
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1564 } # ac_fn_c_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1565
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1566 # 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
1567 # ----------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1568 # 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
1569 ac_fn_cxx_try_compile ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1570 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1571 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
1572 rm -f conftest.$ac_objext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1573 if { { ac_try="$ac_compile"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1574 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1576 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1577 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1578 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
1579 $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
1580 (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
1581 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1582 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
1583 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
1584 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1585 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
1586 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1587 $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
1588 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1589 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
1590 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1591 } && 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
1592 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1593 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1594 $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
1595 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
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1597 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1598 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1599 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
1600 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
1601
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1602 } # ac_fn_cxx_try_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1603
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1604 # ac_fn_c_try_cpp LINENO
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1605 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1606 # 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
1607 ac_fn_c_try_cpp ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1608 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1609 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
1610 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
1611 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1613 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1614 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1615 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
1616 $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
1617 (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
1618 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1619 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
1620 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
1621 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1622 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
1623 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1624 $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
1625 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
1626 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
1627 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1628 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1629 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1630 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1631 $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
1632 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
1633
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1634 ac_retval=1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1635 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1636 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
1637 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
1638
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1639 } # ac_fn_c_try_cpp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1640
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1641 # 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
1642 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1643 # 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
1644 # that executables *can* be run.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1645 ac_fn_c_try_run ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1646 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1647 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
1648 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1649 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1651 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1652 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1653 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
1654 $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
1655 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1656 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1657 $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
1658 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
1659 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1661 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1662 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1663 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
1664 $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
1665 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1666 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1667 $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
1668 test $ac_status = 0; }; }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1669 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1670 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1671 $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
1672 $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
1673 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
1674
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1675 ac_retval=$ac_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1676 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1677 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
1678 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
1679 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
1680
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1681 } # ac_fn_c_try_run
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1682
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1683 # 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
1684 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1685 # 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
1686 ac_fn_c_try_link ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1687 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1688 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
1689 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
1690 if { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1691 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1693 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1694 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1695 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
1696 $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
1697 (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
1698 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1699 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
1700 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
1701 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1702 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
1703 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1704 $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
1705 test $ac_status = 0; } && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1706 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
1707 test ! -s conftest.err
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1708 } && test -s conftest$ac_exeext && {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1709 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
1710 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
1711 }; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1712 ac_retval=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1713 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1714 $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
1715 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
1716
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1717 ac_retval=1
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 # 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
1720 # 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
1721 # 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
1722 # 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
1723 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
1724 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
1725 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
1726
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1727 } # ac_fn_c_try_link
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1728
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1729 # 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
1730 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1731 # 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
1732 # 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
1733 # accordingly.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1734 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
1735 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1736 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
1737 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1738 { $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
1739 $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
1740 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1741 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1742 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1743 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1744 { $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
1745 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1746 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1747 # Is the header compilable?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1749 $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
1750 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
1751 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1752 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1753 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1754 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1755 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
1756 ac_header_compiler=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1757 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1758 ac_header_compiler=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1759 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1760 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
1761 { $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
1762 $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
1763
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1764 # Is the header present?
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}: checking $2 presence" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1766 $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
1767 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
1768 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1769 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1770 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1771 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
1772 ac_header_preproc=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1773 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1774 ac_header_preproc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1775 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1776 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
1777 { $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
1778 $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
1779
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1780 # So? What about this header?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1781 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
1782 yes:no: )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1783 { $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
1784 $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
1785 { $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
1786 $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
1787 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1788 no:yes:* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1789 { $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
1790 $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
1791 { $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
1792 $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
1793 { $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
1794 $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
1795 { $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
1796 $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
1797 { $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
1798 $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
1799 ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1800 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1801 { $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
1802 $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
1803 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1804 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1805 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1806 eval "$3=\$ac_header_compiler"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1807 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1808 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1809 { $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
1810 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1811 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1812 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
1813
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1814 } # 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
1815
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1816 # 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
1817 # -------------------------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1818 # 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
1819 # 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
1820 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
1821 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1822 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
1823 { $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
1824 $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
1825 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1826 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1827 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1828 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
1829 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1830 $4
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1831 #include <$2>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1832 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1833 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
1834 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1835 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1836 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1837 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1838 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
1839 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1840 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1841 { $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
1842 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1843 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
1844
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1845 } # 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
1846
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1847 # 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
1848 # ----------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1849 # 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
1850 ac_fn_c_check_func ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1851 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1852 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
1853 { $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
1854 $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
1855 if eval \${$3+:} false; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1856 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1857 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1858 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
1859 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1860 /* 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
1861 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
1862 #define $2 innocuous_$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1863
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1864 /* 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
1865 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
1866 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
1867 <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
1868
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1869 #ifdef __STDC__
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1870 # include <limits.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1871 #else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1872 # include <assert.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1873 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1874
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1875 #undef $2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1876
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1877 /* 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
1878 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
1879 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
1880 #ifdef __cplusplus
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1881 extern "C"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1882 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1883 char $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1884 /* 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
1885 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
1886 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
1887 #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
1888 choke me
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1889 #endif
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1890
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1891 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1892 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1893 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1894 return $2 ();
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1895 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1896 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1897 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1898 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1899 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
1900 eval "$3=yes"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1901 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1902 eval "$3=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1903 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1904 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
1905 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
1906 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1907 eval ac_res=\$$3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1908 { $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
1909 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1910 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
1911
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1912 } # ac_fn_c_check_func
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1913 cat >config.log <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1914 This file contains any messages produced by compilers while
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1915 running configure, to aid debugging if configure makes a mistake.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1916
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
1917 It was created by dwindows $as_me 3.2, which was
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
1918 generated by GNU Autoconf 2.69. Invocation command line was
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1919
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1920 $ $0 $@
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1921
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1922 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1923 exec 5>>config.log
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1924 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1925 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
1926 ## --------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1927 ## 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
1928 ## --------- ##
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1929
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1930 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1931 uname -m = `(uname -m) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1932 uname -r = `(uname -r) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1933 uname -s = `(uname -s) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1934 uname -v = `(uname -v) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1935
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1936 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1937 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1938
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1939 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1940 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1941 /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
1942 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1943 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1944 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1945 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1946
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1947 _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
1948
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1949 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
1950 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
1951 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
1952 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
1953 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
1954 $as_echo "PATH: $as_dir"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1955 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1956 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
1957
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1958 } >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1959
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1960 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
1961
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1962
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1963 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1964 ## 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
1965 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1966
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1967 _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
1968
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1969
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1970 # Keep a trace of the command line.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1971 # 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
1972 # Strip out --silent because we don't want to record it for future runs.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1973 # 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
1974 # Make two passes to allow for proper duplicate-argument suppression.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1975 ac_configure_args=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1976 ac_configure_args0=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1977 ac_configure_args1=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1978 ac_must_keep_next=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1979 for ac_pass in 1 2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1980 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1981 for ac_arg
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1982 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1983 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1984 -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
1985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1986 | -silent | --silent | --silen | --sile | --sil)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1987 continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1988 *\'*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1989 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
1990 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1991 case $ac_pass in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1992 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
1993 2)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
1994 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
1995 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
1996 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
1997 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1998 case $ac_arg in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
1999 *=* | --config-cache | -C | -disable-* | --disable-* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2000 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2001 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2002 | -with-* | --with-* | -without-* | --without-* | --x)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2003 case "$ac_configure_args0 " in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2004 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2005 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2006 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2007 -* ) ac_must_keep_next=true ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2008 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2009 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2010 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
2011 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2012 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2013 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2014 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2015 { 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
2016 { ac_configure_args1=; unset ac_configure_args1;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2017
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2018 # When interrupted or exit'd, cleanup temporary files, and complete
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2019 # config.log. We remove comments because anyway the quotes in there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2020 # would cause problems or look ugly.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2021 # 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
2022 # 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
2023 trap 'exit_status=$?
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2024 # 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
2025 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2026 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2027
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2028 $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
2029 ## Cache variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2030 ## ---------------- ##"
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2031 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
2032 # 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
2033 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2034 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
2035 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2036 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2037 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2038 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2039 *_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
2040 $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
2041 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2042 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2043 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2044 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
2045 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2046 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2047 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2048 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2049 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2050 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
2051 *${as_nl}ac_space=\ *)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2052 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2053 "s/'\''/'\''\\\\'\'''\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2054 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
2055 ;; #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2056 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2057 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2058 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2059 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2060 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2061 )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2062 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2063
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2064 $as_echo "## ----------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2065 ## Output variables. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2066 ## ----------------- ##"
622
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 for ac_var in $ac_subst_vars
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2069 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2070 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2071 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2072 *\'\''*) 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
2073 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2074 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2075 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
2076 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2077
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2078 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
2079 $as_echo "## ------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2080 ## File substitutions. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2081 ## ------------------- ##"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2082 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2083 for ac_var in $ac_subst_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2084 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2085 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2086 case $ac_val in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2087 *\'\''*) 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
2088 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2089 $as_echo "$ac_var='\''$ac_val'\''"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2090 done | sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2091 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2092 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2093
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2094 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
2095 $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
2096 ## confdefs.h. ##
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2097 ## ----------- ##"
120
7d2108cbcd3e Porting DW 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 echo
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2099 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
2100 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
2101 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
2102 test "$ac_signal" != 0 &&
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2103 $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
2104 $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
2105 } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2106 rm -f core *.core core.conftest.* &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2107 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2108 exit $exit_status
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2109 ' 0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2110 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
2111 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2112 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2113 ac_signal=0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2114
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2115 # 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
2116 rm -f -r conftest* confdefs.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2117
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2118 $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
2119
120
7d2108cbcd3e Porting DW 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 # 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
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 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
2123 #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
2124 _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
2125
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2126 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
2127 #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
2128 _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
2129
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2130 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
2131 #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
2132 _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
2133
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2134 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
2135 #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
2136 _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
2137
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2138 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2139 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2140 _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
2141
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2142 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2143 #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
2144 _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
2145
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2146
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2147 # 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
2148 # 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
2149 ac_site_file1=NONE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2150 ac_site_file2=NONE
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2151 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
2152 # 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
2153 case $CONFIG_SITE in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2154 -*) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2155 */*) ac_site_file1=$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2156 *) ac_site_file1=./$CONFIG_SITE;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2157 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2158 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
2159 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
2160 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
2161 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2162 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
2163 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
2164 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2165 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
2166 do
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2167 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
2168 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
2169 { $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
2170 $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
2171 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
2172 . "$ac_site_file" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2173 || { { $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
2174 $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
2175 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
2176 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2177 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2178 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2179
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2180 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
2181 # 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
2182 # 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
2183 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
2184 { $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
2185 $as_echo "$as_me: loading cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2186 case $cache_file in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2187 [\\/]* | ?:[\\/]* ) . "$cache_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2188 *) . "./$cache_file";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2189 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2190 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2191 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2192 { $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
2193 $as_echo "$as_me: creating cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2194 >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2195 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2196
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2197 # Check that the precious variables saved in the cache have kept the same
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2198 # value.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2199 ac_cache_corrupted=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2200 for ac_var in $ac_precious_vars; do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2201 eval ac_old_set=\$ac_cv_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2202 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
2203 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
2204 eval ac_new_val=\$ac_env_${ac_var}_value
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2205 case $ac_old_set,$ac_new_set in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2206 set,)
1596
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}: 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
2208 $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
2209 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2210 ,set)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2211 { $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
2212 $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
2213 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2214 ,);;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2215 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2216 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
2217 # 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
2218 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
2219 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
2220 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
2221 { $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
2222 $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
2223 ac_cache_corrupted=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2224 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2225 { $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
2226 $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
2227 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
2228 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2229 { $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
2230 $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
2231 { $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
2232 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2233 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2234 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
2235 # 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
2236 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
2237 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
2238 *\'*) 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
2239 *) 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
2240 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
2241 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
2242 *" '$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
2243 *) 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
2244 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2245 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2246 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2247 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
2248 { $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
2249 $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
2250 { $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
2251 $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
2252 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
2253 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2254 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2255 ## Main body of script. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2256 ## -------------------- ##
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2257
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2258 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2259 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2263
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2264
2160
07f1366a724c Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2130
diff changeset
2265 ac_config_headers="$ac_config_headers dwconfig.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2266
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2267
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
2268 TARGET="dwindows"
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2269 TARGET2="dwcompat"
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2270
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2271
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
2272
1109
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2273
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
2274
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
2275 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
2276 DW_SRC=dw.c
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
2277 DW_DEFINE=__UNIX__
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2278 SHAREDFLAG=-shared
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
2279 SOSUFFIX=so
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2280 LIBSUFFIX=a
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
2281 LIBPREFIX=lib
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
2282 INSTALL_TEST="installdwtest"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2283 INCLUDES="-I."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2284
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2285 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2286 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2290 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2291 # 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
2292 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
2293 { $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
2294 $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
2295 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
2296 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2297 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2298 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2299 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2300 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
2301 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
2302 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
2303 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
2304 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
2305 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
2306 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
2307 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
2308 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
2309 $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
2310 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
2311 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
2312 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2313 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2314 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2315
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2316 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2317 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2318 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2319 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
2320 { $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
2321 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2322 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2323 { $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
2324 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2325 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2326
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2327
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2328 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2329 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2330 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2331 # Extract the first word of "gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2332 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
2333 { $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
2334 $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
2335 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
2336 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2337 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2338 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2340 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
2341 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
2342 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
2343 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
2344 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
2345 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
2346 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
2347 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
2348 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
2349 $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
2350 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
2351 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
2352 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2353 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2354 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2355
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2356 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2357 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2358 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2359 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
2360 { $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
2361 $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
2362 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2363 { $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
2364 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2365 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2366
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2367 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
2368 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2369 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2370 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2371 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2372 { $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
2373 $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
2374 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2375 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2376 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2377 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2378 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2379 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2380 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2381
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2382 if test -z "$CC"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2383 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2384 # 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
2385 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
2386 { $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
2387 $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
2388 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
2389 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2390 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2391 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2392 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2393 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
2394 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
2395 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
2396 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
2397 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
2398 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
2399 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
2400 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
2401 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
2402 $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
2403 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
2404 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
2405 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2406 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2407 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2408
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2409 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2410 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2411 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2412 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
2413 { $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
2414 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2415 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2416 { $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
2417 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2418 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2419
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2420
120
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2422 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2423 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2424 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2425 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
2426 { $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
2427 $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
2428 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
2429 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2430 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2431 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2432 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2433 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2434 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
2435 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
2436 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
2437 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
2438 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
2439 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
2440 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
2441 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
2442 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
2443 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
2444 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
2445 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
2446 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
2447 $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
2448 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
2449 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
2450 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2451 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2452 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2453
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2454 if test $ac_prog_rejected = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2455 # We found a bogon in the path, so make sure we never use it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2456 set dummy $ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2457 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2458 if test $# != 0; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2459 # We chose a different compiler from the bogus one.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2460 # However, it has the same basename, so the bogon will be chosen
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2461 # first if we set CC to just the basename; use the full file name.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2462 shift
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2463 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2464 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2465 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2466 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2467 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2468 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2469 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
2470 { $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
2471 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2472 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2473 { $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
2474 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2475 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2476
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2477
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2478 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2479 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2480 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
2481 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2482 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2483 # 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
2484 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
2485 { $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
2486 $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
2487 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
2488 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2489 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2490 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2491 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2492 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
2493 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
2494 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
2495 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
2496 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
2497 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
2498 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
2499 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
2500 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
2501 $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
2502 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
2503 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
2504 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2505 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2506 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2507
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2508 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2509 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2510 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2511 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
2512 { $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
2513 $as_echo "$CC" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2514 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2515 { $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
2516 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2517 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2518
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2519
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2520 test -n "$CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2521 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2522 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2523 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2524 ac_ct_CC=$CC
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2525 for ac_prog in cl.exe
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2526 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2527 # 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
2528 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
2529 { $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
2530 $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
2531 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
2532 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2533 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2534 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2536 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
2537 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
2538 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
2539 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
2540 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
2541 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
2542 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
2543 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
2544 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
2545 $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
2546 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
2547 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
2548 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2549 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2550 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2551
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2552 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2553 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2555 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
2556 { $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
2557 $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
2558 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2559 { $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
2560 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2561 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2562
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2563
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2564 test -n "$ac_ct_CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2565 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2566
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2567 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
2568 CC=""
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2569 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2570 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2571 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2572 { $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
2573 $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
2574 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2575 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2576 CC=$ac_ct_CC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2577 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2578 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2579
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2580 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2581
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2582
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2583 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
2584 $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
2585 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
2586 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2587
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2588 # 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
2589 $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
2590 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2591 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2592 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
2593 { { 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
2594 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2596 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2597 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2598 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
2599 $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
2600 (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
2601 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2602 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
2603 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2604 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2605 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2606 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2607 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2608 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
2609 $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
2610 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2611 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2612
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2613 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
2614 /* 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
2615
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2616 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2617 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2618 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2619
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2620 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2621 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2622 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2623 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2624 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
2625 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
2626 # 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
2627 # It will help us diagnose broken compilers, and finding out an intuition
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2628 # of exeext.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2629 { $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
2630 $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
2631 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
2632
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2633 # The possible output files:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2634 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
2635
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2636 ac_rmfiles=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2637 for ac_file in $ac_files
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2638 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2639 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2640 *.$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
2641 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2642 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2643 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2644 rm -f $ac_rmfiles
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2645
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2646 if { { ac_try="$ac_link_default"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2647 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2649 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2650 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2651 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
2652 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2653 (eval "$ac_link_default") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2654 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2655 $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
2656 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2657 # 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
2658 # 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
2659 # 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
2660 # 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
2661 # Autoconf.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2662 for ac_file in $ac_files ''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2663 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2664 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2665 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2666 *.$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
2667 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2668 [ab].out )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2669 # 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
2670 # certainly right.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2671 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2672 *.* )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2673 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
2674 then :; else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2675 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2676 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2677 # 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
2678 # 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
2679 # 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
2680 # 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
2681 # actually working.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2682 break;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2683 * )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2684 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2685 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2686 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2687 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
2688
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2689 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2690 ac_file=''
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2691 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2692 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
2693 { $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
2694 $as_echo "no" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2695 $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
2696 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2697
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2698 { { $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
2699 $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
2700 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
2701 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
2702 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2703 { $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
2704 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2705 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
2707 $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
2708 { $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
2709 $as_echo "$ac_file" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2710 ac_exeext=$ac_cv_exeext
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2711
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2712 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
2713 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
2714 { $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
2715 $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
2716 if { { ac_try="$ac_link"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2717 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2719 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2720 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2721 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
2722 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2723 (eval "$ac_link") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2724 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2725 $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
2726 test $ac_status = 0; }; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2727 # If both `conftest.exe' and `conftest' are `present' (well, observable)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2728 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2729 # work properly (i.e., refer to `conftest.exe'), while it won't with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2730 # `rm'.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2731 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
2732 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2733 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2735 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2736 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2737 * ) break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2738 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2739 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2740 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2741 { { $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
2742 $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
2743 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
2744 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
2745 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2746 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
2747 { $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
2748 $as_echo "$ac_cv_exeext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2749
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2750 rm -f conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2751 EXEEXT=$ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2752 ac_exeext=$EXEEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2753 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
2754 /* end confdefs.h. */
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2755 #include <stdio.h>
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2756 int
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2757 main ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2758 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2759 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
2760 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
2761
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2762 ;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2763 return 0;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2764 }
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
2765 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2766 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
2767 # 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
2768 # 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
2769 { $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
2770 $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
2771 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
2772 { { ac_try="$ac_link"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2773 case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2775 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2776 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2777 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
2778 $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
2779 (eval "$ac_link") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2780 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2781 $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
2782 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2783 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
2784 { { case "(($ac_try" in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2786 *) ac_try_echo=$ac_try;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2787 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2788 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
2789 $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
2790 (eval "$ac_try") 2>&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2791 ac_status=$?
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2792 $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
2793 test $ac_status = 0; }; }; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2794 cross_compiling=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2795 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2796 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
2797 cross_compiling=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2798 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2799 { { $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
2800 $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
2801 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
2802 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
2803 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
2804 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2805 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2806 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2807 { $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
2808 $as_echo "$cross_compiling" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2809
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2810 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
2811 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
2812 { $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
2813 $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
2814 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
2815 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2816 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2817 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
2818 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2819
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2820 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2821 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2822 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2823
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2824 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2825 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2826 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2827 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2828 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
2829 if { { ac_try="$ac_compile"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2830 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2832 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2833 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2834 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
2835 $as_echo "$ac_try_echo"; } >&5
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2836 (eval "$ac_compile") 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2837 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2838 $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
2839 test $ac_status = 0; }; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2840 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
2841 test -f "$ac_file" || continue;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2842 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2843 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2844 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2845 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2846 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2847 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2848 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2849 $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
2850 sed 's/^/| /' conftest.$ac_ext >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2851
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2852 { { $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
2853 $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
2854 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
2855 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
2856 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2857 rm -f conftest.$ac_cv_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2858 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2859 { $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
2860 $as_echo "$ac_cv_objext" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2861 OBJEXT=$ac_cv_objext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2862 ac_objext=$OBJEXT
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2863 { $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
2864 $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
2865 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
2866 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2867 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2868 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
2869 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2870
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2871 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2872 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2873 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2874 #ifndef __GNUC__
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2875 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2876 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2877
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2878 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2879 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2880 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2881 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2882 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2883 ac_compiler_gnu=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2884 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2885 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2886 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2888 ac_cv_c_compiler_gnu=$ac_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2889
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2890 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2891 { $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
2892 $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
2893 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
2894 GCC=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2895 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2896 GCC=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2897 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2898 ac_test_CFLAGS=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2899 ac_save_CFLAGS=$CFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2900 { $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
2901 $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
2902 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
2903 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2904 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2905 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
2906 ac_c_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2907 ac_cv_prog_cc_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2908 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2909 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
2910 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2911
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2912 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2913 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2914 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2915
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2916 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2917 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2918 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2919 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2920 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2921 ac_cv_prog_cc_g=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2922 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2923 CFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2924 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
2925 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2926
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2927 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2928 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2929 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2930
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2931 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2932 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2933 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2934 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2935 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
2936
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2937 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2938 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
2939 CFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2940 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
2941 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2942
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2943 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2944 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2945 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2946
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2947 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2948 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2949 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2950 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2951 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
2952 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
2953 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2954 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
2955 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2956 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
2957 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2958 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
2959 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
2960 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2961 { $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
2962 $as_echo "$ac_cv_prog_cc_g" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2963 if test "$ac_test_CFLAGS" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2964 CFLAGS=$ac_save_CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2965 elif test $ac_cv_prog_cc_g = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2966 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2967 CFLAGS="-g -O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2968 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2969 CFLAGS="-g"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2970 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2971 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2972 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2973 CFLAGS="-O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2974 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2975 CFLAGS=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2976 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2977 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2978 { $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
2979 $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
2980 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
2981 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2982 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2983 ac_cv_prog_cc_c89=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2984 ac_save_CC=$CC
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
2985 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
2986 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2987 #include <stdarg.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2988 #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
2989 struct stat;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2990 /* 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
2991 struct buf { int x; };
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2993 static char *e (p, i)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2994 char **p;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2995 int i;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2996 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
2997 return p[i];
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 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
3000 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3001 char *s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3002 va_list v;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3003 va_start (v,p);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3004 s = g (p, va_arg (v,int));
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3005 va_end (v);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3006 return s;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3007 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3008
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3009 /* 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
3010 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
3011 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
3012 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
3013 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
3014 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
3015 that's true only with -std. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3016 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
3017
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3018 /* 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
3019 inside strings and character constants. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3020 #define FOO(x) 'x'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3021 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
3022
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3023 int test (int i, double x);
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3024 struct s1 {int (*f) (int a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3025 struct s2 {int (*f) (double a);};
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3026 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
3027 int argc;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3028 char **argv;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3029 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3030 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3031 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3032 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
3033 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3034 return 0;
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 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3037 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
3038 -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
3039 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3040 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
3041 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
3042 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
3043 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3044 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
3045 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
3046 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3047 rm -f conftest.$ac_ext
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3048 CC=$ac_save_CC
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 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3051 # AC_CACHE_VAL
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3052 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
3053 x)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3054 { $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
3055 $as_echo "none needed" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3056 xno)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3057 { $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
3058 $as_echo "unsupported" >&6; } ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3059 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3060 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
3061 { $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
3062 $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
3063 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3064 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
3065
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3066 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3067
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3068 ac_ext=c
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3069 ac_cpp='$CPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3070 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
3071 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
3072 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
3073
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3074 ac_ext=cpp
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3075 ac_cpp='$CXXCPP $CPPFLAGS'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3076 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
3077 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
3078 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
3079 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3080 if test -n "$CCC"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3081 CXX=$CCC
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3082 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3083 if test -n "$ac_tool_prefix"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3084 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
3085 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3086 # 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
3087 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
3088 { $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
3089 $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
3090 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
3091 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3092 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3093 if test -n "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3094 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
3095 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3097 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3098 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3099 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3100 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
3101 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
3102 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
3103 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
3104 $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
3105 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3106 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3107 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3108 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3109 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3110
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3111 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3112 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3113 CXX=$ac_cv_prog_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3114 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
3115 { $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
3116 $as_echo "$CXX" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3117 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3118 { $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
3119 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3120 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3121
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3122
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3123 test -n "$CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3124 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3125 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3126 if test -z "$CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3127 ac_ct_CXX=$CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3128 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
3129 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3130 # 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
3131 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
3132 { $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
3133 $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
3134 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
3135 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3136 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3137 if test -n "$ac_ct_CXX"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3138 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
3139 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3141 for as_dir in $PATH
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3142 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3143 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3144 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
3145 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
3146 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
3147 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
3148 $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
3149 break 2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3150 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3151 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3152 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3153 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3154
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3155 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3156 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3157 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
3158 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
3159 { $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
3160 $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
3161 else
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}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3163 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3164 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3165
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3166
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3167 test -n "$ac_ct_CXX" && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3168 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3169
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3170 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
3171 CXX="g++"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3172 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3173 case $cross_compiling:$ac_tool_warned in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3174 yes:)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
3176 $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
3177 ac_tool_warned=yes ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3178 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3179 CXX=$ac_ct_CXX
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3180 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3181 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3182
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3183 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3184 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3185 # 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
3186 $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
3187 set X $ac_compile
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3188 ac_compiler=$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3189 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
3190 { { 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
3191 case "(($ac_try" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3193 *) ac_try_echo=$ac_try;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3194 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3195 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
3196 $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
3197 (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
3198 ac_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3199 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
3200 sed '10a\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3201 ... rest of stderr output deleted ...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3202 10q' conftest.err >conftest.er1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3203 cat conftest.er1 >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3204 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3205 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
3206 $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
3207 test $ac_status = 0; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3208 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3209
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3210 { $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
3211 $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
3212 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
3213 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3214 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3215 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
3216 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3217
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3218 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3219 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3220 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3221 #ifndef __GNUC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3222 choke me
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3223 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3224
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3225 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3226 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3227 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3228 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3229 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
3230 ac_compiler_gnu=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3231 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3232 ac_compiler_gnu=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3233 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3234 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
3235 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
3236
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3237 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3238 { $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
3239 $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
3240 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
3241 GXX=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3242 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3243 GXX=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3244 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3245 ac_test_CXXFLAGS=${CXXFLAGS+set}
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3246 ac_save_CXXFLAGS=$CXXFLAGS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3247 { $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
3248 $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
3249 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
3250 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3251 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3252 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
3253 ac_cxx_werror_flag=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3254 ac_cv_prog_cxx_g=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3255 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3256 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
3257 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3258
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3259 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3260 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3261 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3262
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3263 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3264 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3265 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3266 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3267 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
3268 ac_cv_prog_cxx_g=yes
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3269 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3270 CXXFLAGS=""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3271 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
3272 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3273
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3274 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3275 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3276 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3277
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3278 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3279 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3280 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3281 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3282 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
3283
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3284 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3285 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
3286 CXXFLAGS="-g"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3287 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
3288 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3289
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3290 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3291 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3292 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3293
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3294 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3295 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3296 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3297 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3298 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
3299 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
3300 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3301 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
3302 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3303 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
3304 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3305 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
3306 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
3307 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3308 { $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
3309 $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
3310 if test "$ac_test_CXXFLAGS" = set; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3311 CXXFLAGS=$ac_save_CXXFLAGS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3312 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
3313 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3314 CXXFLAGS="-g -O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3315 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3316 CXXFLAGS="-g"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3317 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3318 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3319 if test "$GXX" = yes; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3320 CXXFLAGS="-O2"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3321 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3322 CXXFLAGS=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3323 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3324 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3325 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3326 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3330
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3331
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3332 # Extract the first word of "gmake", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3333 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
3334 { $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
3335 $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
3336 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
3337 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3338 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3339 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3340 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3341 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
3342 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
3343 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
3344 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
3345 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
3346 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
3347 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
3348 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
3349 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
3350 $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
3351 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
3352 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
3353 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3354 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3355 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3356
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3357 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3358 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3359 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3360 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
3361 { $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
3362 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3363 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3365 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3366 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3367
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3368
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3369 if test x"$MAKE" = x; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3370 # 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
3371 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
3372 { $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
3373 $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
3374 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
3375 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3376 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3377 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3378 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3379 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
3380 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
3381 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
3382 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
3383 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
3384 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
3385 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
3386 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
3387 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
3388 $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
3389 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
3390 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
3391 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3392 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3393 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3394
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3395 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3396 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3397 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3398 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
3399 { $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
3400 $as_echo "$MAKE" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3401 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3402 { $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
3403 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3404 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3405
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3406
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3407 fi
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3408 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
3409 # 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
3410 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
3411 { $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
3412 $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
3413 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
3414 $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
3415 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3416 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
3417 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
3418 else
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3419 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
3420 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
3421 do
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3422 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
3423 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
3424 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
3425 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
3426 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
3427 $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
3428 break 2
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3429 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3430 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3431 done
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3432 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
3433
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3434 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3435 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3436 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
3437 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
3438 { $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
3439 $as_echo "$SVNVERSION" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3440 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3441 { $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
3442 $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
3443 fi
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3444
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3445
1174
f1cb493f97fd Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1162
diff changeset
3446 fi
1161
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3447 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
3448 SVNVERSION=0
e4b13cd7a002 Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1109
diff changeset
3449 else
1162
52e3aa735bdb Attempt to fix parsing errors with the double : separated
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1161
diff changeset
3450 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
3451 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3452
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3453 ac_aux_dir=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3454 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
3455 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
3456 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
3457 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
3458 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3459 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
3460 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
3461 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
3462 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3463 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
3464 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
3465 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
3466 break
1c24949cf853 Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1095
diff changeset
3467 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3468 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3469 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
3470 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
3471 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3472
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3473 # These three variables are undocumented and unsupported,
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3474 # 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
3475 # 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
3476 # whose full name contains unusual characters.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3477 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
3478 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
3479 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
3480
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3481
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3482 # Find a good install program. We prefer a C program (faster),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3483 # so one script is as good as another. But avoid the broken or
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3484 # incompatible versions:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3485 # SysV /etc/install, /usr/sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3486 # SunOS /usr/etc/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3487 # IRIX /sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3488 # AIX /bin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3489 # AmigaOS /C/install, which installs bootblocks on floppy discs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3492 # 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
3493 # OS/2's system install, which has a completely different semantic
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3494 # ./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
3495 # 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
3496 { $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
3497 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3498 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
3499 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
3500 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3501 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
3502 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
3503 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
3504 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
3505 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
3506 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
3507 # 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
3508 case $as_dir/ in #((
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3509 ./ | .// | /[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
3510 /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
3511 ?:[\\/]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
3512 /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
3513 *)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3514 # 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
3515 # 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
3516 # 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
3517 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
3518 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
3519 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
3520 if test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3521 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
3522 # 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
3523 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3524 elif test $ac_prog = install &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3525 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
3526 # 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
3527 :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3528 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3529 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
3530 echo one > conftest.one
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3531 echo two > conftest.two
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3532 mkdir conftest.dir
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3533 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
3534 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
3535 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
3536 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
3537 then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3538 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
3539 break 3
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3540 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3541 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3542 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3543 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
3544 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
3545 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3546 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3547
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3548 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3549 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
3550
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3551 rm -rf conftest.one conftest.two conftest.dir
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3552
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3553 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3554 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3555 INSTALL=$ac_cv_path_install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3556 else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3557 # 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
3558 # value for INSTALL within a source directory, because that will
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3559 # 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
3560 # removed, or if the value is a relative name.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3561 INSTALL=$ac_install_sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3562 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3563 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3564 { $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
3565 $as_echo "$INSTALL" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3566
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3567 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3568 # It thinks the first close brace ends the variable substitution.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3569 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3570
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3571 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3572
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3573 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3574
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3575
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3576
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3577
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3578 # Make sure we can run config.sub.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3579 $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
3580 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
3581
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3582 { $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
3583 $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
3584 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
3585 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3586 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3587 ac_build_alias=$build_alias
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3588 test "x$ac_build_alias" = x &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3589 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
3590 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
3591 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
3592 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
3593 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
3594
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3595 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3596 { $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
3597 $as_echo "$ac_cv_build" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3598 case $ac_cv_build in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3599 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3600 *) 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
3601 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3602 build=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3603 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3604 set x $ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3605 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3606 build_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3607 build_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3608 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3609 # 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
3610 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3611 build_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3612 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3613 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
3614
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3615
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3616 { $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
3617 $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
3618 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
3619 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3620 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3621 if test "x$host_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3622 ac_cv_host=$ac_cv_build
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3623 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3624 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
3625 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
3626 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3627
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3628 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3629 { $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
3630 $as_echo "$ac_cv_host" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3631 case $ac_cv_host in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3632 *-*-*) ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3633 *) 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
3634 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3635 host=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3636 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3637 set x $ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3638 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3639 host_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3640 host_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3641 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3642 # 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
3643 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3644 host_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3645 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3646 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
3647
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3648
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3649 { $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
3650 $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
3651 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
3652 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3653 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3654 if test "x$target_alias" = x; then
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3655 ac_cv_target=$ac_cv_host
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3656 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3657 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
3658 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
3659 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3660
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3661 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3662 { $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
3663 $as_echo "$ac_cv_target" >&6; }
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3664 case $ac_cv_target in
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 *) 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
3667 esac
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3668 target=$ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3669 ac_save_IFS=$IFS; IFS='-'
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3670 set x $ac_cv_target
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3671 shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3672 target_cpu=$1
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3673 target_vendor=$2
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3674 shift; shift
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3675 # 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
3676 # except with old shells:
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3677 target_os=$*
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3678 IFS=$ac_save_IFS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3679 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
3680
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3681
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3682 # 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
3683 # will get canonicalized.
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3684 test -n "$target_alias" &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3685 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
3686 NONENONEs,x,x, &&
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3687 program_prefix=${target_alias}-
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3688
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
3689
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3690
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
3691 # 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
3692 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
3693 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
3694 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
3695 with_dwcompat=no
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3696 fi
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3697
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
3698
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
3699
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3700 # 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
3701 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
3702 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
3703 else
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
3704 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
3705 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
3706
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
3707
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3708
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3709 # Check whether --with-gtk4 was given.
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3710 if test "${with_gtk4+set}" = set; then :
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3711 withval=$with_gtk4; with_gtk4=$withval
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3712 else
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3713 with_gtk4=no
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3714 fi
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3715
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3716
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
3717
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3718 # 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
3719 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
3720 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
3721 else
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3722 with_deprecated=no
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3723 fi
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3724
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
3725
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
3726
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3727 # 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
3728 if test "${with_arch+set}" = set; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3729 withval=$with_arch; with_arch=$withval
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3730 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3731 with_arch=no
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3732 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3733
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3734
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3735
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3736 # Check whether --with-sdk was given.
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3737 if test "${with_sdk+set}" = set; then :
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3738 withval=$with_sdk; with_sdk=$withval
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3739 else
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3740 with_sdk=no
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3741 fi
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3742
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3743
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
3744
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3745 # Check whether --with-minver was given.
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3746 if test "${with_minver+set}" = set; then :
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3747 withval=$with_minver; with_minver=$withval
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3748 else
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3749 with_minver=no
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3750 fi
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3751
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3752
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
3753
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3754 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3755 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3758 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
3759 { $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
3760 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3761 # On Suns, sometimes $CPP names a directory.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3762 if test -n "$CPP" && test -d "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3763 CPP=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3764 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3765 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
3766 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
3767 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3768 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3769 # Double quotes because CPP needs to be expanded
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3770 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3771 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3772 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3773 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
3774 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3775 # 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
3776 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3777 # 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
3778 # <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
3779 # 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
3780 # 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
3781 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
3782 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3783 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3784 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3785 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3786 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3787 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3788 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3789 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3790 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
3791
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3792 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3793 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3794 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3795 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3796 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
3797
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3798 # 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
3799 # 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
3800 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
3801 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3802 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3803 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3804 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
3805 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3806 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3807 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3808 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3809 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3810 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3811 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3812 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
3813
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3814 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3815 # 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
3816 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
3817 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
3818 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3819 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3820
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3821 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3822 ac_cv_prog_CPP=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3823
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3824 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3825 CPP=$ac_cv_prog_CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3826 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3827 ac_cv_prog_CPP=$CPP
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3828 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3829 { $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
3830 $as_echo "$CPP" >&6; }
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3831 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3832 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
3833 do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3834 # 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
3835 # with a fresh cross-compiler works.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3836 # 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
3837 # <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
3838 # 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
3839 # 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
3840 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
3841 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3842 #ifdef __STDC__
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3843 # include <limits.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3844 #else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3845 # include <assert.h>
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3846 #endif
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3847 Syntax error
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3848 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3849 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
3850
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3851 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3852 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3853 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3854 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3855 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
3856
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3857 # 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
3858 # 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
3859 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
3860 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3861 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3862 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3863 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
3864 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3865 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3866 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3867 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3868 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3869 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3870 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3871 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
3872
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3873 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3874 # 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
3875 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
3876 if $ac_preproc_ok; then :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3877
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3878 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3879 { { $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
3880 $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
3881 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
3882 See \`config.log' for more details" "$LINENO" 5; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3883 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3884
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3885 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3886 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3890
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3891
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3892 { $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
3893 $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
3894 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
3895 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3896 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3897 if test -z "$GREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3898 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
3899 # 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
3900 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
3901 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
3902 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3903 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3904 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
3905 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
3906 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
3907 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
3908 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
3909 # 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
3910 # Check for GNU $ac_path_GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3911 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
3912 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3913 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
3914 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3915 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3916 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3917 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3918 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3919 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3920 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3921 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
3922 $as_echo 'GREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3923 "$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
3924 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
3925 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
3926 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
3927 # 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
3928 ac_cv_path_GREP="$ac_path_GREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3929 ac_path_GREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3930 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3931 # 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
3932 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3933 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3934 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
3935 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3936
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3937 $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
3938 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
3939 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3940 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3941 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3942 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
3943 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
3944 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3945 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3946 ac_cv_path_GREP=$GREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3947 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3948
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3949 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3950 { $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
3951 $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
3952 GREP="$ac_cv_path_GREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3953
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3954
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3956 $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
3957 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
3958 $as_echo_n "(cached) " >&6
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3959 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3960 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
3961 then ac_cv_path_EGREP="$GREP -E"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3962 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3963 if test -z "$EGREP"; then
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3964 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
3965 # 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
3966 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
3967 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
3968 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3969 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3970 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
3971 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
3972 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
3973 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
3974 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
3975 # 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
3976 # Check for GNU $ac_path_EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3977 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
3978 *GNU*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3979 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
3980 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3981 ac_count=0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
3982 $as_echo_n 0123456789 >"conftest.in"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3983 while :
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3984 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3985 cat "conftest.in" "conftest.in" >"conftest.tmp"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3986 mv "conftest.tmp" "conftest.in"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3987 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
3988 $as_echo 'EGREP' >> "conftest.nl"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3989 "$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
3990 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
3991 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
3992 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
3993 # 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
3994 ac_cv_path_EGREP="$ac_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3995 ac_path_EGREP_max=$ac_count
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3996 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3997 # 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
3998 test $ac_count -gt 10 && break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
3999 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4000 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
4001 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4002
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4003 $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
4004 done
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4005 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4006 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4007 IFS=$as_save_IFS
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4008 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
4009 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
4010 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4011 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4012 ac_cv_path_EGREP=$EGREP
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4013 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4014
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4015 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4016 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4017 { $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
4018 $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
4019 EGREP="$ac_cv_path_EGREP"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4020
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4021
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4022 { $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
4023 $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
4024 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
4025 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4026 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4027 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
4028 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4029 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4030 #include <stdarg.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4031 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4032 #include <float.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4033
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4034 int
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4035 main ()
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4036 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4037
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4038 ;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4039 return 0;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4040 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4041 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4042 if ac_fn_c_try_compile "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4043 ac_cv_header_stdc=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4044 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4045 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4046 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4048
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4049 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4050 # 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
4051 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
4052 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4053 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4054
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4055 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4056 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
4057 $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
4058
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4059 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4060 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4061 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4062 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4063
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4064 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4065
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4066 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4067 # 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
4068 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
4069 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4070 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4071
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4072 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4073 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
4074 $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
4075
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4076 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4077 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4078 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4079 rm -f conftest*
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4080
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4081 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4082
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4083 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4084 # /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
4085 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4086 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4087 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4088 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
4089 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4090 #include <ctype.h>
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4091 #include <stdlib.h>
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4092 #if ((' ' & 0x0FF) == 0x020)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4093 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4094 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4095 #else
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4096 # define ISLOWER(c) \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4097 (('a' <= (c) && (c) <= 'i') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4098 || ('j' <= (c) && (c) <= 'r') \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4099 || ('s' <= (c) && (c) <= 'z'))
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4100 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4101 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4102
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4103 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4104 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4105 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4106 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4107 int i;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4108 for (i = 0; i < 256; i++)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4109 if (XOR (islower (i), ISLOWER (i))
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4110 || toupper (i) != TOUPPER (i))
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4111 return 2;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4112 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4113 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4114 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4115 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
4116
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4117 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4118 ac_cv_header_stdc=no
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4119 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4120 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
4121 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
4122 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4123
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4124 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4125 fi
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}: 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
4127 $as_echo "$ac_cv_header_stdc" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4128 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4129
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4130 $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
4131
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4132 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4133
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4134 ac_header_dirent=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4135 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
4136 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
4137 { $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
4138 $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
4139 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
4140 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4141 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4142 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
4143 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4144 #include <sys/types.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4145 #include <$ac_hdr>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4146
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4147 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4148 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4149 {
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4150 if ((DIR *) 0)
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4151 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4152 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4153 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4154 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4155 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4156 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
4157 eval "$as_ac_Header=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4158 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4159 eval "$as_ac_Header=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4160 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4161 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
4162 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4163 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
4164 { $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
4165 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4166 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
4167 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4168 #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
4169 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4170
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4171 ac_header_dirent=$ac_hdr; break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4172 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4173
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4174 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4175 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4176 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
4177 { $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
4178 $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
4179 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
4180 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4181 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
4182 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
4183 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
4184 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4185
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4186 /* 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
4187 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
4188 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4189 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4190 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4191 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4192 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
4193 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
4194 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
4195 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4196 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
4197 ;
7d2108cbcd3e Porting DW 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 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
4199 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4200 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4201 for ac_lib in '' dir; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4202 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4203 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4204 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4205 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4206 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
4207 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4208 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
4209 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
4210 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4211 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
4212 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4213 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
4214 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4215 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4216 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4217 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
4218
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4219 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4220 ac_cv_search_opendir=no
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 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
4223 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
4224 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4225 { $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
4226 $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
4227 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
4228 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4229 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
4230
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4231 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4232
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4233 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4234 { $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
4235 $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
4236 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
4237 $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
4238 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
4239 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
4240 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
4241 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4242
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4243 /* 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
4244 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
4245 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
4246 #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
4247 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
4248 #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
4249 char opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4250 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4251 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4252 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4253 return opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4254 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4255 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4256 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4257 _ACEOF
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4258 for ac_lib in '' x; do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4259 if test -z "$ac_lib"; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4260 ac_res="none required"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4261 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4262 ac_res=-l$ac_lib
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4263 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
4264 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4265 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
4266 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
4267 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4268 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
4269 conftest$ac_exeext
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4270 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
4271 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4272 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4273 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4274 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
4275
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4276 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4277 ac_cv_search_opendir=no
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4278 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4279 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
4280 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
4281 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4282 { $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
4283 $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
4284 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
4285 if test "$ac_res" != no; then :
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4286 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
4287
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4288 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
4289
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4290 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
4291
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4292 # 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
4293 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
4294 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
4295 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4296 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
4297 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
4298 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4299 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
4300 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4301 #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
4302 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4303
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4304 fi
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 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4307
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4308
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4309 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
4310 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4311 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
4312 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
4313 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4314 #define HAVE_UNISTD_H 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4315 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4316
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4317 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4318
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4319 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4320
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4321 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
4322 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4323 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
4324 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
4325 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4326 #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
4327 _ACEOF
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4328
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4329 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4330
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4331 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4332
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4333
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4334 for ac_func in pipe
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4335 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4336 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
4337 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
4338 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4339 #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
4340 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4341
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4342 $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
4343
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4344 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4345 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4346
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4347 for ac_func in vsnprintf
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4348 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4349 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
4350 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
4351 cat >>confdefs.h <<_ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4352 #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
4353 _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
4354
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4355 $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
4356
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4357 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
4358 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
4359
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
4360
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4361 for ac_func in connect
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4362 do :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4363 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
4364 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
4365 cat >>confdefs.h <<_ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4366 #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
4367 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4368
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4369 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4370 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4371
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4372 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
4373 if test -z "$libsocket"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4374 { $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
4375 $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
4376 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
4377 $as_echo_n "(cached) " >&6
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4378 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4379 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
4380 LIBS="-lsocket $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4381 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
4382 /* 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
4383
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4384 /* 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
4385 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
4386 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
4387 #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
4388 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
4389 #endif
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4390 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
4391 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
4392 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
4393 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4394 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
4395 ;
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
4396 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
4397 }
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 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4399 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
4400 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
4401 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4402 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
4403 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4404 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
4405 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
4406 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
4407 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4408 { $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
4409 $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
4410 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
4411 LIBS="$LIBS -lsocket"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4412 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4413
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4414 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4415
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4416 if test -z "$libinet"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4417 { $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
4418 $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
4419 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
4420 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4421 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4422 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
4423 LIBS="-linet $LIBS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4424 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
4425 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4426
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4427 /* 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
4428 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
4429 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4430 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4431 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4432 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4433 char socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4434 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4435 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4436 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4437 return socket ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4438 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4439 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4440 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4441 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4442 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
4443 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
4444 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4445 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
4446 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4447 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
4448 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
4449 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
4450 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4451 { $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
4452 $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
4453 if test "x$ac_cv_lib_inet_socket" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4454 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4455 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4456
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4457 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4458
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4459 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
4460 { $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
4461 $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
4462 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
4463 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4464 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4465 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4466 LIBS="-lnsl $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4467 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
4468 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4469
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4470 /* 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
4471 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
4472 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4473 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4474 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4475 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4476 char gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4477 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4478 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4479 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4480 return gethostname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4481 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4482 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4483 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4484 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4485 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4486 ac_cv_lib_nsl_gethostname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4487 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4488 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
4489 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4490 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
4491 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4492 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4493 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4494 { $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
4495 $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
4496 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4497 LIBS="$LIBS -lnsl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4498 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4499
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4500 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4501 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4502
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4503 { $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
4504 $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
4505 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
4506 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4507 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4508 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4509 LIBS="-lsun $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4510 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
4511 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4512
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4513 /* 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
4514 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
4515 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4516 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4517 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4518 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4519 char getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4520 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4521 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4522 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4523 return getpwnam ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4524 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4525 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4526 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4527 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4528 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4529 ac_cv_lib_sun_getpwnam=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4530 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4531 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
4532 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4533 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
4534 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4535 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4536 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4537 { $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
4538 $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
4539 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4540 LIBS="$LIBS -lsun"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4541 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4542
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4543 { $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
4544 $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
4545 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
4546 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4547 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4548 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4549 LIBS="-ldgc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4550 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
4551 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4552
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4553 /* 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
4554 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
4555 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4556 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4557 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4558 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4559 char inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4560 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4561 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4562 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4563 return inet_addr ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4564 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4565 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4566 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4567 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4568 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4569 ac_cv_lib_dgc_inet_addr=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4570 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4571 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
4572 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4573 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
4574 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4575 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4576 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4577 { $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
4578 $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
4579 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4580 LIBS="$LIBS -ldgc"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4581 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4582
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4583 { $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
4584 $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
4585 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
4586 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4587 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4588 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4589 LIBS="-lresolv $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4590 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
4591 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4592
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4593 /* 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
4594 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
4595 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4596 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4597 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4598 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4599 char gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4600 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4601 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4602 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
4603 return gethostbyname ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4604 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4605 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4606 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4607 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4608 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4609 ac_cv_lib_resolv_gethostbyname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4610 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4611 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
4612 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4613 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
4614 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4615 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4616 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4617 { $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
4618 $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
4619 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4620 LIBS="$LIBS -lresolv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4621 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4622
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
4623 { $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
4624 $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
4625 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
4626 $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
4627 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
4628 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
4629 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
4630 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
4631 /* 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
4632
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4633 /* 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
4634 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
4635 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
4636 #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
4637 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
4638 #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
4639 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
4640 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
4641 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
4642 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4643 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
4644 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4645 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
4646 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4647 _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
4648 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
4649 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
4650 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
4651 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
4652 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
4653 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
4654 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
4655 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
4656 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
4657 { $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
4658 $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
4659 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
4660 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
4661 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
4662
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4663
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4664 build_gtk="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4665 check_pthreads="yes"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4666 PLATLIBS=""
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4667 SONAME=""
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4668 PLATCCFLAGS="-g -O2 -fPIC -Wall"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4669 ARFLAGS="cqs"
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 case "$target" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4672 *cygwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4673 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4674 *mingw32)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
4675 $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
4676
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
4677 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4678 *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
4679 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
4680 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4681 *apple-darwin*)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4682 case "$with_arch" in
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4683 no)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4684 ARCH=""
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4685 ;;
2217
6cdb907755cb Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2204
diff changeset
4686 classic)
6cdb907755cb Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2204
diff changeset
4687 ARCH="-arch ppc -arch x86_64 -arch i386"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4688 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4689 32bit)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4690 ARCH="-arch ppc -arch i386"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4691 ;;
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
4692 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
4693 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
4694 ;;
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4695 powerpc)
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4696 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
4697 ;;
2129
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
4698 arm)
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
4699 ARCH="-arch arm64"
2fb132a1d1fa Mac: Add configure support for the new Apple ARM64 architecture by adding
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2128
diff changeset
4700 ;;
2185
2a52d9fc2de4 Mac: Added configure option --with-arch=modern that builds 64bit Intel and ARM.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2160
diff changeset
4701 modern)
2a52d9fc2de4 Mac: Added configure option --with-arch=modern that builds 64bit Intel and ARM.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2160
diff changeset
4702 ARCH="-arch x86_64 -arch arm64"
2a52d9fc2de4 Mac: Added configure option --with-arch=modern that builds 64bit Intel and ARM.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2160
diff changeset
4703 ;;
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4704 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4705 ARCH="-arch $with_arch"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4706 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4707 esac
2130
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
4708 case "$with_sdk" in
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
4709 no)
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
4710 ;;
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
4711 *)
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
4712 CC="$CC -isysroot$with_sdk"
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
4713 ;;
55c6587f269c Mac: Add --with-sdk option to configure to specify an alternate MacOS SDK location.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2129
diff changeset
4714 esac
2220
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4715 case "$with_minver" in
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4716 no)
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4717 ;;
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4718 *)
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4719 CFLAGS="$CFLAGS -mmacosx-version-min=$with_minver"
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4720 LIBS="$LIBS -mmacosx-version-min=$with_minver"
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4721 ;;
4020bdb806dc Mac: Add --with-minver option for specifying the minimum MacOS version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2217
diff changeset
4722 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
4723 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
4724 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
4725 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
4726 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
4727 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
4728 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
4729 save_libs="$LIBS"
2128
17f5c1c199b4 Mac: Switch to using -weak_framework UserNotifications so binaries will work
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2111
diff changeset
4730 LIBS="$LIBS -weak_framework UserNotifications"
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
4731 INSTALL_TEST=""
2087
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4732 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
4733 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
4734
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4735 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
4736 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
4737 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
4738
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
4739 build_gtk="no"
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4740 ;;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4741 *)
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4742 ;;
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
4743 esac
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4744
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
4745 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
4746 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
4747 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
4748 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
4749 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
4750 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
4751 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
4752 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
4753 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
4754 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
4755 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
4756
082d743f3214 Reorder configure so SOSUFFIX is only used after it is set per platform.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2086
diff changeset
4757 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
4758
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
4759 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
4760 { $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
4761 $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
4762
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4763
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 # 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
4765 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
4766 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
4767 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
4768
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 # $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
4770 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
4771 # 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
4772 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
4773 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
4774 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
4775 *\'*) 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
4776 *,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
4777 $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
4778 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
4779 # 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
4780 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
4781 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
4782 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
4783 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
4784 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
4785 incroot:
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4786 @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
4787 usrlibdir:
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4788 @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
4789 libdir:
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4790 @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
4791 _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
4792 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
4793 # 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
4794 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
4795 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
4796 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
4797 # 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
4798 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
4799 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
4800 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
4801 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
4802 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
4803 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
4804 # 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
4805 # 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
4806 # 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
4807 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
4808 /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
4809 *) 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
4810 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
4811 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
4812 /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
4813 *) 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
4814 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
4815 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
4816 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
4817 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
4818 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
4819
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 # 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
4821 # 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
4822 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
4823 /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
4824 /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
4825 /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
4826 /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
4827 /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
4828
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4829 /usr/include/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
4830 /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
4831 /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
4832 /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
4833 /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
4834
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4835 /usr/local/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
4836 /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
4837 /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
4838 /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
4839 /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
4840
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4841 /usr/local/include/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
4842 /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
4843 /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
4844 /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
4845 /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
4846
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4847 /usr/X386/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4848 /usr/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
4849 /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
4850
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4851 /usr/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4852 /usr/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
4853 /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
4854 /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
4855 /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
4856 /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
4857
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4858 /usr/openwin/include
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4859 /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
4860
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 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
4862 # 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
4863 # 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
4864 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
4865 /* 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
4866 #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
4867 _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
4868 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
4869 # 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
4870 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
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 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
4873 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
4874 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
4875 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
4876 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
4877 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
4878 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
4879 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
4880 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
4881
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 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
4883 # 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
4884 # 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
4885 # 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
4886 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
4887 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
4888 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
4889 /* 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
4890 #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
4891 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
4892 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
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 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
4895 ;
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 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
4897 }
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 _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
4899 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
4900 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
4901 # 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
4902 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
4903 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
4904 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
4905 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
4906 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
4907 # 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
4908 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
4909 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
4910 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
4911 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
4912 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
4913 done
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4914 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
4915 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
4916 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
4917 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
4918 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
4919
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 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
4921 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
4922 # 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
4923 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
4924 *)
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 # 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
4926 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
4927 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
4928 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
4929 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
4930 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
4931 ;; #(
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 *) 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
4933 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
4934 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
4935 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
4936
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 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
4938 { $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
4939 $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
4940 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
4941 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
4942 # 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
4943 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
4944 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
4945 # 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
4946 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
4947 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
4948 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
4949 { $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
4950 $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
4951 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
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 "$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
4954 # 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
4955
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 $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
4957
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 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
4959 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
4960 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
4961 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
4962 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
4963
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 # 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
4965 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
4966 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
4967 # 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
4968 # 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
4969 { $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
4970 $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
4971 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
4972 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
4973 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
4974 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
4975 /* 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
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 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
4978 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
4979 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4980
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4981 ;
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 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
4983 }
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 _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
4985 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
4986 { $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
4987 $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
4988 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
4989 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
4990 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
4991 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
4992 /* 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
4993
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 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
4995 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
4996 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4997
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
4998 ;
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 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
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 _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
5002 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
5003 { $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
5004 $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
5005 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
5006 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
5007 { $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
5008 $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
5009 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5010 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
5011 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
5012 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
5013 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
5014 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
5015 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
5016 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
5017 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
5018
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 # 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
5020 # 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
5021 # (-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
5022
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 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
5024 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
5025 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
5026 # 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
5027 # 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
5028 # 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
5029 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
5030 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
5031 /* 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
5032
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 /* 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
5034 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
5035 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
5036 #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
5037 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
5038 #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
5039 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
5040 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
5041 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
5042 {
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 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
5044 ;
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 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
5046 }
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 _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
5048 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
5049
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 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
5051 { $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
5052 $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
5053 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
5054 $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
5055 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
5056 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
5057 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
5058 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
5059 /* 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
5060
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 /* 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
5062 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
5063 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
5064 #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
5065 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
5066 #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
5067 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
5068 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
5069 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
5070 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5071 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
5072 ;
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 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
5074 }
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 _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
5076 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
5077 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
5078 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
5079 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
5080 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
5081 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
5082 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
5083 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
5084 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
5085 { $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
5086 $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
5087 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
5088 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
5089 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
5090
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 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
5092 { $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
5093 $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
5094 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
5095 $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
5096 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
5097 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
5098 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
5099 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
5100 /* 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
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 /* 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
5103 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
5104 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
5105 #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
5106 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
5107 #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
5108 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
5109 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
5110 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
5111 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5112 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
5113 ;
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 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
5115 }
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 _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
5117 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
5118 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
5119 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
5120 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
5121 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
5122 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
5123 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
5124 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
5125 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
5126 { $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
5127 $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
5128 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
5129 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
5130 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
5131
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5132 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5133 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
5134 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
5135 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
5136 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
5137
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 # 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
5139 # 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
5140 # 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
5141 # 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
5142 # 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
5143 # 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
5144 # 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
5145 # 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
5146 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
5147 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
5148
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 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
5150
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 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
5152 { $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
5153 $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
5154 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
5155 $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
5156 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
5157 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
5158 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
5159 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
5160 /* 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
5161
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 /* 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
5163 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
5164 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
5165 #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
5166 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
5167 #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
5168 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
5169 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
5170 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
5171 {
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 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
5173 ;
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 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
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 _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
5177 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
5178 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
5179 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
5180 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
5181 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
5182 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
5183 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
5184 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
5185 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
5186 { $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
5187 $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
5188 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
5189 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
5190 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
5191
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 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
5193 { $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
5194 $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
5195 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
5196 $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
5197 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
5198 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
5199 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
5200 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
5201 /* 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
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 /* 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
5204 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
5205 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
5206 #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
5207 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
5208 #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
5209 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
5210 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
5211 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
5212 {
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 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
5214 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5215 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
5216 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5217 _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
5218 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
5219 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
5220 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
5221 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
5222 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
5223 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
5224 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
5225 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
5226 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
5227 { $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
5228 $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
5229 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
5230 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
5231 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
5232
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5233 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5234 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
5235
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 # 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
5237 # 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
5238 # 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
5239 # 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
5240 # 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
5241 # 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
5242 # 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
5243 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
5244 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
5245
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 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
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 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
5249 { $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
5250 $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
5251 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
5252 $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
5253 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
5254 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
5255 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
5256 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
5257 /* 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
5258
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 /* 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
5260 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
5261 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
5262 #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
5263 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
5264 #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
5265 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
5266 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
5267 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
5268 {
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 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
5270 ;
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 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
5272 }
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 _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
5274 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
5275 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
5276 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
5277 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
5278 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
5279 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
5280 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
5281 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
5282 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
5283 { $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
5284 $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
5285 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
5286 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
5287 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
5288
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5289 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
5290
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5291 # 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
5292 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
5293 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
5294
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 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
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 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
5298 { $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
5299 $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
5300 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
5301 $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
5302 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
5303 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
5304 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
5305 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
5306 /* 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
5307
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 /* 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
5309 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
5310 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
5311 #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
5312 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
5313 #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
5314 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
5315 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
5316 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
5317 {
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 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
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 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
5321 }
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 _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
5323 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
5324 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
5325 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
5326 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
5327 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
5328 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
5329 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
5330 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
5331 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
5332 { $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
5333 $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
5334 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
5335 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
5336 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
5337
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 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
5339
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 # 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
5341 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
5342 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
5343
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 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
5345
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 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
5347 { $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
5348 $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
5349 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
5350 $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
5351 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
5352 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
5353 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
5354 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
5355 /* 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
5356
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 /* 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
5358 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
5359 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
5360 #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
5361 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
5362 #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
5363 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
5364 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
5365 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
5366 {
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 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
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 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
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 _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
5372 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
5373 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
5374 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
5375 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
5376 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
5377 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
5378 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
5379 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
5380 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
5381 { $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
5382 $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
5383 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
5384 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
5385 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
5386
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5387 fi
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5388 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
5389
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5390 # 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
5391 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
5392 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
5393 # 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
5394 # 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
5395 # 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
5396 # 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
5397 # 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
5398 # 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
5399 { $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
5400 $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
5401 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
5402 $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
5403 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
5404 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
5405 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
5406 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
5407 /* 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
5408
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5409 /* 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
5410 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
5411 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
5412 #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
5413 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
5414 #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
5415 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
5416 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
5417 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
5418 {
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5419 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
5420 ;
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5421 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
5422 }
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5423 _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
5424 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
5425 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
5426 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
5427 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
5428 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
5429 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
5430 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
5431 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
5432 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
5433 { $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
5434 $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
5435 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
5436 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
5437 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
5438
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5439 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
5440
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5441 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
5442
966ef0eeed4f GTK: Fix building on FreeBSD 12. Needs -lm and -lX11 added to LIBS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2005
diff changeset
5443 LIBS="$LIBS $X_LIBS -lX11"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5444 # 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
5445 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
5446 { $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
5447 $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
5448 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
5449 $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
5450 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
5451 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
5452 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
5453 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
5454 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
5455 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
5456 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
5457 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
5458 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
5459 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
5460 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
5461 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
5462 $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
5463 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
5464 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
5465 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5466 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5467 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
5468
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5469 fi
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5470 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
5471 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
5472 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
5473 { $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
5474 $as_echo "$PKG_CFG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5475 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5476 { $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
5477 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5478 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5479
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5480
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5481 if test x"$PKG_CFG" != x; then
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5482 # Figure out the best available GTK packages...
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5483 # Preference order GTK3>GTK4>GTK2, WebKit2>WebKit1.1>WebKit1.0>WebKit
1095
1ab93c92d3ea Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1094
diff changeset
5484 GTK_LIBS=""
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5485 GTK_PACKAGES=""
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5486 WEBKIT_PKG=""
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5487 WEBKIT_ALT_PKG=""
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5488 if test $with_gtk4 = "yes"; then
2747
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
5489 # First try the X11 version so we can call Xlib directly
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
5490 # to fill in the holes not available with Wayland
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
5491 GTK_PACKAGES="gtk4-x11"
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5492 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
2747
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
5493 if test x"$GTK_LIBS" = x; then
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
5494 GTK_PACKAGES="gtk4"
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
5495 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
c83d6261ce3e GTK4: Change configure tests, and try to support webkit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2746
diff changeset
5496 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5497 if test x"$GTK_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5498 DW_DIR=gtk4
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5499 # WebKit2GTK built for GTK4 becomes 5.0
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5500 WEBKIT_PKG="webkit2gtk-5.0"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5501 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5502 else
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5503 # Put the GTK2 test here since --with-gtk2 is mutually
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5504 # exclusive with --with-gtk4
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5505 if test $with_gtk2 = "yes"; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5506 GTK_PACKAGES="gtk+-2.0 gthread-2.0"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5507 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5508 if test x"$GTK_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5509 DW_DIR=gtk
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5510 WEBKIT_PKG="webkit-1.1"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5511 WEBKIT_ALT_PKG="webkit-1.0"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5512 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5513 fi
2264
5c981407b0f3 GTK4: Add experimental support for GTK4... This is in progress and doesn't
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2220
diff changeset
5514 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5515 # We did not successfully find a GTK installation after
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5516 # handling --with-gtk2 and --with-gtk4 so try GTK3
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
5517 if test x"$GTK_LIBS" = x; then
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5518 # GTK3 Defaults section
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5519 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
5520 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES`
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5521 WEBKIT_PKG="webkit2gtk-4.0"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5522 WEBKIT_ALT_PKG="webkitgtk-3.0"
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
5523 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5524 echo "checking for GTK version: $DW_DIR"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5525 # Test for the preferred WebKit package
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5526 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5527 if test x"$WEBKIT_LIBS" = x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5528 # Preferred package is not available, try the alternate if defined
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5529 if test x"$WEBKIT_ALT_PKG" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5530 WEBKIT_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_ALT_PKG`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5531 if test x"$WEBKIT_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5532 WEBKIT_PKG=$WEBKIT_ALT_PKG
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5533 fi
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
5534 fi
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5535 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5536 echo "checking for WebKit package: $WEBKIT_PKG"
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5537 WEBKIT_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG`
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5538 # If we got a WebKit package that might work...
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5539 # Add defintitions necessary for the correct code paths
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5540 if test x"$WEBKIT_LIBS" != x; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5541 if test "$WEBKIT_PKG" = "webkit-1.0"; then
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5542 $as_echo "#define USE_WEBKIT10 1" >>confdefs.h
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5543
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5544 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5545 if test "$WEBKIT_PKG" = "webkit-1.1"; then
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5546 $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
5547
2748
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5548 fi
d8db838d5616 Rewrite the configure GTK and WebKitGTK test section.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2747
diff changeset
5549 if test "$WEBKIT_PKG" = "webkit2gtk-4.0"; then
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5550 $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
5551
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5552 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
5553 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5554 if test x"$RPATH" != x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5555 RPATH="-Wl,-R$RPATH"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5556 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5557 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5558
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5559 if test x"$GTK_LIBS" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5560
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5561 # 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
5562 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
5563 withval=$with_glib_prefix; glib_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5564 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5565 glib_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5566 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5567
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5568
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5569 # 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
5570 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
5571 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5572 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5573 glib_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5574 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5575
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5576 # 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
5577 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
5578 enableval=$enable_glibtest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5579 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5580 enable_glibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5581 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5582
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5583
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5584 if test x$glib_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5585 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5586 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5587 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5588 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5589 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5590 if test x$glib_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5591 glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5592 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5593 GLIB_CONFIG=$glib_config_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5594 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5595 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5596
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5597 for module in .
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5598 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5599 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5600 gmodule)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5601 glib_config_args="$glib_config_args gmodule"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5602 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5603 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5604 glib_config_args="$glib_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5605 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5606 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5607 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5608
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5609 # 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
5610 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
5611 { $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
5612 $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
5613 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
5614 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5615 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5616 case $GLIB_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5617 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5618 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
5619 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5620 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5621 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
5622 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
5623 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
5624 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
5625 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
5626 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
5627 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
5628 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
5629 $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
5630 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
5631 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
5632 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5633 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5634 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5635
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5636 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5637 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5638 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5639 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5640 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5641 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
5642 { $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
5643 $as_echo "$GLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5644 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5645 { $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
5646 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5647 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5648
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5649
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5650 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
5651 { $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
5652 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5653 no_glib=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5654 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5655 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5656 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5657 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5658 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5659 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5661 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5663 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5664 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5665 if test "x$enable_glibtest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5666 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5667 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5668 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5669 LIBS="$GLIB_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5670 rm -f conf.glibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5671 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5672 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5673 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5674 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
5675 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5676
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5677 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5678 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5679 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5680
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5681 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5682 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5683 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5684 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5685 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5686
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5687 system ("touch conf.glibtest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5688
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5689 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5690 tmp_version = g_strdup("$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5691 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5692 printf("%s, bad version string\n", "$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5693 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5694 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5695
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5696 if ((glib_major_version != $glib_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5697 (glib_minor_version != $glib_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5698 (glib_micro_version != $glib_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5699 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5700 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5701 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5702 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5703 printf ("*** was found! If glib-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5704 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
5705 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5706 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5707 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5708 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5709 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
5710 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5711 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5712 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5713 (glib_minor_version != GLIB_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5714 (glib_micro_version != GLIB_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5715 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5716 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5717 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5718 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5719 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5720 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5721 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5722 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5723 if ((glib_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5724 ((glib_major_version == major) && (glib_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5725 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5726 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5727 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5728 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5729 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5730 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5731 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5732 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5733 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
5734 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5735 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5736 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5737 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5738 printf("*** probably means that the wrong copy of the glib-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5739 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
5740 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
5741 printf("*** correct copy of glib-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5742 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5743 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5744 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5745 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5746 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5747 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5748
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5749 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5750 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
5751
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5752 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5753 no_glib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5754 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5755 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
5756 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
5757 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5758
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5759 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5760 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5761 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5762 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5763 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
5764 { $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
5765 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5766 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5767 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5768 { $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
5769 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5770 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5771 echo "*** The glib-config script installed by GLIB could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5772 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5773 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5774 echo "*** full path to glib-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5775 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5776 if test -f conf.glibtest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5777 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5778 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5779 echo "*** Could not run GLIB test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5780 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5781 LIBS="$LIBS $GLIB_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5782 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
5783 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5784
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5785 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5786 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5787
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5788 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5789 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5790 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5791 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5792 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5793 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5794 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5795 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5796 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5797 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5798 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5799 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
5800 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5801 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5802 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5803 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5804 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5805 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
5806 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5807 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
5808 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5809 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
5810 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5811 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5812 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
5813 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5814 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5815 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5816 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5817 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5818 GLIB_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5819 GLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5820 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
5821 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5822
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5823
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5824 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5825
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5826
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5827 # 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
5828 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
5829 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5830 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5831 gtk_config_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5832 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5833
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5834
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5835 # 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
5836 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
5837 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5838 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5839 gtk_config_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5840 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5841
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5842 # 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
5843 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
5844 enableval=$enable_gtktest;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5845 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5846 enable_gtktest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5847 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5848
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5849
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5850 for module in . gthread
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5851 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5852 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5853 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5854 gtk_config_args="$gtk_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5855 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5856 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5857 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5858
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5859 if test x$gtk_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5860 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5861 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5862 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5863 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5864 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5865 if test x$gtk_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5866 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5867 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5868 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5869 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5870 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5871
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5872 # 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
5873 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
5874 { $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
5875 $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
5876 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
5877 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5878 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5879 case $GTK_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5880 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5881 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
5882 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5883 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5884 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
5885 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
5886 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
5887 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
5888 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
5889 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
5890 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
5891 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
5892 $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
5893 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
5894 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
5895 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5896 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5897 IFS=$as_save_IFS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5898
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5899 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5900 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5901 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5902 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5903 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5904 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
5905 { $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
5906 $as_echo "$GTK_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5907 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5908 { $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
5909 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5910 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
5911
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5912
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5913 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
5914 { $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
5915 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5916 no_gtk=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5917 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5918 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5919 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5920 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5921 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5922 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5924 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5926 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5928 if test "x$enable_gtktest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5929 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5930 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5931 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5932 LIBS="$GTK_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5933 rm -f conf.gtktest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5934 if test "$cross_compiling" = yes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5935 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5936 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
5937 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
5938 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5939
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5940 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5941 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5942 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5943
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5944 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5945 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5946 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5947 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5948 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5949
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5950 system ("touch conf.gtktest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5951
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5952 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5953 tmp_version = g_strdup("$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5954 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5955 printf("%s, bad version string\n", "$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5956 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5957 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5958
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5959 if ((gtk_major_version != $gtk_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5960 (gtk_minor_version != $gtk_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5961 (gtk_micro_version != $gtk_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5962 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5963 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5964 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5965 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5966 printf ("*** was found! If gtk-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5967 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
5968 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5969 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5970 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5971 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5972 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
5973 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5974 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5975 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5976 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5977 (gtk_minor_version != GTK_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5978 (gtk_micro_version != GTK_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5979 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5980 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5981 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5982 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5983 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5984 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5985 #endif /* defined (GTK_MAJOR_VERSION) ... */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5986 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5987 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5988 if ((gtk_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5989 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5990 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5991 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5992 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5993 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5994 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5995 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5996 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5997 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5998 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
5999 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6000 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6001 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6002 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6003 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6004 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
6005 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
6006 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6007 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6008 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6009 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6010 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6011 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6012 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6013
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6014 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6015 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
6016
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6017 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6018 no_gtk=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6019 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6020 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
6021 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
6022 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6023
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6024 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6025 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6026 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6027 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6028 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
6029 { $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
6030 $as_echo "yes" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6031 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6032 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6033 { $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
6034 $as_echo "no" >&6; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6035 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6036 echo "*** The gtk-config script installed by GTK could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6037 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6038 echo "*** your path, or set the GTK_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6039 echo "*** full path to gtk-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6040 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6041 if test -f conf.gtktest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6042 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6043 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6044 echo "*** Could not run GTK test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6045 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6046 LIBS="$LIBS $GTK_LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6047 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
6048 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6049
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6050 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6051 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6052
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6053 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6054 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6055 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6056 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6057 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6058 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6059 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6060 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6061 if ac_fn_c_try_link "$LINENO"; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6062 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6063 echo "*** that the run-time linker is not finding GTK or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6064 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
6065 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6066 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6067 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6068 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6069 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6070 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
6071 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6072 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
6073 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6074 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
6075 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6076 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6077 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
6078 conftest$ac_exeext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6079 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6080 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6081 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6082 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6083 GTK_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6084 GTK_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6085 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
6086 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6087
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6088
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6089 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6090
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6091
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6092 # 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
6093 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
6094 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
6095 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6096 imlib_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6097 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6098
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6099
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6100 # 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
6101 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
6102 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
6103 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6104 imlib_exec_prefix=""
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6105 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6106
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6107 # 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
6108 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
6109 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
6110 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6111 enable_imlibtest=yes
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6112 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6113
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6114
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6115 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
6116 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
6117 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
6118 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
6119 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6120 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6121 if 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
6122 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
6123 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
6124 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
6125 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6126 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6127
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6128 # 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
6129 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
6130 { $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
6131 $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
6132 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
6133 $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
6134 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6135 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
6136 [\\/]* | ?:[\\/]*)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6137 ac_cv_path_IMLIB_CONFIG="$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
6138 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6139 *)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6140 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
6141 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
6142 do
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6143 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
6144 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
6145 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
6146 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
6147 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
6148 $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
6149 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
6150 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6151 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6152 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6153 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
6154
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6155 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
6156 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6157 esac
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6158 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6159 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
6160 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
6161 { $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
6162 $as_echo "$IMLIB_CONFIG" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6163 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6164 { $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
6165 $as_echo "no" >&6; }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6166 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6167
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6168
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6169 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
6170 { $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
6171 $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
6172 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
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 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
6175 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6176 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
6177 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
6178
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6179 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
6180 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
6181 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
6182 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
6183 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
6184 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
6185 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
6186 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
6187 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
6188 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
6189 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
6190 rm -f conf.imlibtest
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6191 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
6192 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
6193 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6194 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
6195 /* 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
6196
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6197 #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
6198 #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
6199 #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
6200
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6201 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
6202 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6203 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
6204 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
6205
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6206 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
6207
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6208 /* 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
6209 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
6210 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
6211 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
6212 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
6213 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6214
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6215 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
6216 (($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
6217 (($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
6218 ($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
6219 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6220 return 0;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6221 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6222 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6223 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6224 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
6225 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
6226 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
6227 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
6228 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
6229 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
6230 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
6231 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6232 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6233
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6234
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6235 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6236 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
6237
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6238 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6239 no_imlib=yes
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6240 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6241 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
6242 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
6243 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6244
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6245 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
6246 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
6247 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6248 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6249 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
6250 { $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
6251 $as_echo "yes" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6252 $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
6253
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6254 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6255 { $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
6256 $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
6257 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
6258 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
6259 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
6260 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
6261 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
6262 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6263 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
6264 :
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6265 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6266 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
6267 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
6268 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
6269 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
6270 /* 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
6271
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6272 #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
6273 #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
6274
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6275 int
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6276 main ()
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6277 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6278 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
6279 ;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6280 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
6281 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6282 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6283 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
6284 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
6285 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
6286 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
6287 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
6288 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
6289 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
6290 echo "***"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6291 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
6292 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
6293 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6294 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
6295 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
6296 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
6297 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
6298 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6299 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
6300 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
6301 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
6302 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
6303 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6304 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6305 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
6306 GDK_IMLIB_LIBS=""
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6307 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
6308 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6309
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6310
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
6311 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
6312
2204
b86ae2abb3b3 GTK: Added GTK2 support for GResource embedded images.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2203
diff changeset
6313 CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6314 else
1094
b2a4cfc3cb87 Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1033
diff changeset
6315 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
6316 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES`
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6317
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6318
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6319
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6320
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6321
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6322
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6323
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6324 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6325 if test -n "$ac_tool_prefix"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6326 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6327 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6329 $as_echo_n "checking for $ac_word... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6330 if ${ac_cv_path_PKG_CONFIG+:} false; then :
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6331 $as_echo_n "(cached) " >&6
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6332 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6333 case $PKG_CONFIG in
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6334 [\\/]* | ?:[\\/]*)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6335 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6336 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6337 *)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6339 for as_dir in $PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6340 do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6341 IFS=$as_save_IFS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6342 test -z "$as_dir" && as_dir=.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6343 for ac_exec_ext in '' $ac_executable_extensions; do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6345 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6347 break 2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6348 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6349 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6350 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6351 IFS=$as_save_IFS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6352
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6353 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6354 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6355 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6356 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6357 if test -n "$PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6359 $as_echo "$PKG_CONFIG" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6360 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6362 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6363 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6364
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6365
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6366 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6367 if test -z "$ac_cv_path_PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6368 ac_pt_PKG_CONFIG=$PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6369 # Extract the first word of "pkg-config", so it can be a program name with args.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6370 set dummy pkg-config; ac_word=$2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6372 $as_echo_n "checking for $ac_word... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6373 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6374 $as_echo_n "(cached) " >&6
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6375 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6376 case $ac_pt_PKG_CONFIG in
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6377 [\\/]* | ?:[\\/]*)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6378 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6379 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6380 *)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6382 for as_dir in $PATH
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6383 do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6384 IFS=$as_save_IFS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6385 test -z "$as_dir" && as_dir=.
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6386 for ac_exec_ext in '' $ac_executable_extensions; do
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6388 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6390 break 2
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6391 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6392 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6393 done
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6394 IFS=$as_save_IFS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6395
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6396 ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6397 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6398 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6399 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6400 if test -n "$ac_pt_PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6402 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6403 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6405 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6406 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6407
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6408 if test "x$ac_pt_PKG_CONFIG" = x; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6409 PKG_CONFIG=""
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6410 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6411 case $cross_compiling:$ac_tool_warned in
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6412 yes:)
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6415 ac_tool_warned=yes ;;
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6416 esac
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6417 PKG_CONFIG=$ac_pt_PKG_CONFIG
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6418 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6419 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6420 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6421 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6422
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6423 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6424 if test -n "$PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6425 _pkg_min_version=0.9.0
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6427 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6428 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6430 $as_echo "yes" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6431 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6433 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6434 PKG_CONFIG=""
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6435 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6436 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6437
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6438 pkg_failed=no
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6440 $as_echo_n "checking for GLIB... " >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6441
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6442 if test -n "$GLIB_CFLAGS"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6443 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6444 elif test -n "$PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6445 if test -n "$PKG_CONFIG" && \
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32.0\""; } >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6447 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32.0") 2>&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6448 ac_status=$?
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6450 test $ac_status = 0; }; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6451 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.32.0" 2>/dev/null`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6452 test "x$?" != "x0" && pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6453 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6454 pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6455 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6456 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6457 pkg_failed=untried
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6458 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6459 if test -n "$GLIB_LIBS"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6460 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6461 elif test -n "$PKG_CONFIG"; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6462 if test -n "$PKG_CONFIG" && \
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32.0\""; } >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6464 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32.0") 2>&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6465 ac_status=$?
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6467 test $ac_status = 0; }; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6468 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.32.0" 2>/dev/null`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6469 test "x$?" != "x0" && pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6470 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6471 pkg_failed=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6472 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6473 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6474 pkg_failed=untried
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6475 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6476
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6477
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6478
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6479 if test $pkg_failed = yes; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6481 $as_echo "no" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6482
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6484 _pkg_short_errors_supported=yes
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6485 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6486 _pkg_short_errors_supported=no
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6487 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6488 if test $_pkg_short_errors_supported = yes; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6489 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.32.0" 2>&1`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6490 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6491 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.32.0" 2>&1`
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6492 fi
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6493 # Put the nasty error message in config.log where it belongs
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6494 echo "$GLIB_PKG_ERRORS" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6495
2203
12fb7f32f3a9 GTK: DW_INCLUDE_DEPRECATED should bring in DW_INCLUDE_DEPRECATED_RESOURCES.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2202
diff changeset
6496 CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6497 elif test $pkg_failed = untried; then
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6499 $as_echo "no" >&6; }
2203
12fb7f32f3a9 GTK: DW_INCLUDE_DEPRECATED should bring in DW_INCLUDE_DEPRECATED_RESOURCES.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2202
diff changeset
6500 CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6501 else
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6502 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6503 GLIB_LIBS=$pkg_cv_GLIB_LIBS
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6505 $as_echo "yes" >&6; }
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6506 DW_GRESOURCE="enabled"
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6507 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6508 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
6509 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
6510
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6511 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
6512 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
6513 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
6514
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6515 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6516 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
6517 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6518
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6519
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6520 { $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
6521 $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
6522 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
6523 $as_echo_n "(cached) " >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6524 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6525 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6526 LIBS="-lpthread $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6528 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6529
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6530 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6531 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
6532 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6533 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6534 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6535 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6536 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6537 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6538 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6539 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6540 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6541 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6542 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6543 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6544 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6545 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6546 ac_cv_lib_pthread_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6547 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6548 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
6549 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6550 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
6551 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6552 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6553 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6554 { $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
6555 $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
6556 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
6557 PTHREAD_LIBS="-lpthread"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6558 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6559 { $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
6560 $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
6561 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
6562 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6563 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6564 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6565 LIBS="-lpthreads $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6567 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6568
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6569 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6570 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
6571 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6572 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6573 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6574 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6575 char pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6576 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6577 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6578 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6579 return pthread_attr_init ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6580 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6581 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6582 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6583 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6584 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6585 ac_cv_lib_pthreads_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6586 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6587 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
6588 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6589 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
6590 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6591 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6592 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6593 { $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
6594 $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
6595 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
6596 PTHREAD_LIBS="-lpthreads"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6597 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6598 { $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
6599 $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
6600 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
6601 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6602 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6603 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6604 LIBS="-lc_r $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6605 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
6606 /* end confdefs.h. */
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6607
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6608 /* 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
6609 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
6610 builtin and then its argument prototype would still apply. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6611 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6612 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6613 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6614 char pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6615 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6616 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6617 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6618 return pthread_attr_init ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6619 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6620 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6621 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6622 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6623 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6624 ac_cv_lib_c_r_pthread_attr_init=yes
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6625 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6626 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
6627 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6628 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
6629 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
6630 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
6631 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6632 { $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
6633 $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
6634 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6635 PTHREAD_LIBS="-lc_r"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6636 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
6638 $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
6639 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
6640 $as_echo_n "(cached) " >&6
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6641 else
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6642 ac_check_lib_save_LIBS=$LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6643 LIBS="-lc $LIBS"
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6644 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
6645 /* end confdefs.h. */
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6646
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6647 /* 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
6648 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
6649 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
6650 #ifdef __cplusplus
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6651 extern "C"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6652 #endif
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6653 char pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6654 int
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6655 main ()
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6656 {
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6657 return pthread_attr_init ();
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6658 ;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6659 return 0;
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6660 }
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6661 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6662 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
6663 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
6664 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6665 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
6666 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6667 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
6668 conftest$ac_exeext conftest.$ac_ext
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6669 LIBS=$ac_check_lib_save_LIBS
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6670 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6671 { $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
6672 $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
6673 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
6674 PTHREAD_LIBS="-lc"
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6675 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6676 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
6677
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6678 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6679
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6680
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6681 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6682
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6683
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6684 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6685
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6686
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6687 fi
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6688
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6689 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
6690
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6691 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
6692
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
6693 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
6694 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
6695 fi
2005
a17cc1958369 GTK: Added WebKit2 support for GTK3. Remove dead code from GTK2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2003
diff changeset
6696 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
6697 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
6698 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
6699 { $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
6700 $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
6701 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
6702 $as_echo_n "(cached) " >&6
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6703 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6704 ac_check_lib_save_LIBS=$LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6705 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
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6707 /* end confdefs.h. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6708
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6709 /* Override any GCC internal prototype to avoid an error.
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6710 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
6711 builtin and then its argument prototype would still apply. */
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6712 #ifdef __cplusplus
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6713 extern "C"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6714 #endif
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6715 char webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6716 int
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6717 main ()
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6718 {
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6719 return webkit_web_view_new ();
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6720 ;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6721 return 0;
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6722 }
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6723 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6724 if ac_fn_c_try_link "$LINENO"; then :
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6725 eval "$as_ac_Lib=yes"
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6726 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6727 eval "$as_ac_Lib=no"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6728 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6729 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
6730 conftest$ac_exeext conftest.$ac_ext
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6731 LIBS=$ac_check_lib_save_LIBS
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6732 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6733 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
6734 { $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
6735 $as_echo "$ac_res" >&6; }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6736 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
6737 $as_echo "#define USE_WEBKIT 1" >>confdefs.h
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6738
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6739 fi
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6740
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6741 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6742
2003
dee122916f3c GTK: Switch GTK3 to be the default. GTK2 requires --with-gtk2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1913
diff changeset
6743 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
6744
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6745 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
6746 do :
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6747 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
6748 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
6749 cat >>confdefs.h <<_ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6750 #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
6751 _ACEOF
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6752
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6753 $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
6754
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6755 fi
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6756 done
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6757
1794
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6758 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
6759 do :
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6760 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
6761 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
6762 cat >>confdefs.h <<_ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6763 #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
6764 _ACEOF
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6765
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6766 $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
6767
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6768 fi
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6769 done
97b1edb41d44 Added code to disable Ubuntu overlay scrollbars for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1793
diff changeset
6770
1793
2cfbfccbbafe Added code to disable Ubuntu overlay scrollbars
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1611
diff changeset
6771
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6772 RM="rm -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6773 LN="ln -s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6774 CP="cp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6775 MV="mv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6776 MKDIR="mkdir"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6777
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6778
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6779
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6780
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6781
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6782
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6783
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6784
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6785
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6786
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6787
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
6788
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6789
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
6790
636
f6f887d2c5aa Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 624
diff changeset
6791
639
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6792
06be879f5137 Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 636
diff changeset
6793
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6794
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6795
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
6796
663
86c404056262 Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 644
diff changeset
6797
761
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6798
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6799
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6800
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6801
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6802
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6803
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6804
39d848c20c05 Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 663
diff changeset
6805
2111
37ce3e22ee1a GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2109
diff changeset
6806
2202
c677d728e143 GTK3: Switch to using GResource for compiled in image resources.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2185
diff changeset
6807
2109
068681933258 GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2087
diff changeset
6808 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
6809
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6810 cat >confcache <<\_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6811 # This file is a shell script that caches the results of configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6812 # tests run on this system so they can be shared between configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6813 # scripts and configure runs, see configure's option --config-cache.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6814 # It is not useful on other systems. If it contains results you don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6815 # want to keep, you may remove or edit it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6816 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6817 # config.status only pays attention to the cache file if you give it
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6818 # the --recheck option to rerun configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6819 #
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6820 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6821 # loading this file, other *unset* `ac_cv_foo' will be assigned the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6822 # following values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6823
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6824 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6825
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6826 # The following way of writing the cache mishandles newlines in values,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6827 # 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
6828 # So, we kill variables containing newlines.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6829 # Ultrix sh set writes to stderr and can't be redirected directly,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6830 # 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
6831 (
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6832 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
6833 eval ac_val=\$$ac_var
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6834 case $ac_val in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6835 *${as_nl}*)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6836 case $ac_var in #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6837 *_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
6838 $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
6839 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6840 case $ac_var in #(
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6841 _ | IFS | as_nl) ;; #(
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6842 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
6843 *) { eval $ac_var=; unset $ac_var;} ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6844 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6845 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6846 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6847
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6848 (set) 2>&1 |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6849 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
6850 *${as_nl}ac_space=\ *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6851 # `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
6852 # substitution turns \\\\ into \\, and sed turns \\ into \.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6853 sed -n \
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6854 "s/'/'\\\\''/g;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6855 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
6856 ;; #(
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6857 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6858 # `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
6859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6860 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6861 esac |
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6862 sort
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6863 ) |
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6864 sed '
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6865 /^ac_cv_env_/b end
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6866 t clear
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6867 :clear
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6869 t end
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6870 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6871 :end' >>confcache
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6872 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
6873 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
6874 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
6875 { $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
6876 $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
6877 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
6878 cat confcache >"$cache_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6879 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6880 case $cache_file in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6881 */* | ?:*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6882 mv -f confcache "$cache_file"$$ &&
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6883 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
6884 *)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6885 mv -f confcache "$cache_file" ;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6886 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6887 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6888 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6889 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6890 { $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
6891 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6892 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6893 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6894 rm -f confcache
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6895
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6896 test "x$prefix" = xNONE && prefix=$ac_default_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6897 # Let make expand exec_prefix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6898 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6899
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6900 DEFS=-DHAVE_CONFIG_H
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6901
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6902 ac_libobjs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6903 ac_ltlibobjs=
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6904 U=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6905 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
6906 # 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
6907 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
6908 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
6909 # 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
6910 # 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
6911 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
6912 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
6913 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6914 LIBOBJS=$ac_libobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6915
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6916 LTLIBOBJS=$ac_ltlibobjs
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6917
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6918
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6919
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6920 : "${CONFIG_STATUS=./config.status}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6921 ac_write_fail=0
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6922 ac_clean_files_save=$ac_clean_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6923 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
6924 { $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
6925 $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
6926 as_write_fail=0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6927 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6928 #! $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
6929 # Generated by $as_me.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6930 # Run this file to recreate the current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6931 # Compiler output produced by configure, useful for debugging
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6932 # configure, is in config.log if it exists.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6933
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6934 debug=false
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6935 ac_cs_recheck=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6936 ac_cs_silent=false
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6937
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6938 SHELL=\${CONFIG_SHELL-$SHELL}
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6939 export SHELL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6940 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6941 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
6942 ## -------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6943 ## M4sh Initialization. ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6944 ## -------------------- ##
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6945
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6946 # Be more Bourne compatible
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6947 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
6948 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6949 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6950 NULLCMD=:
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6951 # 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
6952 # 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
6953 alias -g '${1+"$@"}'='"$@"'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6954 setopt NO_GLOB_SUBST
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6955 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6956 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
6957 *posix*) :
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6958 set -o posix ;; #(
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 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
6961 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6962 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6963
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6964
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6965 as_nl='
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6966 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6967 export as_nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6968 # 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
6969 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6970 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
6971 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
6972 # 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
6973 # 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
6974 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
6975 && (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
6976 as_echo='print -r --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6977 as_echo_n='print -rn --'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6978 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
6979 as_echo='printf %s\n'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6980 as_echo_n='printf %s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6981 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6982 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
6983 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
6984 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
6985 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6986 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
6987 as_echo_n_body='eval
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6988 arg=$1;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6989 case $arg in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6990 *"$as_nl"*)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6991 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
6992 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
6993 esac;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6994 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
6995 '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6996 export as_echo_n_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6997 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
6998 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
6999 export as_echo_body
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7000 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
7001 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
7002
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7003 # 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
7004 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
7005 PATH_SEPARATOR=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7006 (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
7007 (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
7008 PATH_SEPARATOR=';'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7009 }
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7010 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7011
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7012
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7013 # IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7014 # 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
7015 # 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
7016 # (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
7017 # splitting by setting IFS to empty value.)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7018 IFS=" "" $as_nl"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7019
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7020 # 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
7021 as_myself=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7022 case $0 in #((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7023 *[\\/]* ) as_myself=$0 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7024 *) 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
7025 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
7026 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
7027 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
7028 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
7029 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
7030 done
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7031 IFS=$as_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7032
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7033 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7034 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7035 # 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
7036 # 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
7037 if test "x$as_myself" = x; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7038 as_myself=$0
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7039 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7040 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
7041 $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
7042 exit 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7043 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7044
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7045 # 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
7046 # 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
7047 # 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
7048 # 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
7049 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
7050 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
7051 && ( (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
7052 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7053 PS1='$ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7054 PS2='> '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7055 PS4='+ '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7056
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7057 # NLS nuisances.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7058 LC_ALL=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7059 export LC_ALL
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7060 LANGUAGE=C
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7061 export LANGUAGE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7062
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7063 # CDPATH.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7064 (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
7065
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7066
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7067 # 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
7068 # ----------------------------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7069 # 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
7070 # 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
7071 # 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
7072 as_fn_error ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7073 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7074 as_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
7075 if test "$4"; then
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7076 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
7077 $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
7078 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7079 $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
7080 as_fn_exit $as_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7081 } # as_fn_error
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7082
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7083
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7084 # as_fn_set_status STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7085 # -----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7086 # Set $? to STATUS, without forking.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7087 as_fn_set_status ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7088 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7089 return $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7090 } # as_fn_set_status
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7091
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7092 # as_fn_exit STATUS
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7093 # -----------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7094 # 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
7095 as_fn_exit ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7096 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7097 set +e
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7098 as_fn_set_status $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7099 exit $1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7100 } # as_fn_exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7101
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7102 # as_fn_unset VAR
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7103 # ---------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7104 # Portably unset VAR.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7105 as_fn_unset ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7106 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7107 { eval $1=; unset $1;}
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7108 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7109 as_unset=as_fn_unset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7110 # as_fn_append VAR VALUE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7111 # ----------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7112 # 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
7113 # 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
7114 # 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
7115 # implementations.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7116 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
7117 eval 'as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7118 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7119 eval $1+=\$2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7120 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7121 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7122 as_fn_append ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7123 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7124 eval $1=\$$1\$2
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 fi # as_fn_append
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7127
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7128 # as_fn_arith ARG...
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7129 # ------------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7130 # 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
7131 # 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
7132 # 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
7133 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
7134 eval 'as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7135 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7136 as_val=$(( $* ))
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7137 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7138 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7139 as_fn_arith ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7140 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7141 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
7142 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7143 fi # as_fn_arith
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7144
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7145
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7146 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
7147 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7148 as_expr=expr
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7149 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7150 as_expr=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7151 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7152
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7153 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
7154 as_basename=basename
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7155 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7156 as_basename=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7157 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7158
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7159 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
7160 as_dirname=dirname
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7161 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7162 as_dirname=false
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7163 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7164
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7165 as_me=`$as_basename -- "$0" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7167 X"$0" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7168 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
7169 $as_echo X/"$0" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7170 sed '/^.*\/\([^/][^/]*\)\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7171 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7172 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7173 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7174 /^X\/\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7175 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7176 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7177 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7178 /^X\/\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7179 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7180 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7181 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7182 s/.*/./; q'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7183
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7184 # Avoid depending upon Character Ranges.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7185 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7186 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7187 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
7188 as_cr_digits='0123456789'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7189 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
7190
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7191 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
7192 case `echo -n x` in #(((((
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7193 -n*)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7194 case `echo 'xy\c'` in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7195 *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
7196 xy) ECHO_C='\c';;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7197 *) 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
7198 ECHO_T=' ';;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7199 esac;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7200 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7201 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
7202 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7203
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7204 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
7205 if test -d conf$$.dir; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7206 rm -f conf$$.dir/conf$$.file
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7207 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7208 rm -f conf$$.dir
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7209 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
7210 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7211 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
7212 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
7213 as_ln_s='ln -s'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7214 # ... but there are two gotchas:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7215 # 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
7216 # 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
7217 # 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
7218 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
7219 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
7220 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
7221 as_ln_s=ln
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7222 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7223 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
7224 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7225 else
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7226 as_ln_s='cp -pR'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7227 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7228 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
7229 rmdir conf$$.dir 2>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7230
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7231
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7232 # as_fn_mkdir_p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7233 # -------------
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7234 # 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
7235 as_fn_mkdir_p ()
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7236 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7237
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7238 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7239 -*) as_dir=./$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7240 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7241 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
7242 as_dirs=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7243 while :; do
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7244 case $as_dir in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7245 *\'*) 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
7246 *) as_qdir=$as_dir;;
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7247 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7248 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
7249 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
7250 $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
7251 X"$as_dir" : 'X\(//\)[^/]' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7252 X"$as_dir" : 'X\(//\)$' \| \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7253 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
7254 $as_echo X"$as_dir" |
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7256 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7257 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7258 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7259 /^X\(\/\/\)[^/].*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7260 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7261 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7262 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7263 /^X\(\/\/\)$/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7264 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7265 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7266 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7267 /^X\(\/\).*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7268 s//\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7269 q
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7270 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7271 s/.*/./; q'`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7272 test -d "$as_dir" && break
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7273 done
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7274 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
7275 } || 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
7276
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7277
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7278 } # as_fn_mkdir_p
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7279 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
7280 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
7281 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7282 test -d ./-p && rmdir ./-p
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7283 as_mkdir_p=false
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7284 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7285
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7286
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7287 # 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
7288 # -----------------------
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7289 # 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
7290 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
7291 {
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7292 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
7293 } # 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
7294 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
7295 as_executable_p=as_fn_executable_p
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7296
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7297 # 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
7298 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
7299
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7300 # 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
7301 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
7302
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7303
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7304 exec 6>&1
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7305 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7306 ## 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
7307 ## ----------------------------------- ##
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7308 _ASEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7309 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
7310
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7311 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
7312 # 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
7313 # 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
7314 # values after options handling.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7315 ac_log="
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
7316 This file was extended by dwindows $as_me 3.2, which was
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7317 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
7318
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7319 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
7320 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
7321 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
7322 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
7323 $ $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
7324
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7325 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
7326 "
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7327
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7328 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7329
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7330 case $ac_config_files in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7331 "*) 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
7332 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7333
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7334 case $ac_config_headers in *"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7335 "*) 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
7336 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7337
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7338
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7340 # 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
7341 config_files="$ac_config_files"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7342 config_headers="$ac_config_headers"
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7343
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7344 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7345
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7347 ac_cs_usage="\
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7348 \`$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
7349 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
7350 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
7351
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7352 Usage: $0 [OPTION]... [TAG]...
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7353
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7354 -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
7355 -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
7356 --config print configuration, then exit
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7357 -q, --quiet, --silent
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7358 do not print progress messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7359 -d, --debug don't remove temporary files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7360 --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
7361 --file=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7362 instantiate the configuration file FILE
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7363 --header=FILE[:TEMPLATE]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7364 instantiate the configuration header FILE
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7365
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7366 Configuration files:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7367 $config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7368
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7369 Configuration headers:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7370 $config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7371
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7372 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
7373
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7374 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7375 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
7376 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7377 ac_cs_version="\\
2403
20f05d3a9c64 Set the package name and version for autoconf. Remove reference to winmain.c.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2320
diff changeset
7378 dwindows config.status 3.2
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7379 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
7380 with options \\"\$ac_cs_config\\"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7381
1913
5d32be499016 The GTK MDI code is filling up with deprecated calls
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1850
diff changeset
7382 Copyright (C) 2012 Free Software Foundation, Inc.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7383 This config.status script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7384 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
7385
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7386 ac_pwd='$ac_pwd'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7387 srcdir='$srcdir'
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7388 INSTALL='$INSTALL'
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7389 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
7390 _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
7391
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 # The default lists apply if the user does not specify any file.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7394 ac_need_defaults=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7395 while test $# != 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7396 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7397 case $1 in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7398 --*=?*)
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7399 ac_option=`expr "X$1" : 'X\([^=]*\)='`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7400 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7401 ac_shift=:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7402 ;;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7403 --*=)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7404 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
7405 ac_optarg=
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7406 ac_shift=:
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7407 ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7408 *)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7409 ac_option=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7410 ac_optarg=$2
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7411 ac_shift=shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7412 ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7413 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7414
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7415 case $ac_option in
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7416 # Handling of the options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7417 -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
7418 ac_cs_recheck=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7419 --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
7420 $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
7421 --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
7422 $as_echo "$ac_cs_config"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7423 --debug | --debu | --deb | --de | --d | -d )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7424 debug=: ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7425 --file | --fil | --fi | --f )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7426 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7427 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7428 *\'*) 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
7429 '') 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
7430 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7431 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
7432 ac_need_defaults=false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7433 --header | --heade | --head | --hea )
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7434 $ac_shift
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7435 case $ac_optarg in
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7436 *\'*) 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
7437 esac
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7438 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
7439 ac_need_defaults=false;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7440 --he | --h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7441 # 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
7442 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
7443 Try \`$0 --help' for more information.";;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7444 --help | --hel | -h )
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7445 $as_echo "$ac_cs_usage"; exit ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7446 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7447 | -silent | --silent | --silen | --sile | --sil | --si | --s)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7448 ac_cs_silent=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7449
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7450 # This is an error.
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7451 -*) 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
7452 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
7453
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7454 *) 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
7455 ac_need_defaults=false ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7456
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7457 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7458 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7459 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7460
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7461 ac_configure_extra_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7462
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7463 if $ac_cs_silent; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7464 exec 6>/dev/null
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7465 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
7466 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7467
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7468 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7469 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
7470 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
7471 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
7472 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7473 \$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
7474 CONFIG_SHELL='$SHELL'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7475 export CONFIG_SHELL
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7476 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
7477 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
7478
6baf177f335c Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1351
diff changeset
7479 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7480 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
7481 exec 5>>config.log
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7482 {
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7483 echo
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7484 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
7485 ## Running $as_me. ##
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7486 _ASBOX
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7487 $as_echo "$ac_log"
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7488 } >&5
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7489
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7490 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7491 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
7492 _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
7493
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7494 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
7495
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7496 # Handling of arguments.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7497 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
7498 do
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7499 case $ac_config_target in
2160
07f1366a724c Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2130
diff changeset
7500 "dwconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS dwconfig.h" ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7501 "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
7502 "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
7503 "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
7504 "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
7505
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7506 *) 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
7507 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7508 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
7509
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7510
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7511 # If the user did not use the arguments to specify the items to instantiate,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7512 # then the envvar interface is used. Set only those that are not.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7513 # We use the long form for the default assignment because of an extremely
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7514 # bizarre bug on SunOS 4.1.3.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7515 if $ac_need_defaults; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7516 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7517 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7518 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7519
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7520 # 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
7521 # 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
7522 # 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
7523 # Hook for its removal unless debugging.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7524 # 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
7525 # after its creation but before its name has been assigned to `$tmp'.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7526 $debug ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7527 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7528 tmp= ac_tmp=
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7529 trap 'exit_status=$?
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7530 : "${ac_tmp:=$tmp}"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7531 { 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
7532 ' 0
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7533 trap 'as_fn_exit 1' 1 2 13 15
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7534 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7535 # 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
7536
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7537 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7538 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
7539 test -d "$tmp"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7540 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7541 {
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7542 tmp=./conf$$-$RANDOM
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7543 (umask 077 && mkdir "$tmp")
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7544 } || 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
7545 ac_tmp=$tmp
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7546
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7547 # 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
7548 # 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
7549 # 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
7550 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
7551
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7552
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7553 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
7554 # 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
7555 # 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
7556 # 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
7557 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
7558 eval ac_cr=\$\'\\r\'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7559 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7560 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
7561 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
7562 ac_cs_awk_cr='\\r'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7563 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7564 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
7565 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7566
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7567 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
7568 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7569
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7570
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
7571 {
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7572 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
7573 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
7574 echo "_ACEOF"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7575 } >conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7576 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
7577 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
7578 ac_delim='%!_!# '
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7579 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
7580 . ./conf$$subs.sh ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7581 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
7582
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7583 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
7584 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
7585 break
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7586 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
7587 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
7588 else
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7589 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
7590 fi
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7591 done
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7592 rm -f conf$$subs.sh
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7593
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7594 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
7595 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
7596 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7597 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7598 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7599 s/^/S["/; s/!.*/"]=/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7600 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7601 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7602 s/^[^!]*!//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7603 :repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7604 t repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7605 s/'"$ac_delim"'$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7606 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7607 :nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7608 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7609 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7610 t more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7611 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7612 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7613 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7614 b repl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7615 :more1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7616 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7617 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7618 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7619 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7620 t nl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7621 :delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7622 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7623 s/\(.\{148\}\)..*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7624 t more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7625 s/["\\]/\\&/g; s/^/"/; s/$/"/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7626 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7627 b
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7628 :more2
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7629 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7630 p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7631 g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7632 s/.\{148\}//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7633 t delim
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7634 ' <conf$$subs.awk | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7635 /^[^""]/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7636 N
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7637 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7638 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7639 ' >>$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
7640 rm -f conf$$subs.awk
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7641 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
7642 _ACAWK
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7643 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
7644 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
7645 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7646
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7647 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7648 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7649 line = $ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7650 nfields = split(line, field, "@")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7651 substed = 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7652 len = length(field[1])
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7653 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
7654 key = field[i]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7655 keylen = length(key)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7656 if (S_is_set[key]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7657 value = S[key]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7658 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
7659 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
7660 substed = 1
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7661 } else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7662 len += 1 + keylen
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7663 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7664
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7665 print line
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7666 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7667
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7668 _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
7669 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7670 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
7671 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
7672 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
7673 else
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7674 cat
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7675 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
7676 || 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
7677 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7678
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7679 # 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
7680 # ${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
7681 # 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
7682 # (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
7683 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
7684 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7685 h
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7686 s///
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7687 s/^/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7688 s/[ ]*$/:/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7689 s/:\$(srcdir):/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7690 s/:\${srcdir}:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7691 s/:@srcdir@:/:/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7692 s/^:*//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7693 s/:*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7694 x
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7695 s/\(=[ ]*\).*/\1/
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7696 G
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7697 s/\n//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7698 s/^[^=]*=[ ]*$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7699 }'
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7700 fi
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 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
7703 fi # test -n "$CONFIG_FILES"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7704
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7705 # 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
7706 # 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
7707 # 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
7708 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
7709 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
7710 BEGIN {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7711 _ACEOF
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7712
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7713 # 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
7714 # 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
7715 # 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
7716
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7717 # 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
7718 # handling of long lines.
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7719 ac_delim='%!_!# '
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7720 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
7721 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
7722 if test -z "$ac_tt"; then
643
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7723 break
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7724 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
7725 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
7726 else
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7727 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7728 fi
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7729 done
9ab89d89e6b4 Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 639
diff changeset
7730
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7731 # 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
7732 # 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
7733 # newline sequences.
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7734
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7735 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
7736 sed -n '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7737 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7738 t rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7739 :rset
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7740 s/^[ ]*#[ ]*define[ ][ ]*/ /
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7741 t def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7742 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7743 :def
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7744 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7745 t bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7746 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7747 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
7748 D["\1"]=" \3"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7749 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
7750 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7751 :bsnl
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7752 s/["\\]/\\&/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7753 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
7754 D["\1"]=" \3\\\\\\n"\\/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7755 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7756 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
7757 t cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7758 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7759 :cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7760 n
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7761 s/.\{148\}/&'"$ac_delim"'/g
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7762 t clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7763 :clear
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7764 s/\\$//
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7765 t bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7766 s/["\\]/\\&/g; s/^/"/; s/$/"/p
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7767 d
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7768 :bsnlc
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7769 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
7770 b cont
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7771 ' <confdefs.h | sed '
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7772 s/'"$ac_delim"'/"\\\
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7773 "/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
7774
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7775 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
7776 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
7777 FS = ""
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7778 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7779 /^[\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
7780 line = \$ 0
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7781 split(line, arg, " ")
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7782 if (arg[1] == "#") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7783 defundef = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7784 mac1 = arg[3]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7785 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7786 defundef = substr(arg[1], 2)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7787 mac1 = arg[2]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7788 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7789 split(mac1, mac2, "(") #)
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7790 macro = mac2[1]
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7791 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
7792 if (D_is_set[macro]) {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7793 # 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
7794 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
7795 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7796 } else {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7797 # 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
7798 # 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
7799 # 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
7800 if (defundef == "undef") {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7801 print "/*", prefix defundef, macro, "*/"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7802 next
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7803 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7804 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7805 }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7806 { print }
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7807 _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
7808 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7809 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
7810 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
7811 fi # test -n "$CONFIG_HEADERS"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7812
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7813
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7814 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
7815 shift
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7816 for ac_tag
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7817 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7818 case $ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7819 :[FHLC]) ac_mode=$ac_tag; continue;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7820 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7821 case $ac_mode$ac_tag in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7822 :[FHL]*:*);;
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7823 :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
7824 :[FH]-) ac_tag=-:-;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7825 :[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
7826 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7827 ac_save_IFS=$IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7828 IFS=:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7829 set x $ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7830 IFS=$ac_save_IFS
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7831 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7832 ac_file=$1
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7833 shift
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7834
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7835 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7836 :L) ac_source=$1;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7837 :[FH])
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7838 ac_file_inputs=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7839 for ac_f
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7840 do
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7841 case $ac_f in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7842 -) ac_f="$ac_tmp/stdin";;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7843 *) # 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
7844 # (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
7845 # because $ac_f cannot contain `:'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7846 test -f "$ac_f" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7847 case $ac_f in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7848 [\\/$]*) false;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7849 *) 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
7850 esac ||
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7851 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
7852 esac
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7853 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
7854 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
7855 done
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7856
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7857 # 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
7858 # 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
7859 # /* 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
7860 configure_input='Generated from '`
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7861 $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
7862 `' by configure.'
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7863 if test x"$ac_file" != x-; then
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7864 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
7865 { $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
7866 $as_echo "$as_me: creating $ac_file" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7867 fi
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7868 # 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
7869 case $configure_input in #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7870 *\&* | *\|* | *\\* )
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7871 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
7872 sed 's/[\\\\&|]/\\\\&/g'`;; #(
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7873 *) 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
7874 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7875
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7876 case $ac_tag in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7877 *:-:* | *:-) cat >"$ac_tmp/stdin" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7878 || 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
7879 esac
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7880 ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
7881 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7882
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7883 ac_dir=`$as_dirname -- "$ac_file" ||
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7884 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7885 X"$ac_file" : 'X\(//\)[^/]' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7886 X"$ac_file" : 'X\(//\)$' \| \
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7887 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
7888 $as_echo X"$ac_file" |
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7890 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7891 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7892 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7893 /^X\(\/\/\)[^/].*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7894 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7895 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7896 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7897 /^X\(\/\/\)$/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7898 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7899 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7900 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7901 /^X\(\/\).*/{
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7902 s//\1/
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7903 q
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7904 }
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7905 s/.*/./; q'`
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7906 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
7907 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
7908
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7909 case "$ac_dir" in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7910 .) 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
7911 *)
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7912 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
7913 # 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
7914 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
7915 case $ac_top_builddir_sub in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7916 "") 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
7917 *) 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
7918 esac ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7919 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7920 ac_abs_top_builddir=$ac_pwd
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7921 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
7922 # for backward compatibility:
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7923 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
7924
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
7925 case $srcdir in
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7926 .) # 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
7927 ac_srcdir=.
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7928 ac_top_srcdir=$ac_top_builddir_sub
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7929 ac_abs_top_srcdir=$ac_pwd ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7930 [\\/]* | ?:[\\/]* ) # 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
7931 ac_srcdir=$srcdir$ac_dir_suffix;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7932 ac_top_srcdir=$srcdir
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7933 ac_abs_top_srcdir=$srcdir ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7934 *) # Relative name.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7935 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
7936 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
7937 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
7938 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7939 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
7940
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7941
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7942 case $ac_mode in
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7943 :F)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7944 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7945 # CONFIG_FILE
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7946 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7947
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7948 case $INSTALL in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7949 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7950 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7951 esac
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7952 _ACEOF
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7953
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7954
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7955 # Neutralize VPATH when `$srcdir' = `.'.
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7956 # 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
7957 # 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
7958 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
7959 ac_sed_extra="$ac_vpsub
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7960 $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
7961 _ACEOF
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7963 :t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7964 /@[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
7965 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
7966 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
7967 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
7968 s&@srcdir@&$ac_srcdir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7969 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
7970 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
7971 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
7972 s&@builddir@&$ac_builddir&;t t
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7973 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
7974 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
7975 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
7976 "
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7977 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
7978 >$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
7979
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7980
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7981 rm -f "$ac_tmp/stdin"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7982 case $ac_file in
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7983 -) 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
7984 *) 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
7985 esac \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7986 || 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
7987 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7988 :H)
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7989 #
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7990 # CONFIG_HEADER
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
7991 #
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7992 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
7993 {
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7994 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7995 && 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
7996 } >"$ac_tmp/config.h" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
7997 || 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
7998 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
7999 { $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
8000 $as_echo "$as_me: $ac_file is unchanged" >&6;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8001 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8002 rm -f "$ac_file"
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8003 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
8004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8005 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8006 else
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8007 $as_echo "/* $configure_input */" \
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8008 && 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
8009 || as_fn_error $? "could not create -" "$LINENO" 5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8010 fi
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8011 ;;
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8012
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8013
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8014 esac
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8015
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8016 done # for ac_tag
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8017
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8018
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8019 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
8020 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8021 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8022
1596
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8023 test $ac_write_fail = 0 ||
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8024 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
8025
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
8026
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8027 # configure is writing to config.log, and then calls config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8028 # config.status does its own redirection, appending to config.log.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8029 # Unfortunately, on DOS this fails, as config.log is still kept open
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8030 # by configure, so config.status won't be able to write to it; its
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8031 # output is simply discarded. So we exec the FD to /dev/null,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8032 # effectively closing config.log, so it can be properly (re)opened and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8033 # appended to by config.status. When coming back to configure, we
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8034 # need to make the FD available again.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8035 if test "$no_create" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8036 ac_cs_success=:
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8037 ac_config_status_args=
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8038 test "$silent" = yes &&
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8039 ac_config_status_args="$ac_config_status_args --quiet"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8040 exec 5>/dev/null
622
fb59f9eeeecd SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 588
diff changeset
8041 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8042 exec 5>>config.log
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8043 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8044 # 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
8045 $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
8046 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8047 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
8048 { $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
8049 $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
8050 fi
ae90d440b2a4 Updated the configure script with a newer autoconf.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1595
diff changeset
8051