Mercurial > dwindows
annotate configure @ 1595:080b764e8982
Up version number to 2.3.
Rename readme to readme.txt.
Cleanup some formatting issues with the last commit.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 23 Feb 2012 13:03:45 +0000 |
parents | 6baf177f335c |
children | ae90d440b2a4 |
rev | line source |
---|---|
3 | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | |
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
|
3 # Generated by GNU Autoconf 2.61. |
3 | 4 # |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
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
|
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
3 | 7 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | |
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
|
9 ## --------------------- ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
10 ## M4sh Initialization. ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
11 ## --------------------- ## |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
12 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
13 # Be more Bourne compatible |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
14 DUALCASE=1; export DUALCASE # for MKS sh |
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
|
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3 | 16 emulate sh |
17 NULLCMD=: | |
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
|
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
19 # 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
|
20 alias -g '${1+"$@"}'='"$@"' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
21 setopt NO_GLOB_SUBST |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
22 else |
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
|
23 case `(set -o) 2>/dev/null` in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
24 *posix*) set -o posix ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
25 esac |
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
|
26 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
27 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
|
28 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
29 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
30 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
31 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
32 # PATH needs CR |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
33 # Avoid depending upon Character Ranges. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
37 as_cr_digits='0123456789' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
38 as_cr_alnum=$as_cr_Letters$as_cr_digits |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
39 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
40 # 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
|
41 if test "${PATH_SEPARATOR+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
|
42 echo "#! /bin/sh" >conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
43 echo "exit 0" >>conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
44 chmod +x conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
46 PATH_SEPARATOR=';' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
47 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
|
48 PATH_SEPARATOR=: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
49 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
|
50 rm -f conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
51 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
|
52 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
53 # Support unset when possible. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
55 as_unset=unset |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
56 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
|
57 as_unset=false |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
58 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
59 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
60 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
61 # IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
62 # 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
|
63 # 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
|
64 # (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
|
65 # splitting by setting IFS to empty value.) |
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
|
66 as_nl=' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
67 ' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
68 IFS=" "" $as_nl" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
69 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
70 # Find who we are. Look in the path if we contain no directory separator. |
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
|
71 case $0 in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
72 *[\\/]* ) as_myself=$0 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
73 *) 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
|
74 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
|
75 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
|
76 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
|
77 test -z "$as_dir" && as_dir=. |
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
|
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
79 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
80 IFS=$as_save_IFS |
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 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
83 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
84 # 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
|
85 # 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
|
86 if test "x$as_myself" = x; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
87 as_myself=$0 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
88 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
89 if test ! -f "$as_myself"; 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
|
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
91 { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
92 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
|
93 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
94 # Work around bugs in pre-3.0 UWIN ksh. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
95 for as_var in ENV MAIL MAILPATH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
97 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
98 PS1='$ ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
99 PS2='> ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
100 PS4='+ ' |
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 # NLS nuisances. |
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
|
103 for as_var in \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
106 LC_TELEPHONE LC_TIME |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
107 do |
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
|
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
109 eval $as_var=C; export $as_var |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
110 else |
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
|
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
112 fi |
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
|
113 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
114 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
115 # Required to use basename. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
116 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
|
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
118 as_expr=expr |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
119 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
120 as_expr=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
121 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
122 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
123 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
|
124 as_basename=basename |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
125 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
126 as_basename=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
127 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
128 |
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
|
129 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
130 # Name of the executable. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
131 as_me=`$as_basename -- "$0" || |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
133 X"$0" : 'X\(//\)$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
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
|
135 echo X/"$0" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
137 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
138 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
139 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
140 /^X\/\(\/\/\)$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
141 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
142 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
143 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
144 /^X\/\(\/\).*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
145 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
146 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
147 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
148 s/.*/./; q'` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
149 |
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
|
150 # CDPATH. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
151 $as_unset CDPATH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
152 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
153 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
154 if test "x$CONFIG_SHELL" = x; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
155 if (eval ":") 2>/dev/null; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
156 as_have_required=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
157 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
|
158 as_have_required=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
159 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
|
160 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
161 if test $as_have_required = yes && (eval ": |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
162 (as_func_return () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
163 (exit \$1) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
164 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
165 as_func_success () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
166 as_func_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
|
167 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
168 as_func_failure () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
169 as_func_return 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
170 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
171 as_func_ret_success () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
172 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
|
173 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
174 as_func_ret_failure () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
175 return 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
176 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
177 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
178 exitcode=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
|
179 if as_func_success; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
180 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
181 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
|
182 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
183 echo as_func_success failed. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
184 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
|
185 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
186 if as_func_failure; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
187 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
188 echo as_func_failure succeeded. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
189 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
|
190 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
191 if as_func_ret_success; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
192 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
193 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
|
194 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
195 echo as_func_ret_success failed. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
196 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
|
197 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
198 if as_func_ret_failure; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
199 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
200 echo as_func_ret_failure succeeded. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
201 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
|
202 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
204 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
205 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
|
206 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
207 echo positional parameters were not saved. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
208 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
|
209 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
210 test \$exitcode = 0) || { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
211 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
212 ( |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
213 as_lineno_1=\$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
214 as_lineno_2=\$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
217 ") 2> /dev/null; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
218 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
219 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
|
220 as_candidate_shells= |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
223 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
224 IFS=$as_save_IFS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
225 test -z "$as_dir" && as_dir=. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
226 case $as_dir in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
227 /*) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
228 for as_base in sh bash ksh sh5; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
230 done;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
231 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
232 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
233 IFS=$as_save_IFS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
234 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
235 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
236 for as_shell in $as_candidate_shells $SHELL; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
237 # Try only shells that exist, to save several forks. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
239 { ("$as_shell") 2> /dev/null <<\_ASEOF |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
241 emulate sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
242 NULLCMD=: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
244 # is contrary to our usage. Disable this feature. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
245 alias -g '${1+"$@"}'='"$@"' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
246 setopt NO_GLOB_SUBST |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
247 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
|
248 case `(set -o) 2>/dev/null` in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
249 *posix*) set -o posix ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
250 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
251 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
252 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
|
253 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
254 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
255 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
256 _ASEOF |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
257 }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
258 CONFIG_SHELL=$as_shell |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
259 as_have_required=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
260 if { "$as_shell" 2> /dev/null <<\_ASEOF |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
262 emulate sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
263 NULLCMD=: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
265 # is contrary to our usage. Disable this feature. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
266 alias -g '${1+"$@"}'='"$@"' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
267 setopt NO_GLOB_SUBST |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
268 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
|
269 case `(set -o) 2>/dev/null` in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
270 *posix*) set -o posix ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
271 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
272 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
273 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
|
274 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
275 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
276 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
277 (as_func_return () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
278 (exit $1) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
279 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
280 as_func_success () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
281 as_func_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
|
282 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
283 as_func_failure () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
284 as_func_return 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
285 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
286 as_func_ret_success () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
287 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
|
288 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
289 as_func_ret_failure () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
290 return 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
291 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
292 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
293 exitcode=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
|
294 if as_func_success; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
295 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
296 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
|
297 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
298 echo as_func_success failed. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
299 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
|
300 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
301 if as_func_failure; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
302 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
303 echo as_func_failure succeeded. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
304 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
|
305 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
306 if as_func_ret_success; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
307 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
308 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
|
309 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
310 echo as_func_ret_success failed. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
311 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
|
312 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
313 if as_func_ret_failure; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
314 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
315 echo as_func_ret_failure succeeded. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
316 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
|
317 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
318 if ( set x; as_func_ret_success y && test x = "$1" ); then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
319 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
320 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
|
321 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
322 echo positional parameters were not saved. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
323 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
|
324 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
325 test $exitcode = 0) || { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
326 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
327 ( |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
328 as_lineno_1=$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
329 as_lineno_2=$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
330 test "x$as_lineno_1" != "x$as_lineno_2" && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
332 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
333 _ASEOF |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
334 }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
335 break |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
336 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
|
337 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
338 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
|
339 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
340 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
341 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
342 if test "x$CONFIG_SHELL" != x; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
343 for as_var in BASH_ENV ENV |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
345 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
346 export CONFIG_SHELL |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
348 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
|
349 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
350 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
351 if test $as_have_required = no; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
352 echo This script requires a shell more modern than all the |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
353 echo shells that I found on your system. Please install a |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
354 echo modern shell, or manually run the script under such a |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
355 echo shell if you do have one. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
356 { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
357 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
|
358 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
359 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
360 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
|
361 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
362 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
|
363 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
364 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
365 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
366 (eval "as_func_return () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
367 (exit \$1) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
368 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
369 as_func_success () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
370 as_func_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
|
371 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
372 as_func_failure () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
373 as_func_return 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
374 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
375 as_func_ret_success () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
376 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
|
377 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
378 as_func_ret_failure () { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
379 return 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
380 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
381 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
382 exitcode=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
|
383 if as_func_success; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
384 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
385 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
|
386 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
387 echo as_func_success failed. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
388 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
|
389 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
390 if as_func_failure; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
391 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
392 echo as_func_failure succeeded. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
393 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
|
394 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
395 if as_func_ret_success; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
396 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
397 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
|
398 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
399 echo as_func_ret_success failed. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
400 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
|
401 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
402 if as_func_ret_failure; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
403 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
404 echo as_func_ret_failure succeeded. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
405 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
|
406 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
408 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
409 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
|
410 exitcode=1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
411 echo positional parameters were not saved. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
412 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
|
413 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
414 test \$exitcode = 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
|
415 echo No shell found that supports shell functions. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
416 echo Please tell autoconf@gnu.org about your system, |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
417 echo including any error possibly output before this |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
418 echo message |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
419 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
420 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
421 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
422 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
423 as_lineno_1=$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
424 as_lineno_2=$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
425 test "x$as_lineno_1" != "x$as_lineno_2" && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
427 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
429 # uniformly replaced by the line number. The first 'sed' inserts a |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
430 # line-number line after each line using $LINENO; the second 'sed' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
431 # does the real work. The second script uses 'N' to pair each |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
432 # line-number line with the line containing $LINENO, and appends |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
433 # trailing '-' during substitution so that $LINENO is not a special |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
434 # case at line end. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
436 # scripts with optimization help from Paolo Bonzini. Blame Lee |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
437 # 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
|
438 sed -n ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
439 p |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
440 /[$]LINENO/= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
441 ' <$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
|
442 sed ' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
443 s/[$]LINENO.*/&-/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
444 t lineno |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
445 b |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
446 :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
|
447 N |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
448 :loop |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
449 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
|
450 t loop |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
451 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
|
452 ' >$as_me.lineno && |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
453 chmod +x "$as_me.lineno" || |
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
|
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
455 { (exit 1); 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
|
456 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
457 # 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
|
458 # (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
|
459 # 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
|
460 . "./$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
|
461 # 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
|
462 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
|
463 } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
464 |
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
|
465 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
467 as_dirname=dirname |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
468 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
|
469 as_dirname=false |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
470 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
|
471 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
472 ECHO_C= ECHO_N= ECHO_T= |
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
|
473 case `echo -n x` in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
474 -n*) |
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
|
475 case `echo 'x\c'` in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
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
|
477 *) ECHO_C='\c';; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
478 esac;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
479 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
480 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
|
481 esac |
3 | 482 |
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
|
483 if expr a : '\(a\)' >/dev/null 2>&1 && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
485 as_expr=expr |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
486 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
|
487 as_expr=false |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
488 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
|
489 |
3 | 490 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
|
491 if test -d conf$$.dir; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
492 rm -f conf$$.dir/conf$$.file |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
493 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
494 rm -f conf$$.dir |
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
|
495 mkdir conf$$.dir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
496 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
|
497 echo >conf$$.file |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
498 if ln -s conf$$.file conf$$ 2>/dev/null; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
499 as_ln_s='ln -s' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
500 # ... but there are two gotchas: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
503 # In both cases, we have to default to `cp -p'. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3 | 505 as_ln_s='cp -p' |
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
|
506 elif ln conf$$.file conf$$ 2>/dev/null; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
507 as_ln_s=ln |
3 | 508 else |
509 as_ln_s='cp -p' | |
510 fi | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
511 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
|
512 rmdir conf$$.dir 2>/dev/null |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
513 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
514 if mkdir -p . 2>/dev/null; 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
|
515 as_mkdir_p=: |
622
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 test -d ./-p && rmdir ./-p |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
518 as_mkdir_p=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
519 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
520 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
521 if test -x / >/dev/null 2>&1; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
522 as_test_x='test -x' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
523 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
524 if ls -dL / >/dev/null 2>&1; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
525 as_ls_L_option=L |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
526 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
527 as_ls_L_option= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
528 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
529 as_test_x=' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
530 eval sh -c '\'' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
531 if test -d "$1"; 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
|
532 test -d "$1/."; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
533 else |
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
|
534 case $1 in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
535 -*)set "./$1";; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
536 esac; |
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
|
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
538 ???[sx]*):;;*)false;;esac;fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
539 '\'' sh |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
540 ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
541 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
542 as_executable_p=$as_test_x |
3 | 543 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
544 # 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
|
545 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
|
546 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
547 # 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
|
548 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
|
549 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
550 |
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
|
551 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
552 exec 7<&0 </dev/null 6>&1 |
3 | 553 |
554 # Name of the host. | |
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
|
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
3 | 556 # so uname gets run too. |
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
558 | |
559 # | |
560 # Initializations. | |
561 # | |
562 ac_default_prefix=/usr/local | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
563 ac_clean_files= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
564 ac_config_libobj_dir=. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
565 LIBOBJS= |
3 | 566 cross_compiling=no |
567 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
|
568 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
|
569 MAKEFLAGS= |
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
|
570 SHELL=${CONFIG_SHELL-/bin/sh} |
3 | 571 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
572 # Identity of this package. |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
573 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
|
574 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
|
575 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
|
576 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
|
577 PACKAGE_BUGREPORT= |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
578 |
3 | 579 ac_unique_file="winmain.c" |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
580 # 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
|
581 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
|
582 #include <stdio.h> |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
583 #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
|
584 # 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
|
585 #endif |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
586 #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
|
587 # 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
|
588 #endif |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
589 #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
|
590 # 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
|
591 # 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
|
592 #else |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
593 # 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
|
594 # 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
|
595 # 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
|
596 #endif |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
597 #ifdef HAVE_STRING_H |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
598 # 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
|
599 # 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
|
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 # 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
|
602 #endif |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
603 #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
|
604 # 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
|
605 #endif |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
606 #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
|
607 # 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
|
608 #endif |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
609 #ifdef HAVE_STDINT_H |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
610 # include <stdint.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
611 #endif |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
612 #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
|
613 # 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
|
614 #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
|
615 |
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
|
616 ac_subst_vars='SHELL |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
617 PATH_SEPARATOR |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
618 PACKAGE_NAME |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
619 PACKAGE_TARNAME |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
620 PACKAGE_VERSION |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
621 PACKAGE_STRING |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
622 PACKAGE_BUGREPORT |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
623 exec_prefix |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
624 prefix |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
625 program_transform_name |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
626 bindir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
627 sbindir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
628 libexecdir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
629 datarootdir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
630 datadir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
631 sysconfdir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
632 sharedstatedir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
633 localstatedir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
634 includedir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
635 oldincludedir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
636 docdir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
637 infodir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
638 htmldir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
639 dvidir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
640 pdfdir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
641 psdir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
642 libdir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
643 localedir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
644 mandir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
645 DEFS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
646 ECHO_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
|
647 ECHO_N |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
648 ECHO_T |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
649 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
|
650 build_alias |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
651 host_alias |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
652 target_alias |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
653 TARGET |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
654 TARGET2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
655 CC |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
656 CFLAGS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
657 LDFLAGS |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
658 CPPFLAGS |
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
|
659 ac_ct_CC |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
660 EXEEXT |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
661 OBJEXT |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
662 CXX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
663 CXXFLAGS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
664 ac_ct_CXX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
665 MAKE |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
666 SVNVERSION |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
667 INSTALL_PROGRAM |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
668 INSTALL_SCRIPT |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
669 INSTALL_DATA |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
670 build |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
671 build_cpu |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
672 build_vendor |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
673 build_os |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
674 host |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
675 host_cpu |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
676 host_vendor |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
677 host_os |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
678 target |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
679 target_cpu |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
680 target_vendor |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
681 target_os |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
682 CPP |
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 GREP |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
684 EGREP |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
685 PKG_CFG |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
686 GLIB_CONFIG |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
687 GLIB_CFLAGS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
688 GLIB_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
|
689 GTK_CONFIG |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
690 GTK_CFLAGS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
691 GTK_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
|
692 IMLIB_CONFIG |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
693 GDK_IMLIB_CFLAGS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
694 GDK_IMLIB_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
|
695 SYSCONF_LINK_TARGET_SHARED |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
696 SYSCONF_LINK_TARGET_SHARED2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
697 SYSCONF_LINK_TARGET_STATIC |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
698 INCLUDES |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
699 PLATCCFLAGS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
700 ARFLAGS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
701 RM |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
702 LN |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
703 CP |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
704 MV |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
705 MKDIR |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
706 SHAREDFLAG |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
707 SOSUFFIX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
708 LIBSUFFIX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
709 LIBPREFIX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
710 SONAME |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
711 TARGETS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
712 DW_SRC |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
713 DW_DIR |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
714 DW_DEFINE |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
715 BROWSER_OBJECT |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
716 COMPAT_OBJECT |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
717 INSTALL_COMPAT |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
718 ARCH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
719 LIBOBJS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
720 LTLIBOBJS' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
721 ac_subst_files='' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
722 ac_precious_vars='build_alias |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
723 host_alias |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
724 target_alias |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
725 CC |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
726 CFLAGS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
727 LDFLAGS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
728 LIBS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
729 CPPFLAGS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
730 CXX |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
731 CXXFLAGS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
732 CCC |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
733 CPP' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
734 |
3 | 735 |
736 # Initialize some variables set by options. | |
737 ac_init_help= | |
738 ac_init_version=false | |
739 # The variables have the same names as the options, with | |
740 # dashes changed to underlines. | |
741 cache_file=/dev/null | |
742 exec_prefix=NONE | |
743 no_create= | |
744 no_recursion= | |
745 prefix=NONE | |
746 program_prefix=NONE | |
747 program_suffix=NONE | |
748 program_transform_name=s,x,x, | |
749 silent= | |
750 site= | |
751 srcdir= | |
752 verbose= | |
753 x_includes=NONE | |
754 x_libraries=NONE | |
755 | |
756 # Installation directory options. | |
757 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
758 # and all the variables that are supposed to be based on exec_prefix | |
759 # by default will actually change. | |
760 # 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
|
761 # (The list follows the same order as the GNU Coding Standards.) |
3 | 762 bindir='${exec_prefix}/bin' |
763 sbindir='${exec_prefix}/sbin' | |
764 libexecdir='${exec_prefix}/libexec' | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
765 datarootdir='${prefix}/share' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
766 datadir='${datarootdir}' |
3 | 767 sysconfdir='${prefix}/etc' |
768 sharedstatedir='${prefix}/com' | |
769 localstatedir='${prefix}/var' | |
770 includedir='${prefix}/include' | |
771 oldincludedir='/usr/include' | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
772 docdir='${datarootdir}/doc/${PACKAGE}' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
773 infodir='${datarootdir}/info' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
774 htmldir='${docdir}' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
775 dvidir='${docdir}' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
776 pdfdir='${docdir}' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
777 psdir='${docdir}' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
778 libdir='${exec_prefix}/lib' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
779 localedir='${datarootdir}/locale' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
780 mandir='${datarootdir}/man' |
3 | 781 |
782 ac_prev= | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
783 ac_dashdash= |
3 | 784 for ac_option |
785 do | |
786 # If the previous option needs an argument, assign it. | |
787 if test -n "$ac_prev"; then | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
788 eval $ac_prev=\$ac_option |
3 | 789 ac_prev= |
790 continue | |
791 fi | |
792 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
793 case $ac_option in |
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
|
794 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
795 *) ac_optarg=yes ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
796 esac |
3 | 797 |
798 # Accept the important Cygnus configure options, so we can diagnose typos. | |
799 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
800 case $ac_dashdash$ac_option in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
801 --) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
802 ac_dashdash=yes ;; |
3 | 803 |
804 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
805 ac_prev=bindir ;; | |
806 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
807 bindir=$ac_optarg ;; | |
808 | |
809 -build | --build | --buil | --bui | --bu) | |
810 ac_prev=build_alias ;; | |
811 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
812 build_alias=$ac_optarg ;; | |
813 | |
814 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
815 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
816 ac_prev=cache_file ;; | |
817 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
818 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
819 cache_file=$ac_optarg ;; | |
820 | |
821 --config-cache | -C) | |
822 cache_file=config.cache ;; | |
823 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
824 -datadir | --datadir | --datadi | --datad) |
3 | 825 ac_prev=datadir ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
826 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
3 | 827 datadir=$ac_optarg ;; |
828 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
829 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
830 | --dataroo | --dataro | --datar) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
831 ac_prev=datarootdir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
834 datarootdir=$ac_optarg ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
835 |
3 | 836 -disable-* | --disable-*) |
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
|
837 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
3 | 838 # Reject names that are not valid shell variable names. |
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
|
839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
841 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
843 eval enable_$ac_feature=no ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
844 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
845 -docdir | --docdir | --docdi | --doc | --do) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
846 ac_prev=docdir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
847 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
848 docdir=$ac_optarg ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
849 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
850 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
851 ac_prev=dvidir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
852 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
853 dvidir=$ac_optarg ;; |
3 | 854 |
855 -enable-* | --enable-*) | |
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
|
856 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
3 | 857 # Reject names that are not valid shell variable names. |
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
|
858 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
860 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
861 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
862 eval enable_$ac_feature=\$ac_optarg ;; |
3 | 863 |
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
866 | --exec | --exe | --ex) | |
867 ac_prev=exec_prefix ;; | |
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
870 | --exec=* | --exe=* | --ex=*) | |
871 exec_prefix=$ac_optarg ;; | |
872 | |
873 -gas | --gas | --ga | --g) | |
874 # Obsolete; use --with-gas. | |
875 with_gas=yes ;; | |
876 | |
877 -help | --help | --hel | --he | -h) | |
878 ac_init_help=long ;; | |
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
880 ac_init_help=recursive ;; | |
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
882 ac_init_help=short ;; | |
883 | |
884 -host | --host | --hos | --ho) | |
885 ac_prev=host_alias ;; | |
886 -host=* | --host=* | --hos=* | --ho=*) | |
887 host_alias=$ac_optarg ;; | |
888 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
890 ac_prev=htmldir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
892 | --ht=*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
893 htmldir=$ac_optarg ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
894 |
3 | 895 -includedir | --includedir | --includedi | --included | --include \ |
896 | --includ | --inclu | --incl | --inc) | |
897 ac_prev=includedir ;; | |
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
899 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
900 includedir=$ac_optarg ;; | |
901 | |
902 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
903 ac_prev=infodir ;; | |
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
905 infodir=$ac_optarg ;; | |
906 | |
907 -libdir | --libdir | --libdi | --libd) | |
908 ac_prev=libdir ;; | |
909 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
910 libdir=$ac_optarg ;; | |
911 | |
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
913 | --libexe | --libex | --libe) | |
914 ac_prev=libexecdir ;; | |
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
916 | --libexe=* | --libex=* | --libe=*) | |
917 libexecdir=$ac_optarg ;; | |
918 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
919 -localedir | --localedir | --localedi | --localed | --locale) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
920 ac_prev=localedir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
922 localedir=$ac_optarg ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
923 |
3 | 924 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
925 | --localstate | --localstat | --localsta | --localst | --locals) |
3 | 926 ac_prev=localstatedir ;; |
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
3 | 929 localstatedir=$ac_optarg ;; |
930 | |
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
932 ac_prev=mandir ;; | |
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
934 mandir=$ac_optarg ;; | |
935 | |
936 -nfp | --nfp | --nf) | |
937 # Obsolete; use --without-fp. | |
938 with_fp=no ;; | |
939 | |
940 -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
|
941 | --no-cr | --no-c | -n) |
3 | 942 no_create=yes ;; |
943 | |
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
946 no_recursion=yes ;; | |
947 | |
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
950 | --oldin | --oldi | --old | --ol | --o) | |
951 ac_prev=oldincludedir ;; | |
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
955 oldincludedir=$ac_optarg ;; | |
956 | |
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
958 ac_prev=prefix ;; | |
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
960 prefix=$ac_optarg ;; | |
961 | |
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
963 | --program-pre | --program-pr | --program-p) | |
964 ac_prev=program_prefix ;; | |
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
967 program_prefix=$ac_optarg ;; | |
968 | |
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
970 | --program-suf | --program-su | --program-s) | |
971 ac_prev=program_suffix ;; | |
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
974 program_suffix=$ac_optarg ;; | |
975 | |
976 -program-transform-name | --program-transform-name \ | |
977 | --program-transform-nam | --program-transform-na \ | |
978 | --program-transform-n | --program-transform- \ | |
979 | --program-transform | --program-transfor \ | |
980 | --program-transfo | --program-transf \ | |
981 | --program-trans | --program-tran \ | |
982 | --progr-tra | --program-tr | --program-t) | |
983 ac_prev=program_transform_name ;; | |
984 -program-transform-name=* | --program-transform-name=* \ | |
985 | --program-transform-nam=* | --program-transform-na=* \ | |
986 | --program-transform-n=* | --program-transform-=* \ | |
987 | --program-transform=* | --program-transfor=* \ | |
988 | --program-transfo=* | --program-transf=* \ | |
989 | --program-trans=* | --program-tran=* \ | |
990 | --progr-tra=* | --program-tr=* | --program-t=*) | |
991 program_transform_name=$ac_optarg ;; | |
992 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
994 ac_prev=pdfdir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
996 pdfdir=$ac_optarg ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
997 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
998 -psdir | --psdir | --psdi | --psd | --ps) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
999 ac_prev=psdir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1001 psdir=$ac_optarg ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1002 |
3 | 1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1004 | -silent | --silent | --silen | --sile | --sil) | |
1005 silent=yes ;; | |
1006 | |
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
1008 ac_prev=sbindir ;; | |
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1010 | --sbi=* | --sb=*) | |
1011 sbindir=$ac_optarg ;; | |
1012 | |
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1015 | --sharedst | --shareds | --shared | --share | --shar \ | |
1016 | --sha | --sh) | |
1017 ac_prev=sharedstatedir ;; | |
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1021 | --sha=* | --sh=*) | |
1022 sharedstatedir=$ac_optarg ;; | |
1023 | |
1024 -site | --site | --sit) | |
1025 ac_prev=site ;; | |
1026 -site=* | --site=* | --sit=*) | |
1027 site=$ac_optarg ;; | |
1028 | |
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1030 ac_prev=srcdir ;; | |
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1032 srcdir=$ac_optarg ;; | |
1033 | |
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1035 | --syscon | --sysco | --sysc | --sys | --sy) | |
1036 ac_prev=sysconfdir ;; | |
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1039 sysconfdir=$ac_optarg ;; | |
1040 | |
1041 -target | --target | --targe | --targ | --tar | --ta | --t) | |
1042 ac_prev=target_alias ;; | |
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1044 target_alias=$ac_optarg ;; | |
1045 | |
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1047 verbose=yes ;; | |
1048 | |
1049 -version | --version | --versio | --versi | --vers | -V) | |
1050 ac_init_version=: ;; | |
1051 | |
1052 -with-* | --with-*) | |
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
|
1053 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
3 | 1054 # Reject names that are not valid shell variable names. |
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
|
1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1056 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1057 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1058 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1059 eval with_$ac_package=\$ac_optarg ;; |
3 | 1060 |
1061 -without-* | --without-*) | |
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
|
1062 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
3 | 1063 # Reject names that are not valid shell variable names. |
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
|
1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1065 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1066 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1067 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1068 eval with_$ac_package=no ;; |
3 | 1069 |
1070 --x) | |
1071 # Obsolete; use --with-x. | |
1072 with_x=yes ;; | |
1073 | |
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1075 | --x-incl | --x-inc | --x-in | --x-i) | |
1076 ac_prev=x_includes ;; | |
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1079 x_includes=$ac_optarg ;; | |
1080 | |
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1083 ac_prev=x_libraries ;; | |
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1086 x_libraries=$ac_optarg ;; | |
1087 | |
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
|
1088 -*) { echo "$as_me: error: unrecognized option: $ac_option |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1089 Try \`$0 --help' for more information." >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1090 { (exit 1); exit 1; }; } |
3 | 1091 ;; |
1092 | |
1093 *=*) | |
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1095 # Reject names that are not valid shell variable names. | |
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
|
1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1098 { (exit 1); exit 1; }; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1099 eval $ac_envvar=\$ac_optarg |
3 | 1100 export $ac_envvar ;; |
1101 | |
1102 *) | |
1103 # FIXME: should be removed in autoconf 3.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
|
1104 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
|
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
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
|
1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
3 | 1108 ;; |
1109 | |
1110 esac | |
1111 done | |
1112 | |
1113 if test -n "$ac_prev"; then | |
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
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
|
1115 { echo "$as_me: error: missing argument to $ac_option" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1116 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1117 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
|
1118 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1119 # Be sure to have absolute directory names. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1120 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
|
1121 datadir sysconfdir sharedstatedir localstatedir includedir \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1123 libdir localedir mandir |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1124 do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1125 eval ac_val=\$$ac_var |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1126 case $ac_val in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1127 [\\/$]* | ?:[\\/]* ) continue;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1128 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
|
1129 esac |
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
|
1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1131 { (exit 1); exit 1; }; } |
3 | 1132 done |
1133 | |
1134 # There might be people who depend on the old broken behavior: `$host' | |
1135 # 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
|
1136 # FIXME: To remove some day. |
3 | 1137 build=$build_alias |
1138 host=$host_alias | |
1139 target=$target_alias | |
1140 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1141 # FIXME: To remove some day. |
3 | 1142 if test "x$host_alias" != x; then |
1143 if test "x$build_alias" = x; then | |
1144 cross_compiling=maybe | |
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
|
1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1146 If a cross compiler is detected then cross compile mode will be used." >&2 |
3 | 1147 elif test "x$build_alias" != "x$host_alias"; then |
1148 cross_compiling=yes | |
1149 fi | |
1150 fi | |
1151 | |
1152 ac_tool_prefix= | |
1153 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1154 | |
1155 test "$silent" = yes && exec 6>/dev/null | |
1156 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1157 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1158 ac_pwd=`pwd` && test -n "$ac_pwd" && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1159 ac_ls_di=`ls -di .` && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1160 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
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
|
1161 { echo "$as_me: error: Working directory cannot be determined" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1162 { (exit 1); exit 1; }; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
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
|
1164 { echo "$as_me: error: pwd does not report name of working directory" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1165 { (exit 1); exit 1; }; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1166 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1167 |
3 | 1168 # Find the source files, if location was not specified. |
1169 if test -z "$srcdir"; then | |
1170 ac_srcdir_defaulted=yes | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1171 # Try the directory containing this script, then the parent directory. |
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
|
1172 ac_confdir=`$as_dirname -- "$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
|
1173 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1174 X"$0" : 'X\(//\)[^/]' \| \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1175 X"$0" : 'X\(//\)$' \| \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1176 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1177 echo X"$0" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1179 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1180 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1181 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1182 /^X\(\/\/\)[^/].*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1183 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1184 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1185 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1186 /^X\(\/\/\)$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1187 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1188 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1189 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1190 /^X\(\/\).*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1191 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1192 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1193 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1194 s/.*/./; q'` |
3 | 1195 srcdir=$ac_confdir |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1196 if test ! -r "$srcdir/$ac_unique_file"; then |
3 | 1197 srcdir=.. |
1198 fi | |
1199 else | |
1200 ac_srcdir_defaulted=no | |
1201 fi | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1202 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
|
1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
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
|
1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1205 { (exit 1); exit 1; }; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1206 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1207 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
|
1208 ac_abs_confdir=`( |
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
|
1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1210 { (exit 1); exit 1; }; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1211 pwd)` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1212 # When building in place, set srcdir=. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1213 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
|
1214 srcdir=. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1215 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1216 # Remove unnecessary trailing slashes from srcdir. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1217 # 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
|
1218 # mess up M-x gdb in Emacs. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1219 case $srcdir in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1220 */) 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
|
1221 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1222 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
|
1223 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
|
1224 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
|
1225 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
|
1226 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
|
1227 done |
3 | 1228 |
1229 # | |
1230 # Report the --help message. | |
1231 # | |
1232 if test "$ac_init_help" = "long"; then | |
1233 # Omit some internal or obsolete options to make the list less imposing. | |
1234 # 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
|
1235 cat <<_ACEOF |
3 | 1236 \`configure' configures this package to adapt to many kinds of systems. |
1237 | |
1238 Usage: $0 [OPTION]... [VAR=VALUE]... | |
1239 | |
1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1241 VAR=VALUE. See below for descriptions of some of the useful variables. | |
1242 | |
1243 Defaults for the options are specified in brackets. | |
1244 | |
1245 Configuration: | |
1246 -h, --help display this help and exit | |
1247 --help=short display options specific to this package | |
1248 --help=recursive display the short help of all the included packages | |
1249 -V, --version display version information and exit | |
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
|
1250 -q, --quiet, --silent do not print \`checking...' messages |
3 | 1251 --cache-file=FILE cache test results in FILE [disabled] |
1252 -C, --config-cache alias for \`--cache-file=config.cache' | |
1253 -n, --no-create do not create output files | |
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1255 | |
1256 Installation directories: | |
1257 --prefix=PREFIX install architecture-independent files in PREFIX | |
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
|
1258 [$ac_default_prefix] |
3 | 1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
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
|
1260 [PREFIX] |
3 | 1261 |
1262 By default, \`make install' will install all the files in | |
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1265 for instance \`--prefix=\$HOME'. | |
1266 | |
1267 For better control, use the options below. | |
1268 | |
1269 Fine tuning of the installation directories: | |
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
|
1270 --bindir=DIR user executables [EPREFIX/bin] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1271 --sbindir=DIR system admin executables [EPREFIX/sbin] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1272 --libexecdir=DIR program executables [EPREFIX/libexec] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1276 --libdir=DIR object code libraries [EPREFIX/lib] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1277 --includedir=DIR C header files [PREFIX/include] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1281 --infodir=DIR info documentation [DATAROOTDIR/info] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1283 --mandir=DIR man documentation [DATAROOTDIR/man] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1285 --htmldir=DIR html documentation [DOCDIR] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1286 --dvidir=DIR dvi documentation [DOCDIR] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1287 --pdfdir=DIR pdf documentation [DOCDIR] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1288 --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
|
1289 _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
|
1290 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1291 cat <<\_ACEOF |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
1292 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
1293 System types: |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
1294 --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
|
1295 --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
|
1296 --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
|
1297 _ACEOF |
3 | 1298 fi |
1299 | |
1300 if test -n "$ac_init_help"; then | |
1301 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1302 cat <<\_ACEOF |
3 | 1303 |
1304 Optional Features: | |
1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1307 --disable-glibtest Do not try to compile and run a test GLIB program | |
1308 --disable-gtktest Do not try to compile and run a test GTK program | |
1309 --disable-imlibtest Do not try to compile and run a test IMLIB program | |
1310 | |
1311 Optional Packages: | |
1312 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
1313 --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
|
1314 --with-dwcompat specify this to build the optional dwcompat library |
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
|
1315 --with-gtk3 specify this to build with GTK+ 3.x if available |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
1316 --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
1317 --with-gtkframework specify this to build dwindows with GTK+ Framework (only relevant for OSX) |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
1318 --with-gtkhtml specify this to build dwindows with libgtkhtml-2 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
1319 --with-gtkmozembed specify this to build dwindows with Mozilla gtkmozembed |
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
|
1320 --with-arch specify architecture: one of all, 32bit, 64bit, intel, ppc, ppc64, x86_64, i386 |
3 | 1321 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) |
1322 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) | |
1323 --with-gtk-prefix=PFX Prefix where GTK is installed (optional) | |
1324 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) | |
1325 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional) | |
1326 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional) | |
1327 | |
1328 Some influential environment variables: | |
1329 CC C compiler command | |
1330 CFLAGS C compiler flags | |
1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1332 nonstandard directory <lib dir> | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1333 LIBS libraries to pass to the linker, e.g. -l<library> |
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
|
1334 CPPFLAGS C/C++/Objective 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
|
1335 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
|
1336 CXX C++ compiler command |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1337 CXXFLAGS C++ compiler flags |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1338 CPP C preprocessor |
3 | 1339 |
1340 Use these variables to override the choices made by `configure' or to help | |
1341 it to find libraries and programs with nonstandard names/locations. | |
1342 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1343 _ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1344 ac_status=$? |
3 | 1345 fi |
1346 | |
1347 if test "$ac_init_help" = "recursive"; then | |
1348 # 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
|
1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
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
|
1350 test -d "$ac_dir" || 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
|
1351 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
|
1352 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1353 case "$ac_dir" in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1354 .) 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
|
1355 *) |
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
|
1356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1357 # A ".." for each directory in $ac_dir_suffix. |
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
|
1358 ac_top_builddir_sub=`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
|
1359 case $ac_top_builddir_sub in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1360 "") 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
|
1361 *) 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
|
1362 esac ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1363 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1364 ac_abs_top_builddir=$ac_pwd |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1365 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
|
1366 # for backward compatibility: |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1367 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
|
1368 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1369 case $srcdir in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1370 .) # 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
|
1371 ac_srcdir=. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1372 ac_top_srcdir=$ac_top_builddir_sub |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1373 ac_abs_top_srcdir=$ac_pwd ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1374 [\\/]* | ?:[\\/]* ) # 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
|
1375 ac_srcdir=$srcdir$ac_dir_suffix; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1376 ac_top_srcdir=$srcdir |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1377 ac_abs_top_srcdir=$srcdir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1378 *) # Relative name. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1379 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
|
1380 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
|
1381 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
|
1382 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1383 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
|
1384 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1385 cd "$ac_dir" || { ac_status=$?; continue; } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1386 # Check for guested configure. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1387 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
|
1388 echo && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1390 elif test -f "$ac_srcdir/configure"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1391 echo && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1392 $SHELL "$ac_srcdir/configure" --help=recursive |
3 | 1393 else |
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
|
1394 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
|
1395 fi || ac_status=$? |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1396 cd "$ac_pwd" || { ac_status=$?; break; } |
3 | 1397 done |
1398 fi | |
1399 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1400 test -n "$ac_init_help" && exit $ac_status |
3 | 1401 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
|
1402 cat <<\_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1403 configure |
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
|
1404 generated by GNU Autoconf 2.61 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1405 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1406 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1407 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
3 | 1408 This configure script is free software; the Free Software Foundation |
1409 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
|
1410 _ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1411 exit |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1412 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1413 cat >config.log <<_ACEOF |
3 | 1414 This file contains any messages produced by compilers while |
1415 running configure, to aid debugging if configure makes a mistake. | |
1416 | |
1417 It was created by $as_me, which was | |
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
|
1418 generated by GNU Autoconf 2.61. Invocation command line was |
3 | 1419 |
1420 $ $0 $@ | |
1421 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1422 _ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1423 exec 5>>config.log |
3 | 1424 { |
1425 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
|
1426 ## --------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1427 ## 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
|
1428 ## --------- ## |
3 | 1429 |
1430 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1431 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1432 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1433 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1434 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1435 | |
1436 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1437 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1438 | |
1439 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1440 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1441 /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
|
1442 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
3 | 1443 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1444 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1445 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1446 | |
1447 _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
|
1448 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1449 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
|
1450 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
|
1451 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
|
1452 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
|
1453 test -z "$as_dir" && as_dir=. |
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
|
1454 echo "PATH: $as_dir" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1455 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1456 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
|
1457 |
3 | 1458 } >&5 |
1459 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1460 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
|
1461 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 ## ----------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1464 ## 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
|
1465 ## ----------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1466 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1467 _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
|
1468 |
3 | 1469 |
1470 # Keep a trace of the command line. | |
1471 # 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
|
1472 # Strip out --silent because we don't want to record it for future runs. |
3 | 1473 # 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
|
1474 # Make two passes to allow for proper duplicate-argument suppression. |
3 | 1475 ac_configure_args= |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1476 ac_configure_args0= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1477 ac_configure_args1= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1478 ac_must_keep_next=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1479 for ac_pass in 1 2 |
3 | 1480 do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1481 for ac_arg |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1482 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1483 case $ac_arg in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1484 -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
|
1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1486 | -silent | --silent | --silen | --sile | --sil) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1487 continue ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1488 *\'*) |
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
|
1489 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1490 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1491 case $ac_pass in |
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
|
1492 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1493 2) |
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
|
1494 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1495 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
|
1496 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
|
1497 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1498 case $ac_arg in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1499 *=* | --config-cache | -C | -disable-* | --disable-* \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1502 | -with-* | --with-* | -without-* | --without-* | --x) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1503 case "$ac_configure_args0 " in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1505 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1506 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1507 -* ) ac_must_keep_next=true ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1508 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1509 fi |
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
|
1510 ac_configure_args="$ac_configure_args '$ac_arg'" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1511 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1512 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1513 done |
3 | 1514 done |
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
|
1515 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1516 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
3 | 1517 |
1518 # When interrupted or exit'd, cleanup temporary files, and complete | |
1519 # config.log. We remove comments because anyway the quotes in there | |
1520 # would cause problems or look ugly. | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1521 # 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
|
1522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
3 | 1523 trap 'exit_status=$? |
1524 # 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
|
1525 { |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1526 echo |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1527 |
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
|
1528 cat <<\_ASBOX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1529 ## ---------------- ## |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1530 ## Cache variables. ## |
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
|
1531 ## ---------------- ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1532 _ASBOX |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1533 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
|
1534 # 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
|
1535 ( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1536 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
|
1537 eval ac_val=\$$ac_var |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1538 case $ac_val in #( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1539 *${as_nl}*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1540 case $ac_var in #( |
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
|
1541 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1542 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
|
1543 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1544 case $ac_var in #( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1545 _ | IFS | as_nl) ;; #( |
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
|
1546 *) $as_unset $ac_var ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1547 esac ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1548 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1549 done |
3 | 1550 (set) 2>&1 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1551 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
|
1552 *${as_nl}ac_space=\ *) |
3 | 1553 sed -n \ |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1554 "s/'\''/'\''\\\\'\'''\''/g; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1555 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
|
1556 ;; #( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1557 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
3 | 1559 ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1560 esac | |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1561 sort |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1562 ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1563 echo |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1564 |
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
|
1565 cat <<\_ASBOX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1566 ## ----------------- ## |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1567 ## Output variables. ## |
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
|
1568 ## ----------------- ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1569 _ASBOX |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1570 echo |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1571 for ac_var in $ac_subst_vars |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1572 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1573 eval ac_val=\$$ac_var |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1574 case $ac_val in |
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
|
1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1576 esac |
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
|
1577 echo "$ac_var='\''$ac_val'\''" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1578 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
|
1579 echo |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1580 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1581 if test -n "$ac_subst_files"; 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
|
1582 cat <<\_ASBOX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1583 ## ------------------- ## |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1584 ## File substitutions. ## |
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
|
1585 ## ------------------- ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1586 _ASBOX |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1587 echo |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1588 for ac_var in $ac_subst_files |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1589 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1590 eval ac_val=\$$ac_var |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1591 case $ac_val in |
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
|
1592 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1593 esac |
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
|
1594 echo "$ac_var='\''$ac_val'\''" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1595 done | sort |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1596 echo |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1597 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1598 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1599 if test -s confdefs.h; 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
|
1600 cat <<\_ASBOX |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1601 ## ----------- ## |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1602 ## confdefs.h. ## |
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
|
1603 ## ----------- ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1604 _ASBOX |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1605 echo |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1606 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
|
1607 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
|
1608 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
|
1609 test "$ac_signal" != 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
|
1610 echo "$as_me: caught signal $ac_signal" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1611 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
|
1612 } >&5 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1613 rm -f core *.core core.conftest.* && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
3 | 1615 exit $exit_status |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1616 ' 0 |
3 | 1617 for ac_signal in 1 2 13 15; do |
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
|
1618 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
3 | 1619 done |
1620 ac_signal=0 | |
1621 | |
1622 # 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
|
1623 rm -f -r conftest* confdefs.h |
3 | 1624 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1625 # 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
|
1626 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1627 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
|
1628 #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
|
1629 _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
|
1630 |
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
|
1631 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1632 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
|
1633 #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
|
1634 _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
|
1635 |
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
|
1636 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1637 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
|
1638 #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
|
1639 _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
|
1640 |
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
|
1641 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1642 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
|
1643 #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
|
1644 _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
|
1645 |
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
|
1646 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1647 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
|
1648 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1649 _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
|
1650 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1651 |
3 | 1652 # Let the site file select an alternate cache file if it wants to. |
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
|
1653 # Prefer explicitly selected file to automatically selected ones. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1654 if test -n "$CONFIG_SITE"; 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
|
1655 set x "$CONFIG_SITE" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1656 elif test "x$prefix" != xNONE; 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
|
1657 set x "$prefix/share/config.site" "$prefix/etc/config.site" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1658 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
|
1659 set x "$ac_default_prefix/share/config.site" \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1660 "$ac_default_prefix/etc/config.site" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1661 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
|
1662 shift |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1663 for ac_site_file |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1664 do |
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
|
1665 if test -r "$ac_site_file"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1666 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1667 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
|
1668 sed 's/^/| /' "$ac_site_file" >&5 |
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
|
1669 . "$ac_site_file" |
3 | 1670 fi |
1671 done | |
1672 | |
1673 if test -r "$cache_file"; 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
|
1674 # Some versions of bash will fail to source /dev/null (special |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1675 # files actually), so we avoid doing that. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1676 if test -f "$cache_file"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1677 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1678 echo "$as_me: loading cache $cache_file" >&6;} |
3 | 1679 case $cache_file in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1680 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1681 *) . "./$cache_file";; |
3 | 1682 esac |
1683 fi | |
1684 else | |
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
|
1685 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1686 echo "$as_me: creating cache $cache_file" >&6;} |
3 | 1687 >$cache_file |
1688 fi | |
1689 | |
1690 # Check that the precious variables saved in the cache have kept the same | |
1691 # value. | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1692 ac_cache_corrupted=false |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1693 for ac_var in $ac_precious_vars; do |
3 | 1694 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1695 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
|
1696 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
|
1697 eval ac_new_val=\$ac_env_${ac_var}_value |
3 | 1698 case $ac_old_set,$ac_new_set in |
1699 set,) | |
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
|
1700 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1701 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
|
1702 ac_cache_corrupted=: ;; |
3 | 1703 ,set) |
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
|
1704 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1705 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
|
1706 ac_cache_corrupted=: ;; |
3 | 1707 ,);; |
1708 *) | |
1709 if test "x$ac_old_val" != "x$ac_new_val"; 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
|
1710 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1711 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1712 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1713 echo "$as_me: former value: $ac_old_val" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1714 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1715 echo "$as_me: current value: $ac_new_val" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1716 ac_cache_corrupted=: |
3 | 1717 fi;; |
1718 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
|
1719 # 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
|
1720 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
|
1721 case $ac_new_val in |
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
|
1722 *\'*) ac_arg=$ac_var=`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
|
1723 *) 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
|
1724 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
|
1725 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
|
1726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
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
|
1727 *) ac_configure_args="$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
|
1728 esac |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1729 fi |
3 | 1730 done |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1731 if $ac_cache_corrupted; 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
|
1732 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1733 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1734 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1735 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1736 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1737 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
|
1738 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1739 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1740 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1741 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1742 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1743 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1744 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1745 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1746 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1747 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1748 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1749 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1750 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1751 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1752 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1753 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1754 |
3 | 1755 ac_ext=c |
1756 ac_cpp='$CPP $CPPFLAGS' | |
1757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1759 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1760 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1761 |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
1762 ac_config_headers="$ac_config_headers config.h" |
3 | 1763 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1764 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
1765 TARGET="dwindows" |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
1766 TARGET2="dwcompat" |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
1767 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
1768 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
1769 |
1109
1c24949cf853
Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1095
diff
changeset
|
1770 |
1c24949cf853
Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1095
diff
changeset
|
1771 |
663
86c404056262
Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
644
diff
changeset
|
1772 DW_DIR=gtk |
86c404056262
Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
644
diff
changeset
|
1773 DW_SRC=dw.c |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
1774 DW_DEFINE=__UNIX__ |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1775 SHAREDFLAG=-shared |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
1776 SOSUFFIX=so |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
1777 LIBSUFFIX=a |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
1778 LIBPREFIX=lib |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1779 |
3 | 1780 INCLUDES="-I." |
1781 | |
1782 ac_ext=c | |
1783 ac_cpp='$CPP $CPPFLAGS' | |
1784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1786 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1787 if test -n "$ac_tool_prefix"; then | |
1788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
1789 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
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
|
1790 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1792 if test "${ac_cv_prog_CC+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1793 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 1794 else |
1795 if test -n "$CC"; then | |
1796 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1797 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
|
1798 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
|
1799 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
|
1800 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
|
1801 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
|
1802 test -z "$as_dir" && as_dir=. |
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
|
1803 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
1805 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
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
|
1806 echo "$as_me:$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
|
1807 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
|
1808 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
|
1809 done |
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
|
1810 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1811 IFS=$as_save_IFS |
3 | 1812 |
1813 fi | |
1814 fi | |
1815 CC=$ac_cv_prog_CC | |
1816 if test -n "$CC"; 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
|
1817 { echo "$as_me:$LINENO: result: $CC" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1818 echo "${ECHO_T}$CC" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1819 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
|
1820 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1821 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1822 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1823 |
3 | 1824 |
1825 fi | |
1826 if test -z "$ac_cv_prog_CC"; then | |
1827 ac_ct_CC=$CC | |
1828 # Extract the first word of "gcc", so it can be a program name with args. | |
1829 set dummy gcc; ac_word=$2 | |
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
|
1830 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1833 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 1834 else |
1835 if test -n "$ac_ct_CC"; then | |
1836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1837 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
|
1838 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
|
1839 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
|
1840 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
|
1841 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
|
1842 test -z "$as_dir" && as_dir=. |
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
|
1843 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
1845 ac_cv_prog_ac_ct_CC="gcc" |
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
|
1846 echo "$as_me:$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
|
1847 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
|
1848 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
|
1849 done |
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
|
1850 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1851 IFS=$as_save_IFS |
3 | 1852 |
1853 fi | |
1854 fi | |
1855 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1856 if test -n "$ac_ct_CC"; 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
|
1857 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1858 echo "${ECHO_T}$ac_ct_CC" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1859 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
|
1860 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1861 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1862 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1863 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1864 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
|
1865 CC="" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1866 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1867 case $cross_compiling:$ac_tool_warned in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1868 yes:) |
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
|
1869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1870 whose name does not start with the host triplet. If you think this |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1871 configuration is useful to you, please write to autoconf@gnu.org." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1873 whose name does not start with the host triplet. If you think this |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1874 configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1875 ac_tool_warned=yes ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1876 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1877 CC=$ac_ct_CC |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1878 fi |
3 | 1879 else |
1880 CC="$ac_cv_prog_CC" | |
1881 fi | |
1882 | |
1883 if test -z "$CC"; then | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1884 if test -n "$ac_tool_prefix"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1885 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3 | 1886 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
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
|
1887 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1889 if test "${ac_cv_prog_CC+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1890 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 1891 else |
1892 if test -n "$CC"; then | |
1893 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1894 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
|
1895 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
|
1896 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
|
1897 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
|
1898 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
|
1899 test -z "$as_dir" && as_dir=. |
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
|
1900 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
1902 ac_cv_prog_CC="${ac_tool_prefix}cc" |
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
|
1903 echo "$as_me:$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
|
1904 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
|
1905 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
|
1906 done |
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
|
1907 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1908 IFS=$as_save_IFS |
3 | 1909 |
1910 fi | |
1911 fi | |
1912 CC=$ac_cv_prog_CC | |
1913 if test -n "$CC"; 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
|
1914 { echo "$as_me:$LINENO: result: $CC" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1915 echo "${ECHO_T}$CC" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1916 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
|
1917 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1918 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1919 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1920 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
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 fi |
3 | 1923 fi |
1924 if test -z "$CC"; then | |
1925 # Extract the first word of "cc", so it can be a program name with args. | |
1926 set dummy cc; ac_word=$2 | |
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
|
1927 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1929 if test "${ac_cv_prog_CC+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1930 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 1931 else |
1932 if test -n "$CC"; then | |
1933 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1934 else | |
1935 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
|
1936 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
|
1937 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
|
1938 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
|
1939 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
|
1940 test -z "$as_dir" && as_dir=. |
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
|
1941 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
1943 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
|
1944 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
|
1945 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
|
1946 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
|
1947 ac_cv_prog_CC="cc" |
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
|
1948 echo "$as_me:$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
|
1949 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
|
1950 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
|
1951 done |
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
|
1952 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1953 IFS=$as_save_IFS |
3 | 1954 |
1955 if test $ac_prog_rejected = yes; then | |
1956 # We found a bogon in the path, so make sure we never use it. | |
1957 set dummy $ac_cv_prog_CC | |
1958 shift | |
1959 if test $# != 0; then | |
1960 # We chose a different compiler from the bogus one. | |
1961 # However, it has the same basename, so the bogon will be chosen | |
1962 # first if we set CC to just the basename; use the full file name. | |
1963 shift | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1964 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3 | 1965 fi |
1966 fi | |
1967 fi | |
1968 fi | |
1969 CC=$ac_cv_prog_CC | |
1970 if test -n "$CC"; 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
|
1971 { echo "$as_me:$LINENO: result: $CC" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1972 echo "${ECHO_T}$CC" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1973 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
|
1974 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1975 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1976 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
1977 |
3 | 1978 |
1979 fi | |
1980 if test -z "$CC"; then | |
1981 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
|
1982 for ac_prog in cl.exe |
3 | 1983 do |
1984 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
1985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
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
|
1986 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1988 if test "${ac_cv_prog_CC+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
1989 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 1990 else |
1991 if test -n "$CC"; then | |
1992 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1993 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
|
1994 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
|
1995 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
|
1996 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
|
1997 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
|
1998 test -z "$as_dir" && as_dir=. |
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
|
1999 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
2001 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
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
|
2002 echo "$as_me:$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
|
2003 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
|
2004 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
|
2005 done |
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
|
2006 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2007 IFS=$as_save_IFS |
3 | 2008 |
2009 fi | |
2010 fi | |
2011 CC=$ac_cv_prog_CC | |
2012 if test -n "$CC"; 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
|
2013 { echo "$as_me:$LINENO: result: $CC" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2014 echo "${ECHO_T}$CC" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2015 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
|
2016 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2017 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2018 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2019 |
3 | 2020 |
2021 test -n "$CC" && break | |
2022 done | |
2023 fi | |
2024 if test -z "$CC"; then | |
2025 ac_ct_CC=$CC | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2026 for ac_prog in cl.exe |
3 | 2027 do |
2028 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2029 set dummy $ac_prog; ac_word=$2 | |
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
|
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2033 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 2034 else |
2035 if test -n "$ac_ct_CC"; then | |
2036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2037 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
|
2038 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
|
2039 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
|
2040 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
|
2041 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
|
2042 test -z "$as_dir" && as_dir=. |
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
|
2043 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
2045 ac_cv_prog_ac_ct_CC="$ac_prog" |
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
|
2046 echo "$as_me:$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
|
2047 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
|
2048 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
|
2049 done |
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
|
2050 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2051 IFS=$as_save_IFS |
3 | 2052 |
2053 fi | |
2054 fi | |
2055 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2056 if test -n "$ac_ct_CC"; 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
|
2057 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2058 echo "${ECHO_T}$ac_ct_CC" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2059 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
|
2060 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2061 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2062 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2063 |
3 | 2064 |
2065 test -n "$ac_ct_CC" && break | |
2066 done | |
2067 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2068 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
|
2069 CC="" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2070 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2071 case $cross_compiling:$ac_tool_warned in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2072 yes:) |
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
|
2073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2074 whose name does not start with the host triplet. If you think this |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2075 configuration is useful to you, please write to autoconf@gnu.org." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2077 whose name does not start with the host triplet. If you think this |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2078 configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2079 ac_tool_warned=yes ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2080 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2081 CC=$ac_ct_CC |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2082 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2083 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2084 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2085 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2086 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2087 |
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
|
2088 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2089 See \`config.log' for more details." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2090 echo "$as_me: error: no acceptable C compiler found in \$PATH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2091 See \`config.log' for more details." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2092 { (exit 1); exit 1; }; } |
3 | 2093 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2094 # Provide some information about the compiler. |
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
|
2095 echo "$as_me:$LINENO: checking for C compiler version" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2096 ac_compiler=`set X $ac_compile; echo $2` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2097 { (ac_try="$ac_compiler --version >&5" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2098 case "(($ac_try" in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2100 *) ac_try_echo=$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2101 esac |
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
|
2102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2103 (eval "$ac_compiler --version >&5") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2104 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2106 (exit $ac_status); } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2107 { (ac_try="$ac_compiler -v >&5" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2108 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2110 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2111 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2113 (eval "$ac_compiler -v >&5") 2>&5 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2114 ac_status=$? |
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
|
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2116 (exit $ac_status); } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2117 { (ac_try="$ac_compiler -V >&5" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2118 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2120 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2121 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2123 (eval "$ac_compiler -V >&5") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2124 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2126 (exit $ac_status); } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2127 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2128 cat >conftest.$ac_ext <<_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
|
2129 /* 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
|
2130 _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
|
2131 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2132 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2133 /* 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
|
2134 |
3 | 2135 int |
2136 main () | |
2137 { | |
2138 | |
2139 ; | |
2140 return 0; | |
2141 } | |
2142 _ACEOF | |
2143 ac_clean_files_save=$ac_clean_files | |
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
|
2144 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
3 | 2145 # 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
|
2146 # It will help us diagnose broken compilers, and finding out an intuition |
3 | 2147 # of exeext. |
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
|
2148 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2149 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2150 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2151 # |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2152 # List of possible output files, starting from the most likely. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2153 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2154 # only as a last resort. b.out is created by i960 compilers. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2155 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2156 # |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2157 # The IRIX 6 linker writes into existing files which may not be |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2158 # executable, retaining their permissions. Remove them first so a |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2159 # subsequent execution test works. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2160 ac_rmfiles= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2161 for ac_file in $ac_files |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2162 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2163 case $ac_file in |
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
|
2164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2165 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2166 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2167 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2168 rm -f $ac_rmfiles |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2169 |
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
|
2170 if { (ac_try="$ac_link_default" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2171 case "(($ac_try" in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2173 *) ac_try_echo=$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2174 esac |
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
|
2175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2176 (eval "$ac_link_default") 2>&5 |
3 | 2177 ac_status=$? |
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
|
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2179 (exit $ac_status); }; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2180 # 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
|
2181 # 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
|
2182 # 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
|
2183 # 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
|
2184 # Autoconf. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2185 for ac_file in $ac_files '' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2186 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2187 test -f "$ac_file" || continue |
3 | 2188 case $ac_file in |
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
|
2189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2190 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2191 [ab].out ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2192 # 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
|
2193 # certainly right. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2194 break;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2195 *.* ) |
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
|
2196 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
|
2197 then :; else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2198 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2199 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2200 # 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
|
2201 # 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
|
2202 # 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
|
2203 # 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
|
2204 # actually working. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2205 break;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2206 * ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2207 break;; |
3 | 2208 esac |
2209 done | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2210 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
|
2211 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2212 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2213 ac_file='' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2214 fi |
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
|
2215 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2216 { echo "$as_me:$LINENO: result: $ac_file" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2217 echo "${ECHO_T}$ac_file" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2218 if test -z "$ac_file"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2219 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
|
2220 sed 's/^/| /' conftest.$ac_ext >&5 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2221 |
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
|
2222 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2223 See \`config.log' for more details." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2224 echo "$as_me: error: C compiler cannot create executables |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2225 See \`config.log' for more details." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2226 { (exit 77); exit 77; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2227 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
|
2228 |
3 | 2229 ac_exeext=$ac_cv_exeext |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2230 |
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
|
2231 # Check that the compiler produces executables we can run. If not, either |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2232 # the compiler is broken, or we cross compile. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2233 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2234 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2235 # FIXME: These cross compiler hacks should be removed for Autoconf 3.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
|
2236 # If not cross compiling, check that we can run a simple program. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2237 if test "$cross_compiling" != yes; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2238 if { ac_try='./$ac_file' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2239 { (case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2241 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2242 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2244 (eval "$ac_try") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2245 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2247 (exit $ac_status); }; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2248 cross_compiling=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2249 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
|
2250 if test "$cross_compiling" = maybe; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2251 cross_compiling=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2252 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
|
2253 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2254 If you meant to cross compile, use \`--host'. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2255 See \`config.log' for more details." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2256 echo "$as_me: error: cannot run C compiled programs. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2257 If you meant to cross compile, use \`--host'. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2258 See \`config.log' for more details." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2259 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2260 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
|
2261 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
|
2262 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
|
2263 { echo "$as_me:$LINENO: result: yes" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2264 echo "${ECHO_T}yes" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2265 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2266 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3 | 2267 ac_clean_files=$ac_clean_files_save |
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
|
2268 # Check that the compiler produces executables we can run. If not, either |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2269 # the compiler is broken, or we cross compile. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2270 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2271 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2272 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2273 echo "${ECHO_T}$cross_compiling" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2274 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2275 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2276 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2277 if { (ac_try="$ac_link" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2278 case "(($ac_try" in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2280 *) ac_try_echo=$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2281 esac |
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
|
2282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2283 (eval "$ac_link") 2>&5 |
3 | 2284 ac_status=$? |
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
|
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2286 (exit $ac_status); }; then |
3 | 2287 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2288 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
2289 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
2290 # `rm'. | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2291 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
|
2292 test -f "$ac_file" || continue |
3 | 2293 case $ac_file in |
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
|
2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3 | 2295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2296 break;; |
3 | 2297 * ) break;; |
2298 esac | |
2299 done | |
2300 else | |
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
|
2301 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2302 See \`config.log' for more details." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2303 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2304 See \`config.log' for more details." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2305 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2306 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
|
2307 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2308 rm -f conftest$ac_cv_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2309 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2310 echo "${ECHO_T}$ac_cv_exeext" >&6; } |
3 | 2311 |
2312 rm -f conftest.$ac_ext | |
2313 EXEEXT=$ac_cv_exeext | |
2314 ac_exeext=$EXEEXT | |
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
|
2315 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2316 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2317 if test "${ac_cv_objext+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2318 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2319 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
|
2320 cat >conftest.$ac_ext <<_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
|
2321 /* 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
|
2322 _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
|
2323 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2324 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2325 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2326 |
3 | 2327 int |
2328 main () | |
2329 { | |
2330 | |
2331 ; | |
2332 return 0; | |
2333 } | |
2334 _ACEOF | |
2335 rm -f conftest.o conftest.obj | |
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
|
2336 if { (ac_try="$ac_compile" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2337 case "(($ac_try" in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2339 *) ac_try_echo=$ac_try;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2340 esac |
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
|
2341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2342 (eval "$ac_compile") 2>&5 |
3 | 2343 ac_status=$? |
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
|
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2345 (exit $ac_status); }; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2346 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
|
2347 test -f "$ac_file" || continue; |
3 | 2348 case $ac_file in |
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
|
2349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
3 | 2350 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2351 break;; | |
2352 esac | |
2353 done | |
2354 else | |
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
|
2355 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
|
2356 sed 's/^/| /' conftest.$ac_ext >&5 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2357 |
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
|
2358 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2359 See \`config.log' for more details." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2360 echo "$as_me: error: cannot compute suffix of object files: cannot compile |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2361 See \`config.log' for more details." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2362 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2363 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
|
2364 |
3 | 2365 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2366 fi | |
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
|
2367 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2368 echo "${ECHO_T}$ac_cv_objext" >&6; } |
3 | 2369 OBJEXT=$ac_cv_objext |
2370 ac_objext=$OBJEXT | |
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
|
2371 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2372 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2373 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2374 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2375 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
|
2376 cat >conftest.$ac_ext <<_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
|
2377 /* 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
|
2378 _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
|
2379 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2380 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2381 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2382 |
3 | 2383 int |
2384 main () | |
2385 { | |
2386 #ifndef __GNUC__ | |
2387 choke me | |
2388 #endif | |
2389 | |
2390 ; | |
2391 return 0; | |
2392 } | |
2393 _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
|
2394 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2395 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2396 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2398 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2399 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2401 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2402 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2403 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2404 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2405 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2407 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2408 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2409 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2410 } && test -s conftest.$ac_objext; then |
3 | 2411 ac_compiler_gnu=yes |
2412 else | |
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
|
2413 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2414 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2415 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2416 ac_compiler_gnu=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2417 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
|
2418 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3 | 2420 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2421 | |
2422 fi | |
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
|
2423 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2424 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2425 GCC=`test $ac_compiler_gnu = yes && echo yes` |
3 | 2426 ac_test_CFLAGS=${CFLAGS+set} |
2427 ac_save_CFLAGS=$CFLAGS | |
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
|
2428 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2429 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2430 if test "${ac_cv_prog_cc_g+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2431 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 2432 else |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2433 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
|
2434 ac_c_werror_flag=yes |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2435 ac_cv_prog_cc_g=no |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2436 CFLAGS="-g" |
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
|
2437 cat >conftest.$ac_ext <<_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
|
2438 /* 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
|
2439 _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
|
2440 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2441 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2442 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2443 |
3 | 2444 int |
2445 main () | |
2446 { | |
2447 | |
2448 ; | |
2449 return 0; | |
2450 } | |
2451 _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
|
2452 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2453 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2454 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2456 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2457 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2459 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2460 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2461 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2462 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2463 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2465 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2466 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2467 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2468 } && test -s conftest.$ac_objext; then |
3 | 2469 ac_cv_prog_cc_g=yes |
2470 else | |
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
|
2471 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2472 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2473 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2474 CFLAGS="" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2475 cat >conftest.$ac_ext <<_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
|
2476 /* 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
|
2477 _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
|
2478 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2479 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2480 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2481 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2482 int |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2483 main () |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2484 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2485 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2486 ; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2487 return 0; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2488 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2489 _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
|
2490 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2491 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2492 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2494 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2495 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2497 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2498 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2499 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2500 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2501 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2503 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2504 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2505 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2506 } && test -s conftest.$ac_objext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2507 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2508 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
|
2509 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2510 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2511 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2512 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
|
2513 CFLAGS="-g" |
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
|
2514 cat >conftest.$ac_ext <<_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
|
2515 /* 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
|
2516 _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
|
2517 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2518 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2519 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2520 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2521 int |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2522 main () |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2523 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2524 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2525 ; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2526 return 0; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2527 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2528 _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
|
2529 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2530 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2531 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2533 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2534 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2536 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2537 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2538 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2539 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2540 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2542 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2543 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2544 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2545 } && test -s conftest.$ac_objext; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2546 ac_cv_prog_cc_g=yes |
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
|
2547 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
|
2548 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2549 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2550 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2551 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2552 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
|
2553 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2554 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
|
2555 fi |
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
|
2556 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2557 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
|
2558 fi |
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
|
2559 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2560 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
|
2561 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
|
2562 fi |
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
|
2563 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2564 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
3 | 2565 if test "$ac_test_CFLAGS" = set; then |
2566 CFLAGS=$ac_save_CFLAGS | |
2567 elif test $ac_cv_prog_cc_g = yes; then | |
2568 if test "$GCC" = yes; then | |
2569 CFLAGS="-g -O2" | |
2570 else | |
2571 CFLAGS="-g" | |
2572 fi | |
2573 else | |
2574 if test "$GCC" = yes; then | |
2575 CFLAGS="-O2" | |
2576 else | |
2577 CFLAGS= | |
2578 fi | |
2579 fi | |
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
|
2580 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2581 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2582 if test "${ac_cv_prog_cc_c89+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2583 echo $ECHO_N "(cached) $ECHO_C" >&6 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2584 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2585 ac_cv_prog_cc_c89=no |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2586 ac_save_CC=$CC |
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
|
2587 cat >conftest.$ac_ext <<_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
|
2588 /* 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
|
2589 _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
|
2590 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2591 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2592 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2593 #include <stdarg.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2594 #include <stdio.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2595 #include <sys/types.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2596 #include <sys/stat.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2597 /* 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
|
2598 struct buf { int x; }; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2599 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2600 static char *e (p, i) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2601 char **p; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2602 int i; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2603 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2604 return p[i]; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2605 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2606 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
|
2607 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2608 char *s; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2609 va_list v; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2610 va_start (v,p); |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2611 s = g (p, va_arg (v,int)); |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2612 va_end (v); |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2613 return s; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2614 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2615 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2616 /* 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
|
2617 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
|
2618 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
|
2619 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
|
2620 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
|
2621 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
|
2622 that's true only with -std. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2623 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
|
2624 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2625 /* 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
|
2626 inside strings and character constants. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2627 #define FOO(x) 'x' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2628 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
|
2629 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2630 int test (int i, double x); |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2631 struct s1 {int (*f) (int a);}; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2632 struct s2 {int (*f) (double a);}; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2633 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
|
2634 int argc; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2635 char **argv; |
3 | 2636 int |
2637 main () | |
2638 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2639 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
|
2640 ; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2641 return 0; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2642 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2643 _ACEOF |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2644 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
|
2645 -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
|
2646 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2647 CC="$ac_save_CC $ac_arg" |
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
|
2648 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2649 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2650 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2652 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2653 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2655 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2656 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2657 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2658 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2659 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2661 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2662 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2663 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2664 } && test -s conftest.$ac_objext; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2665 ac_cv_prog_cc_c89=$ac_arg |
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
|
2666 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
|
2667 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2668 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2669 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2670 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2671 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
|
2672 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2673 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
|
2674 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
|
2675 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2676 rm -f conftest.$ac_ext |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2677 CC=$ac_save_CC |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2678 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2679 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2680 # AC_CACHE_VAL |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2681 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
|
2682 x) |
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
|
2683 { echo "$as_me:$LINENO: result: none needed" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2684 echo "${ECHO_T}none needed" >&6; } ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2685 xno) |
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
|
2686 { echo "$as_me:$LINENO: result: unsupported" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2687 echo "${ECHO_T}unsupported" >&6; } ;; |
622
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 CC="$CC $ac_cv_prog_cc_c89" |
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
|
2690 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2691 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2692 esac |
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
|
2693 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2694 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2695 ac_ext=c |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2696 ac_cpp='$CPP $CPPFLAGS' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2697 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
|
2698 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
|
2699 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
|
2700 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2701 ac_ext=cpp |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2702 ac_cpp='$CXXCPP $CPPFLAGS' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2703 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
|
2704 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
|
2705 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
|
2706 if test -z "$CXX"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2707 if test -n "$CCC"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2708 CXX=$CCC |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2709 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2710 if test -n "$ac_tool_prefix"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2711 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
|
2712 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2713 # 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
|
2714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
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
|
2715 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2717 if test "${ac_cv_prog_CXX+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2718 echo $ECHO_N "(cached) $ECHO_C" >&6 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2719 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2720 if test -n "$CXX"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2721 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
|
2722 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2724 for as_dir in $PATH |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2725 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2726 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2727 test -z "$as_dir" && as_dir=. |
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
|
2728 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
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
|
2731 echo "$as_me:$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
|
2732 break 2 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2733 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2734 done |
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
|
2735 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2736 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2737 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2738 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2739 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2740 CXX=$ac_cv_prog_CXX |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2741 if test -n "$CXX"; 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
|
2742 { echo "$as_me:$LINENO: result: $CXX" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2743 echo "${ECHO_T}$CXX" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2744 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
|
2745 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2746 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2747 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2748 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2749 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2750 test -n "$CXX" && break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2751 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2752 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2753 if test -z "$CXX"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2754 ac_ct_CXX=$CXX |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2755 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
|
2756 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2757 # 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
|
2758 set dummy $ac_prog; ac_word=$2 |
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
|
2759 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2761 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2762 echo $ECHO_N "(cached) $ECHO_C" >&6 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2763 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2764 if test -n "$ac_ct_CXX"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2765 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
|
2766 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2768 for as_dir in $PATH |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2769 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2770 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2771 test -z "$as_dir" && as_dir=. |
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
|
2772 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2774 ac_cv_prog_ac_ct_CXX="$ac_prog" |
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
|
2775 echo "$as_me:$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
|
2776 break 2 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2777 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2778 done |
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
|
2779 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2780 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2781 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2782 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2783 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2784 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
|
2785 if test -n "$ac_ct_CXX"; 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
|
2786 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2787 echo "${ECHO_T}$ac_ct_CXX" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2788 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
|
2789 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2790 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2791 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2792 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2793 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2794 test -n "$ac_ct_CXX" && break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2795 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2796 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2797 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
|
2798 CXX="g++" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2799 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2800 case $cross_compiling:$ac_tool_warned in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2801 yes:) |
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
|
2802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2803 whose name does not start with the host triplet. If you think this |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2804 configuration is useful to you, please write to autoconf@gnu.org." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2806 whose name does not start with the host triplet. If you think this |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2807 configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2808 ac_tool_warned=yes ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2809 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2810 CXX=$ac_ct_CXX |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2811 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2812 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2813 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2814 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2815 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2816 # Provide some information about the compiler. |
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
|
2817 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2818 ac_compiler=`set X $ac_compile; echo $2` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2819 { (ac_try="$ac_compiler --version >&5" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2820 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2822 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2823 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2825 (eval "$ac_compiler --version >&5") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2826 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2828 (exit $ac_status); } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2829 { (ac_try="$ac_compiler -v >&5" |
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 |
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
|
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2835 (eval "$ac_compiler -v >&5") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2836 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2838 (exit $ac_status); } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2839 { (ac_try="$ac_compiler -V >&5" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2840 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2842 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2843 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2845 (eval "$ac_compiler -V >&5") 2>&5 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2846 ac_status=$? |
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
|
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2848 (exit $ac_status); } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2849 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2850 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2851 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2852 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2853 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2854 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
|
2855 cat >conftest.$ac_ext <<_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
|
2856 /* 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
|
2857 _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
|
2858 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2859 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2860 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2861 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2862 int |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2863 main () |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2864 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2865 #ifndef __GNUC__ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2866 choke me |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2867 #endif |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2868 |
3 | 2869 ; |
2870 return 0; | |
2871 } | |
2872 _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
|
2873 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2874 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2875 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2877 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2878 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2880 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2881 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2882 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2883 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2884 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2886 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2887 test -z "$ac_cxx_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2888 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2889 } && test -s conftest.$ac_objext; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2890 ac_compiler_gnu=yes |
3 | 2891 else |
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
|
2892 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2893 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2894 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2895 ac_compiler_gnu=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2896 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
|
2897 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2898 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
|
2899 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
|
2900 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2901 fi |
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
|
2902 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2903 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2904 GXX=`test $ac_compiler_gnu = yes && echo yes` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2905 ac_test_CXXFLAGS=${CXXFLAGS+set} |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2906 ac_save_CXXFLAGS=$CXXFLAGS |
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
|
2907 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2908 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2909 if test "${ac_cv_prog_cxx_g+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2910 echo $ECHO_N "(cached) $ECHO_C" >&6 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2911 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2912 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
|
2913 ac_cxx_werror_flag=yes |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2914 ac_cv_prog_cxx_g=no |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2915 CXXFLAGS="-g" |
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
|
2916 cat >conftest.$ac_ext <<_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
|
2917 /* 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
|
2918 _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
|
2919 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2920 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2921 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2922 |
3 | 2923 int |
2924 main () | |
2925 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2926 |
3 | 2927 ; |
2928 return 0; | |
2929 } | |
2930 _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
|
2931 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2932 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2933 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2935 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2936 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2938 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2939 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2940 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2941 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2942 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2944 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2945 test -z "$ac_cxx_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2946 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2947 } && test -s conftest.$ac_objext; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2948 ac_cv_prog_cxx_g=yes |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2949 else |
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
|
2950 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2951 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2952 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2953 CXXFLAGS="" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2954 cat >conftest.$ac_ext <<_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
|
2955 /* 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
|
2956 _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
|
2957 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2958 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2959 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2960 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2961 int |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2962 main () |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2963 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2964 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2965 ; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2966 return 0; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2967 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2968 _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
|
2969 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2970 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2971 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2973 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2974 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2976 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2977 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2978 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2979 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2980 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2982 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2983 test -z "$ac_cxx_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2984 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2985 } && test -s conftest.$ac_objext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2986 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2987 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
|
2988 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2989 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2990 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2991 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
|
2992 CXXFLAGS="-g" |
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
|
2993 cat >conftest.$ac_ext <<_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
|
2994 /* 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
|
2995 _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
|
2996 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
2997 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2998 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
2999 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3000 int |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3001 main () |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3002 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3003 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3004 ; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3005 return 0; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3006 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3007 _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
|
3008 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3009 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3010 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3012 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3013 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3015 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3016 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3017 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3018 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3019 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3021 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3022 test -z "$ac_cxx_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3023 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3024 } && test -s conftest.$ac_objext; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3025 ac_cv_prog_cxx_g=yes |
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
|
3026 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
|
3027 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3028 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3029 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3030 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3031 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
|
3032 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3033 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
|
3034 fi |
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
|
3035 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3036 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
|
3037 fi |
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
|
3038 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3039 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
|
3040 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
|
3041 fi |
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
|
3042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3043 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3044 if test "$ac_test_CXXFLAGS" = set; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3045 CXXFLAGS=$ac_save_CXXFLAGS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3046 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
|
3047 if test "$GXX" = yes; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3048 CXXFLAGS="-g -O2" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3049 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3050 CXXFLAGS="-g" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3051 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3052 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3053 if test "$GXX" = yes; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3054 CXXFLAGS="-O2" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3055 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3056 CXXFLAGS= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3057 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3058 fi |
3 | 3059 ac_ext=c |
3060 ac_cpp='$CPP $CPPFLAGS' | |
3061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3063 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3064 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3065 |
3 | 3066 # Extract the first word of "gmake", so it can be a program name with args. |
3067 set dummy gmake; ac_word=$2 | |
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
|
3068 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3070 if test "${ac_cv_prog_MAKE+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3071 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 3072 else |
3073 if test -n "$MAKE"; then | |
3074 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
3075 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
|
3076 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
|
3077 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
|
3078 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
|
3079 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
|
3080 test -z "$as_dir" && as_dir=. |
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
|
3081 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
3083 ac_cv_prog_MAKE="gmake" |
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
|
3084 echo "$as_me:$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
|
3085 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
|
3086 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
|
3087 done |
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
|
3088 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3089 IFS=$as_save_IFS |
3 | 3090 |
3091 fi | |
3092 fi | |
3093 MAKE=$ac_cv_prog_MAKE | |
3094 if test -n "$MAKE"; 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
|
3095 { echo "$as_me:$LINENO: result: $MAKE" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3096 echo "${ECHO_T}$MAKE" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3097 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
|
3098 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3099 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3100 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3101 |
3 | 3102 |
3103 if test x"$MAKE" = x; then | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3104 # Extract the first word of "make", so it can be a program name with args. |
3 | 3105 set dummy make; ac_word=$2 |
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
|
3106 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3108 if test "${ac_cv_prog_MAKE+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3109 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 3110 else |
3111 if test -n "$MAKE"; then | |
3112 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
3113 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
|
3114 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
|
3115 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
|
3116 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
|
3117 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
|
3118 test -z "$as_dir" && as_dir=. |
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
|
3119 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
3121 ac_cv_prog_MAKE="make" |
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
|
3122 echo "$as_me:$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
|
3123 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
|
3124 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
|
3125 done |
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
|
3126 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3127 IFS=$as_save_IFS |
3 | 3128 |
3129 fi | |
3130 fi | |
3131 MAKE=$ac_cv_prog_MAKE | |
3132 if test -n "$MAKE"; 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
|
3133 { echo "$as_me:$LINENO: result: $MAKE" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3134 echo "${ECHO_T}$MAKE" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3135 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
|
3136 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3137 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3138 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3139 |
3 | 3140 |
3141 fi | |
1174
f1cb493f97fd
Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1162
diff
changeset
|
3142 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
|
3143 # 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
|
3144 set dummy svnversion; ac_word=$2 |
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
|
3145 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3147 if test "${ac_cv_prog_SVNVERSION+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3148 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1161
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3149 else |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3150 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
|
3151 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
|
3152 else |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3153 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
|
3154 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
|
3155 do |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3156 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
|
3157 test -z "$as_dir" && as_dir=. |
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
|
3158 for ac_exec_ext in '' $ac_executable_extensions; do |
1161
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3160 ac_cv_prog_SVNVERSION="svnversion" |
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
|
3161 echo "$as_me:$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
|
3162 break 2 |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3163 fi |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3164 done |
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
|
3165 done |
1161
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3166 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
|
3167 |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3168 fi |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3169 fi |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3170 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
|
3171 if test -n "$SVNVERSION"; 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
|
3172 { echo "$as_me:$LINENO: result: $SVNVERSION" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3173 echo "${ECHO_T}$SVNVERSION" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3174 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
|
3175 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3176 echo "${ECHO_T}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
|
3177 fi |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3178 |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3179 |
1174
f1cb493f97fd
Updated configure to check the presence of a .svn directory
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1162
diff
changeset
|
3180 fi |
1161
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3181 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
|
3182 SVNVERSION=0 |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
3183 else |
1162
52e3aa735bdb
Attempt to fix parsing errors with the double : separated
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1161
diff
changeset
|
3184 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
|
3185 fi |
3 | 3186 |
3187 ac_aux_dir= | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3188 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
|
3189 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
|
3190 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
|
3191 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
|
3192 break |
1c24949cf853
Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1095
diff
changeset
|
3193 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
|
3194 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
|
3195 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
|
3196 break |
1c24949cf853
Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1095
diff
changeset
|
3197 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
|
3198 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
|
3199 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
|
3200 break |
1c24949cf853
Fixed a configure warning about datarootdir. (Just ignoring it for now)
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1095
diff
changeset
|
3201 fi |
3 | 3202 done |
3203 if test -z "$ac_aux_dir"; 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
|
3204 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3205 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3206 { (exit 1); exit 1; }; } |
3 | 3207 fi |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3208 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3209 # These three variables are undocumented and unsupported, |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3210 # 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
|
3211 # 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
|
3212 # whose full name contains unusual characters. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3213 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
|
3214 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
|
3215 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
|
3216 |
3 | 3217 |
3218 # Find a good install program. We prefer a C program (faster), | |
3219 # so one script is as good as another. But avoid the broken or | |
3220 # incompatible versions: | |
3221 # SysV /etc/install, /usr/sbin/install | |
3222 # SunOS /usr/etc/install | |
3223 # IRIX /sbin/install | |
3224 # AIX /bin/install | |
3225 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3226 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3227 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3228 # 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
|
3229 # OS/2's system install, which has a completely different semantic |
3 | 3230 # ./install, which can be erroneously created by make from ./install.sh. |
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
|
3231 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3232 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
3 | 3233 if test -z "$INSTALL"; 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
|
3234 if test "${ac_cv_path_install+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3235 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 3236 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
|
3237 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
|
3238 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
|
3239 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
|
3240 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
|
3241 test -z "$as_dir" && as_dir=. |
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
|
3242 # Account for people who put trailing slashes in PATH elements. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3243 case $as_dir/ in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3244 ./ | .// | /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
|
3245 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
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
|
3246 ?:\\/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
|
3247 /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
|
3248 *) |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3249 # 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
|
3250 # 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
|
3251 # 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
|
3252 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
|
3253 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3254 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3255 if test $ac_prog = install && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3256 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
|
3257 # 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
|
3258 : |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3259 elif test $ac_prog = install && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3260 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
|
3261 # 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
|
3262 : |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3263 else |
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
|
3264 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -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
|
3265 break 3 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3266 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3267 fi |
3 | 3268 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
|
3269 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
|
3270 ;; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3271 esac |
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
|
3272 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3273 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
|
3274 |
3 | 3275 |
3276 fi | |
3277 if test "${ac_cv_path_install+set}" = set; then | |
3278 INSTALL=$ac_cv_path_install | |
3279 else | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3280 # 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
|
3281 # value for INSTALL within a source directory, because that will |
3 | 3282 # 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
|
3283 # removed, or if the value is a relative name. |
3 | 3284 INSTALL=$ac_install_sh |
3285 fi | |
3286 fi | |
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
|
3287 { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3288 echo "${ECHO_T}$INSTALL" >&6; } |
3 | 3289 |
3290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3291 # It thinks the first close brace ends the variable substitution. | |
3292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3293 | |
3294 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3295 | |
3296 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3297 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3298 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3299 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3300 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3301 # Make sure we can run config.sub. |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3302 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&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
|
3303 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3304 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3305 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3306 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3307 { echo "$as_me:$LINENO: checking build system type" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3308 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3309 if test "${ac_cv_build+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3310 echo $ECHO_N "(cached) $ECHO_C" >&6 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3311 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3312 ac_build_alias=$build_alias |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3313 test "x$ac_build_alias" = x && |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3314 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
|
3315 test "x$ac_build_alias" = x && |
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
|
3316 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3317 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3318 { (exit 1); exit 1; }; } |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3319 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
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
|
3320 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3321 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3322 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3323 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3324 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
|
3325 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3326 echo "${ECHO_T}$ac_cv_build" >&6; } |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3327 case $ac_cv_build in |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3328 *-*-*) ;; |
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
|
3329 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3330 echo "$as_me: error: invalid value of canonical build" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3331 { (exit 1); exit 1; }; };; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3332 esac |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3333 build=$ac_cv_build |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3334 ac_save_IFS=$IFS; IFS='-' |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3335 set x $ac_cv_build |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3336 shift |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3337 build_cpu=$1 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3338 build_vendor=$2 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3339 shift; shift |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3340 # 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
|
3341 # except with old shells: |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3342 build_os=$* |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3343 IFS=$ac_save_IFS |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3344 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
|
3345 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3346 |
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
|
3347 { echo "$as_me:$LINENO: checking host system type" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3348 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3349 if test "${ac_cv_host+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3350 echo $ECHO_N "(cached) $ECHO_C" >&6 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3351 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3352 if test "x$host_alias" = x; then |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3353 ac_cv_host=$ac_cv_build |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3354 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3355 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
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
|
3356 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3357 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3358 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3359 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
|
3360 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3361 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
|
3362 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3363 echo "${ECHO_T}$ac_cv_host" >&6; } |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3364 case $ac_cv_host in |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3365 *-*-*) ;; |
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
|
3366 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3367 echo "$as_me: error: invalid value of canonical host" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3368 { (exit 1); exit 1; }; };; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3369 esac |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3370 host=$ac_cv_host |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3371 ac_save_IFS=$IFS; IFS='-' |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3372 set x $ac_cv_host |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3373 shift |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3374 host_cpu=$1 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3375 host_vendor=$2 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3376 shift; shift |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3377 # 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
|
3378 # except with old shells: |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3379 host_os=$* |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3380 IFS=$ac_save_IFS |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3381 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
|
3382 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3383 |
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
|
3384 { echo "$as_me:$LINENO: checking target system type" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3385 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3386 if test "${ac_cv_target+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3387 echo $ECHO_N "(cached) $ECHO_C" >&6 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3388 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3389 if test "x$target_alias" = x; then |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3390 ac_cv_target=$ac_cv_host |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3391 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3392 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
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
|
3393 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3394 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3395 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3396 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
|
3397 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3398 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
|
3399 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3400 echo "${ECHO_T}$ac_cv_target" >&6; } |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3401 case $ac_cv_target in |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3402 *-*-*) ;; |
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
|
3403 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3404 echo "$as_me: error: invalid value of canonical target" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3405 { (exit 1); exit 1; }; };; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3406 esac |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3407 target=$ac_cv_target |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3408 ac_save_IFS=$IFS; IFS='-' |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3409 set x $ac_cv_target |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3410 shift |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3411 target_cpu=$1 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3412 target_vendor=$2 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3413 shift; shift |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3414 # 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
|
3415 # except with old shells: |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3416 target_os=$* |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3417 IFS=$ac_save_IFS |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3418 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
|
3419 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3420 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3421 # 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
|
3422 # will get canonicalized. |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3423 test -n "$target_alias" && |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3424 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
|
3425 NONENONEs,x,x, && |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3426 program_prefix=${target_alias}- |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3427 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3428 |
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
|
3429 # Check whether --with-dwcompat was given. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3430 if test "${with_dwcompat+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3431 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
|
3432 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
|
3433 with_dwcompat=no |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3434 fi |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3435 |
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
|
3436 |
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
|
3437 |
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
|
3438 # Check whether --with-gtk3 was given. |
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
|
3439 if test "${with_gtk3+set}" = set; then |
1095
1ab93c92d3ea
Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1094
diff
changeset
|
3440 withval=$with_gtk3; with_gtk3=$withval |
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
|
3441 else |
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
|
3442 with_gtk3=no |
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
|
3443 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
|
3444 |
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
|
3445 |
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
|
3446 if test $with_dwcompat = yes; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3447 COMPAT_OBJECT="dwcompat.o" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3448 INSTALL_COMPAT="installdwcompat" |
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
|
3449 SYSCONF_LINK_TARGET_SHARED2="lib$TARGET2.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3450 else |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3451 COMPAT_OBJECT="" |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3452 INSTALL_COMPAT="" |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3453 SYSCONF_LINK_TARGET_SHARED2="" |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3454 fi |
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
|
3455 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3456 SYSCONF_LINK_TARGET_STATIC="lib$TARGET.a" |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3457 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3458 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3459 # Check whether --with-gtk was given. |
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
|
3460 if test "${with_gtk+set}" = set; then |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3461 withval=$with_gtk; with_gtk=$withval |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3462 else |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3463 with_gtk=no |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3464 fi |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3465 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
3466 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3467 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3468 # Check whether --with-gtkframework was given. |
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
|
3469 if test "${with_gtkframework+set}" = set; then |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3470 withval=$with_gtkframework; with_gtkframework=$withval |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3471 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3472 with_gtkframework=no |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3473 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3474 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3475 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
3476 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3477 # Check whether --with-gtkhtml was given. |
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
|
3478 if test "${with_gtkhtml+set}" = set; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3479 withval=$with_gtkhtml; with_gtkhtml=$withval |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3480 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3481 with_gtkhtml=no |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3482 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3483 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3484 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3485 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3486 # Check whether --with-gtkmozembed was given. |
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
|
3487 if test "${with_gtkmozembed+set}" = set; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3488 withval=$with_gtkmozembed; with_gtkmozembed=$withval |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3489 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3490 with_gtkmozembed=no |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3491 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3492 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3493 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3494 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3495 # Check whether --with-arch was given. |
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
|
3496 if test "${with_arch+set}" = set; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3497 withval=$with_arch; with_arch=$withval |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3498 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3499 with_arch=no |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3500 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3501 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3502 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3503 |
3 | 3504 ac_ext=c |
3505 ac_cpp='$CPP $CPPFLAGS' | |
3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
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
|
3509 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3 | 3511 # On Suns, sometimes $CPP names a directory. |
3512 if test -n "$CPP" && test -d "$CPP"; then | |
3513 CPP= | |
3514 fi | |
3515 if test -z "$CPP"; 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
|
3516 if test "${ac_cv_prog_CPP+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3517 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 3518 else |
3519 # Double quotes because CPP needs to be expanded | |
3520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3521 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3522 ac_preproc_ok=false |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3523 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
|
3524 do |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3525 # 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
|
3526 # with a fresh cross-compiler works. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3527 # 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
|
3528 # <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
|
3529 # 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
|
3530 # not just through cpp. "Syntax error" is here to catch this case. |
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
|
3531 cat >conftest.$ac_ext <<_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
|
3532 /* 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
|
3533 _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
|
3534 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3535 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3536 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3537 #ifdef __STDC__ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3538 # include <limits.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3539 #else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3540 # include <assert.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3541 #endif |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3542 Syntax error |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3543 _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
|
3544 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3545 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3547 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3548 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3551 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3552 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3553 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3554 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3556 (exit $ac_status); } >/dev/null && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3558 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3559 }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3560 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3561 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
|
3562 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3563 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3564 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3565 # Broken: fails on valid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3566 continue |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3567 fi |
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
|
3568 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3569 rm -f conftest.err conftest.$ac_ext |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3570 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3571 # 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
|
3572 # can be detected and how. |
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
|
3573 cat >conftest.$ac_ext <<_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
|
3574 /* 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
|
3575 _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
|
3576 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3577 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3578 /* end confdefs.h. */ |
3 | 3579 #include <ac_nonexistent.h> |
3580 _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
|
3581 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3582 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3584 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3585 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3588 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3589 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3590 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3591 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3593 (exit $ac_status); } >/dev/null && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3595 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3596 }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3597 # Broken: success on invalid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3598 continue |
3 | 3599 else |
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
|
3600 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3601 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3602 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3603 # Passes both tests. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3604 ac_preproc_ok=: |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3605 break |
3 | 3606 fi |
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
|
3607 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3608 rm -f conftest.err conftest.$ac_ext |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3609 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3610 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
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
|
3612 rm -f conftest.err conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3613 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
|
3614 break |
3 | 3615 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3616 |
3 | 3617 done |
3618 ac_cv_prog_CPP=$CPP | |
3619 | |
3620 fi | |
3621 CPP=$ac_cv_prog_CPP | |
3622 else | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3623 ac_cv_prog_CPP=$CPP |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3624 fi |
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
|
3625 { echo "$as_me:$LINENO: result: $CPP" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3626 echo "${ECHO_T}$CPP" >&6; } |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3627 ac_preproc_ok=false |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3628 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
|
3629 do |
3 | 3630 # 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
|
3631 # with a fresh cross-compiler works. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3632 # 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
|
3633 # <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
|
3634 # 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
|
3635 # not just through cpp. "Syntax error" is here to catch this case. |
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
|
3636 cat >conftest.$ac_ext <<_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
|
3637 /* 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
|
3638 _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
|
3639 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3640 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3641 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3642 #ifdef __STDC__ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3643 # include <limits.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3644 #else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3645 # include <assert.h> |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3646 #endif |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3647 Syntax error |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3648 _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
|
3649 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3650 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3652 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3653 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3656 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3657 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3658 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3659 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3661 (exit $ac_status); } >/dev/null && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3663 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3664 }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3665 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3666 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
|
3667 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3668 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3669 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3670 # Broken: fails on valid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3671 continue |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3672 fi |
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
|
3673 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3674 rm -f conftest.err conftest.$ac_ext |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3675 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3676 # 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
|
3677 # can be detected and how. |
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
|
3678 cat >conftest.$ac_ext <<_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
|
3679 /* 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
|
3680 _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
|
3681 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3682 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3683 /* end confdefs.h. */ |
3 | 3684 #include <ac_nonexistent.h> |
3685 _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
|
3686 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3687 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3689 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3690 esac |
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 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
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 ac_status=$? |
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 grep -v '^ *+' conftest.er1 >conftest.err |
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 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3696 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3698 (exit $ac_status); } >/dev/null && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3700 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3701 }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3702 # Broken: success on invalid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3703 continue |
3 | 3704 else |
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
|
3705 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3706 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3707 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3708 # Passes both tests. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3709 ac_preproc_ok=: |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3710 break |
3 | 3711 fi |
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
|
3712 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3713 rm -f conftest.err conftest.$ac_ext |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3714 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3715 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
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
|
3717 rm -f conftest.err conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3718 if $ac_preproc_ok; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3719 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3720 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
|
3721 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3722 See \`config.log' for more details." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3723 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3724 See \`config.log' for more details." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3725 { (exit 1); exit 1; }; } |
3 | 3726 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3727 |
3 | 3728 ac_ext=c |
3729 ac_cpp='$CPP $CPPFLAGS' | |
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3733 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3734 |
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
|
3735 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3736 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3737 if test "${ac_cv_path_GREP+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3738 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3739 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
|
3740 # Extract the first word of "grep ggrep" to use in msg output |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3741 if test -z "$GREP"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3742 set dummy grep ggrep; ac_prog_name=$2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3743 if test "${ac_cv_path_GREP+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3744 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3745 else |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3746 ac_path_GREP_found=false |
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
|
3747 # Loop through the user's path and test for each of PROGNAME-LIST |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3748 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
|
3749 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
|
3750 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3751 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3752 test -z "$as_dir" && as_dir=. |
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
|
3753 for ac_prog in grep ggrep; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3754 for ac_exec_ext in '' $ac_executable_extensions; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3755 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3756 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3757 # 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
|
3758 # Check for GNU $ac_path_GREP |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3759 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
|
3760 *GNU*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3761 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
|
3762 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3763 ac_count=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
|
3764 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3765 while : |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3766 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3767 cat "conftest.in" "conftest.in" >"conftest.tmp" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3768 mv "conftest.tmp" "conftest.in" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3769 cp "conftest.in" "conftest.nl" |
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
|
3770 echo 'GREP' >> "conftest.nl" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3771 "$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
|
3772 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
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
|
3773 ac_count=`expr $ac_count + 1` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3774 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
|
3775 # 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
|
3776 ac_cv_path_GREP="$ac_path_GREP" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3777 ac_path_GREP_max=$ac_count |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3778 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3779 # 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
|
3780 test $ac_count -gt 10 && break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3781 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3782 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
|
3783 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3784 |
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
|
3785 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3786 $ac_path_GREP_found && break 3 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3787 done |
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
|
3788 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3789 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3790 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3791 IFS=$as_save_IFS |
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
|
3792 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3793 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3794 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
|
3795 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3796 GREP="$ac_cv_path_GREP" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3797 if test -z "$GREP"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3798 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3799 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3800 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3801 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
|
3802 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3803 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3804 ac_cv_path_GREP=$GREP |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3805 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3806 |
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
|
3807 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3808 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
|
3809 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3810 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3811 GREP="$ac_cv_path_GREP" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3812 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3813 |
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
|
3814 { echo "$as_me:$LINENO: checking for egrep" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3815 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3816 if test "${ac_cv_path_EGREP+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3817 echo $ECHO_N "(cached) $ECHO_C" >&6 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3818 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3819 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
|
3820 then ac_cv_path_EGREP="$GREP -E" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3821 else |
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
|
3822 # Extract the first word of "egrep" to use in msg output |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3823 if test -z "$EGREP"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3824 set dummy egrep; ac_prog_name=$2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3825 if test "${ac_cv_path_EGREP+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3826 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3827 else |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3828 ac_path_EGREP_found=false |
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
|
3829 # Loop through the user's path and test for each of PROGNAME-LIST |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3830 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
|
3831 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
|
3832 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3833 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3834 test -z "$as_dir" && as_dir=. |
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
|
3835 for ac_prog in egrep; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3836 for ac_exec_ext in '' $ac_executable_extensions; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3837 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3838 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3839 # 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
|
3840 # Check for GNU $ac_path_EGREP |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3841 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
|
3842 *GNU*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3843 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
|
3844 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3845 ac_count=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
|
3846 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3847 while : |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3848 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3849 cat "conftest.in" "conftest.in" >"conftest.tmp" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3850 mv "conftest.tmp" "conftest.in" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3851 cp "conftest.in" "conftest.nl" |
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
|
3852 echo 'EGREP' >> "conftest.nl" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3853 "$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
|
3854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
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
|
3855 ac_count=`expr $ac_count + 1` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3856 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
|
3857 # 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
|
3858 ac_cv_path_EGREP="$ac_path_EGREP" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3859 ac_path_EGREP_max=$ac_count |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3860 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3861 # 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
|
3862 test $ac_count -gt 10 && break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3863 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3864 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
|
3865 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3866 |
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
|
3867 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3868 $ac_path_EGREP_found && break 3 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
3869 done |
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
|
3870 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3871 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3872 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3873 IFS=$as_save_IFS |
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
|
3874 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3875 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3876 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
|
3877 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3878 EGREP="$ac_cv_path_EGREP" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3879 if test -z "$EGREP"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3880 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3881 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3882 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3883 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
|
3884 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3885 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3886 ac_cv_path_EGREP=$EGREP |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3887 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3888 |
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
|
3889 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3890 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3891 fi |
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
|
3892 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3893 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3894 EGREP="$ac_cv_path_EGREP" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3895 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3896 |
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
|
3897 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3898 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3899 if test "${ac_cv_header_stdc+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3900 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3901 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
|
3902 cat >conftest.$ac_ext <<_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
|
3903 /* 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
|
3904 _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
|
3905 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3906 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3907 /* end confdefs.h. */ |
3 | 3908 #include <stdlib.h> |
3909 #include <stdarg.h> | |
3910 #include <string.h> | |
3911 #include <float.h> | |
3912 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3913 int |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3914 main () |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3915 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3916 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3917 ; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3918 return 0; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3919 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3920 _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
|
3921 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3922 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3923 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3925 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3926 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3928 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3929 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3930 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3931 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3932 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3934 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3935 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3936 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3937 } && test -s conftest.$ac_objext; then |
3 | 3938 ac_cv_header_stdc=yes |
3939 else | |
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
|
3940 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3941 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3942 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3943 ac_cv_header_stdc=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3944 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
|
3945 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3 | 3947 |
3948 if test $ac_cv_header_stdc = yes; then | |
3949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
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
|
3950 cat >conftest.$ac_ext <<_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
|
3951 /* 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
|
3952 _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
|
3953 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3954 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3955 /* end confdefs.h. */ |
3 | 3956 #include <string.h> |
3957 | |
3958 _ACEOF | |
3959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
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
|
3960 $EGREP "memchr" >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3961 : |
3 | 3962 else |
3963 ac_cv_header_stdc=no | |
3964 fi | |
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
|
3965 rm -f -r conftest* |
3 | 3966 |
3967 fi | |
3968 | |
3969 if test $ac_cv_header_stdc = yes; then | |
3970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
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
|
3971 cat >conftest.$ac_ext <<_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
|
3972 /* 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
|
3973 _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
|
3974 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3975 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
3976 /* end confdefs.h. */ |
3 | 3977 #include <stdlib.h> |
3978 | |
3979 _ACEOF | |
3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
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
|
3981 $EGREP "free" >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3982 : |
3 | 3983 else |
3984 ac_cv_header_stdc=no | |
3985 fi | |
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
|
3986 rm -f -r conftest* |
3 | 3987 |
3988 fi | |
3989 | |
3990 if test $ac_cv_header_stdc = yes; then | |
3991 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
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
|
3992 if test "$cross_compiling" = yes; then |
3 | 3993 : |
3994 else | |
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
|
3995 cat >conftest.$ac_ext <<_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
|
3996 /* 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
|
3997 _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
|
3998 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
3999 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4000 /* end confdefs.h. */ |
3 | 4001 #include <ctype.h> |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4002 #include <stdlib.h> |
3 | 4003 #if ((' ' & 0x0FF) == 0x020) |
4004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4006 #else | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4007 # define ISLOWER(c) \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4008 (('a' <= (c) && (c) <= 'i') \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4009 || ('j' <= (c) && (c) <= 'r') \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4010 || ('s' <= (c) && (c) <= 'z')) |
3 | 4011 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4012 #endif | |
4013 | |
4014 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4015 int | |
4016 main () | |
4017 { | |
4018 int i; | |
4019 for (i = 0; i < 256; i++) | |
4020 if (XOR (islower (i), ISLOWER (i)) | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4021 || toupper (i) != TOUPPER (i)) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4022 return 2; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4023 return 0; |
3 | 4024 } |
4025 _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
|
4026 rm -f conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4027 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4028 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4030 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4031 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4033 (eval "$ac_link") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4034 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4037 { (case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4039 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4040 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4042 (eval "$ac_try") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4043 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4045 (exit $ac_status); }; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4046 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4047 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
|
4048 echo "$as_me: program exited with status $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4049 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4050 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4051 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4052 ( exit $ac_status ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4053 ac_cv_header_stdc=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4054 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
|
4055 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4056 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
|
4057 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4058 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4059 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
|
4060 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
|
4061 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4062 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
3 | 4063 if test $ac_cv_header_stdc = yes; then |
4064 | |
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
|
4065 cat >>confdefs.h <<\_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
|
4066 #define STDC_HEADERS 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4067 _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
|
4068 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4069 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
|
4070 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4071 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4072 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4073 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4074 |
3 | 4075 |
4076 ac_header_dirent=no | |
4077 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | |
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
|
4078 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4079 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4080 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4082 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4083 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
|
4084 cat >conftest.$ac_ext <<_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
|
4085 /* 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
|
4086 _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
|
4087 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4088 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4089 /* end confdefs.h. */ |
3 | 4090 #include <sys/types.h> |
4091 #include <$ac_hdr> | |
4092 | |
4093 int | |
4094 main () | |
4095 { | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4096 if ((DIR *) 0) |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4097 return 0; |
3 | 4098 ; |
4099 return 0; | |
4100 } | |
4101 _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
|
4102 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4103 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4104 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4106 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4107 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4109 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4110 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4111 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4112 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4113 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4115 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4116 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4117 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4118 } && test -s conftest.$ac_objext; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4119 eval "$as_ac_Header=yes" |
3 | 4120 else |
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
|
4121 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4122 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4123 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4124 eval "$as_ac_Header=no" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4125 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
|
4126 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4127 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
|
4128 fi |
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
|
4129 ac_res=`eval echo '${'$as_ac_Header'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4130 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4131 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4132 if test `eval echo '${'$as_ac_Header'}'` = 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
|
4133 cat >>confdefs.h <<_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
|
4134 #define `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
|
4135 _ACEOF |
3 | 4136 |
4137 ac_header_dirent=$ac_hdr; break | |
4138 fi | |
4139 | |
4140 done | |
4141 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | |
4142 if test $ac_header_dirent = dirent.h; 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
|
4143 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4144 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4145 if test "${ac_cv_search_opendir+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4146 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 4147 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
|
4148 ac_func_search_save_LIBS=$LIBS |
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
|
4149 cat >conftest.$ac_ext <<_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
|
4150 /* 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
|
4151 _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
|
4152 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4153 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4154 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4155 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4156 /* 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
|
4157 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
|
4158 builtin and then its argument prototype would still apply. */ |
3 | 4159 #ifdef __cplusplus |
4160 extern "C" | |
4161 #endif | |
4162 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
|
4163 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
|
4164 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
|
4165 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4166 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
|
4167 ; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4168 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
|
4169 } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4170 _ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4171 for ac_lib in '' dir; do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4172 if test -z "$ac_lib"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4173 ac_res="none required" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4174 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4175 ac_res=-l$ac_lib |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4176 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
|
4177 fi |
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
|
4178 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4179 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4180 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4182 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4183 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4185 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4186 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4187 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4188 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4189 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4191 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4192 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4193 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4194 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4195 $as_test_x conftest$ac_exeext; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4196 ac_cv_search_opendir=$ac_res |
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
|
4197 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
|
4198 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4199 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4200 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4201 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4202 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
|
4203 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4205 conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4206 if test "${ac_cv_search_opendir+set}" = set; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4207 break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4208 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4209 done |
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
|
4210 if test "${ac_cv_search_opendir+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4211 : |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4212 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4213 ac_cv_search_opendir=no |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4214 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4215 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
|
4216 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
|
4217 fi |
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
|
4218 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4219 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4220 ac_res=$ac_cv_search_opendir |
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
|
4221 if test "$ac_res" != no; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4222 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
|
4223 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4224 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4225 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4226 else |
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
|
4227 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4228 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4229 if test "${ac_cv_search_opendir+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4230 echo $ECHO_N "(cached) $ECHO_C" >&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
|
4231 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
|
4232 ac_func_search_save_LIBS=$LIBS |
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
|
4233 cat >conftest.$ac_ext <<_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
|
4234 /* 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
|
4235 _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
|
4236 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4237 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4238 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4239 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4240 /* 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
|
4241 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
|
4242 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
|
4243 #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
|
4244 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
|
4245 #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
|
4246 char opendir (); |
3 | 4247 int |
4248 main () | |
4249 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4250 return opendir (); |
3 | 4251 ; |
4252 return 0; | |
4253 } | |
4254 _ACEOF | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4255 for ac_lib in '' x; do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4256 if test -z "$ac_lib"; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4257 ac_res="none required" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4258 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4259 ac_res=-l$ac_lib |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4260 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
|
4261 fi |
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
|
4262 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4263 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4264 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4266 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4267 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4269 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4270 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4271 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4272 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4273 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4275 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4276 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4277 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4278 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4279 $as_test_x conftest$ac_exeext; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4280 ac_cv_search_opendir=$ac_res |
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
|
4281 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
|
4282 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4283 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4284 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4285 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4286 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
|
4287 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4289 conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4290 if test "${ac_cv_search_opendir+set}" = set; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4291 break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4292 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4293 done |
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
|
4294 if test "${ac_cv_search_opendir+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4295 : |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4296 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4297 ac_cv_search_opendir=no |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4298 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4299 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
|
4300 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
|
4301 fi |
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 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4303 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4304 ac_res=$ac_cv_search_opendir |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4305 if test "$ac_res" != no; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4306 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
|
4307 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4308 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
|
4309 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4310 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
|
4311 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4312 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
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
|
4313 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4314 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4315 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4316 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4317 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4318 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4319 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4320 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4321 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4322 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
|
4323 inttypes.h stdint.h unistd.h |
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
|
4324 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4326 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4329 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4330 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
|
4331 cat >conftest.$ac_ext <<_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
|
4332 /* 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
|
4333 _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
|
4334 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4335 cat >>conftest.$ac_ext <<_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
|
4336 /* 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
|
4337 $ac_includes_default |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4338 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4339 #include <$ac_header> |
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 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4341 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4342 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4343 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4345 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4346 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4348 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4349 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4350 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4351 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4352 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4354 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4355 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4356 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4357 } && test -s conftest.$ac_objext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4358 eval "$as_ac_Header=yes" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4359 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
|
4360 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4361 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4362 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4363 eval "$as_ac_Header=no" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4364 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
|
4365 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
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 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
|
4368 ac_res=`eval echo '${'$as_ac_Header'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4369 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4370 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4371 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4372 cat >>confdefs.h <<_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
|
4373 #define `echo "HAVE_$ac_header" | $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
|
4374 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4375 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4376 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4377 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4378 done |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4379 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4380 |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4381 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4382 for ac_header in unistd.h |
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
|
4383 do |
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 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
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 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
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 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
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 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
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 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4390 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
|
4391 ac_res=`eval echo '${'$as_ac_Header'}'` |
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 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
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 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4394 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
|
4395 # Is the header compilable? |
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 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
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 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
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 cat >conftest.$ac_ext <<_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
|
4399 /* 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
|
4400 _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
|
4401 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4402 cat >>conftest.$ac_ext <<_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
|
4403 /* 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
|
4404 $ac_includes_default |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4405 #include <$ac_header> |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4406 _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
|
4407 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4408 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4409 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4411 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4412 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4414 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4415 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4416 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4417 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4418 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4420 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4421 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4422 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4423 } && test -s conftest.$ac_objext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4424 ac_header_compiler=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4425 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
|
4426 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4427 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4428 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4429 ac_header_compiler=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4430 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
|
4431 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4433 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4434 echo "${ECHO_T}$ac_header_compiler" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4435 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4436 # Is the header present? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4437 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4439 cat >conftest.$ac_ext <<_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
|
4440 /* 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
|
4441 _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
|
4442 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4443 cat >>conftest.$ac_ext <<_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
|
4444 /* 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
|
4445 #include <$ac_header> |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4446 _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
|
4447 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4448 case "(($ac_try" in |
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 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
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 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4451 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4454 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4455 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4456 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4457 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4459 (exit $ac_status); } >/dev/null && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4461 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4462 }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4463 ac_header_preproc=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4464 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
|
4465 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4466 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4467 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4468 ac_header_preproc=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4469 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
|
4470 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4471 rm -f conftest.err conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4472 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4473 echo "${ECHO_T}$ac_header_preproc" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4474 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4475 # So? What about this header? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4477 yes:no: ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4482 ac_header_preproc=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4483 ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4484 no:yes:* ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4497 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4498 ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4499 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4500 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4503 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4504 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
|
4505 eval "$as_ac_Header=\$ac_header_preproc" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4506 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
|
4507 ac_res=`eval echo '${'$as_ac_Header'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4508 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4509 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4510 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4511 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
|
4512 if test `eval echo '${'$as_ac_Header'}'` = 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
|
4513 cat >>confdefs.h <<_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
|
4514 #define `echo "HAVE_$ac_header" | $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
|
4515 _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
|
4516 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4517 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
|
4518 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4519 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
|
4520 |
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
|
4521 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4522 for ac_header in sys/stat.h |
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
|
4523 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4526 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4529 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4530 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
|
4531 ac_res=`eval echo '${'$as_ac_Header'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4532 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4533 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4534 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
|
4535 # Is the header compilable? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4536 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4538 cat >conftest.$ac_ext <<_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
|
4539 /* 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
|
4540 _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
|
4541 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4542 cat >>conftest.$ac_ext <<_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
|
4543 /* 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
|
4544 $ac_includes_default |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4545 #include <$ac_header> |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4546 _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
|
4547 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4548 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4549 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4551 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4552 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4554 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4555 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4556 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4557 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4558 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4560 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4561 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4562 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4563 } && test -s conftest.$ac_objext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4564 ac_header_compiler=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4565 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
|
4566 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4567 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4568 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4569 ac_header_compiler=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4570 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
|
4571 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4574 echo "${ECHO_T}$ac_header_compiler" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4575 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4576 # Is the header present? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4579 cat >conftest.$ac_ext <<_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
|
4580 /* 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
|
4581 _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
|
4582 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4583 cat >>conftest.$ac_ext <<_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
|
4584 /* 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
|
4585 #include <$ac_header> |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4586 _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
|
4587 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4588 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4590 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4591 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4594 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4595 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4596 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4597 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4599 (exit $ac_status); } >/dev/null && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4601 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4602 }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4603 ac_header_preproc=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4604 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
|
4605 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4606 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4607 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4608 ac_header_preproc=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4609 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
|
4610 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4611 rm -f conftest.err conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4613 echo "${ECHO_T}$ac_header_preproc" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4614 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4615 # So? What about this header? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4617 yes:no: ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4622 ac_header_preproc=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4623 ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4624 no:yes:* ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4637 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4638 ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4639 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4640 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4643 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4644 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
|
4645 eval "$as_ac_Header=\$ac_header_preproc" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4646 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
|
4647 ac_res=`eval echo '${'$as_ac_Header'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4648 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4649 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4650 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4651 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
|
4652 if test `eval echo '${'$as_ac_Header'}'` = 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
|
4653 cat >>confdefs.h <<_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
|
4654 #define `echo "HAVE_$ac_header" | $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
|
4655 _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
|
4656 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4657 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
|
4658 |
3 | 4659 done |
4660 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4661 |
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
|
4662 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4663 for ac_func in pipe |
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
|
4664 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4666 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4669 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4670 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
|
4671 cat >conftest.$ac_ext <<_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
|
4672 /* 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
|
4673 _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
|
4674 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4675 cat >>conftest.$ac_ext <<_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
|
4676 /* 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
|
4677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4678 For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4679 #define $ac_func innocuous_$ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4680 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4681 /* System header to define __stub macros and hopefully few prototypes, |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4682 which can conflict with char $ac_func (); below. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4684 <limits.h> exists even on freestanding compilers. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4685 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4686 #ifdef __STDC__ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4687 # include <limits.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
|
4688 #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
|
4689 # include <assert.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
|
4690 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4691 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4692 #undef $ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4693 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4694 /* 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
|
4695 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
|
4696 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
|
4697 #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
|
4698 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
|
4699 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4700 char $ac_func (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4701 /* The GNU C library defines this for functions which it implements |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4702 to always fail with ENOSYS. Some functions are actually named |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4703 something starting with __ and the normal name is an alias. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4704 #if defined __stub_$ac_func || defined __stub___$ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4705 choke me |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4706 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4707 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4708 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
|
4709 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
|
4710 { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4711 return $ac_func (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4712 ; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4713 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
|
4714 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4715 _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
|
4716 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4717 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4718 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4720 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4721 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4723 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4724 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4725 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4726 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4727 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4729 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4730 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4731 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4732 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4733 $as_test_x conftest$ac_exeext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4734 eval "$as_ac_var=yes" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4735 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
|
4736 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4737 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4738 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4739 eval "$as_ac_var=no" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4740 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
|
4741 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4743 conftest$ac_exeext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4744 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
|
4745 ac_res=`eval echo '${'$as_ac_var'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4746 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4747 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4748 if test `eval echo '${'$as_ac_var'}'` = yes; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4749 cat >>confdefs.h <<_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
|
4750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4751 _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
|
4752 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4753 cat >>confdefs.h <<\_ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4754 #define HAVE_PIPE 1 |
3 | 4755 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4756 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4757 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4758 done |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4759 |
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
|
4760 |
1161
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4761 for ac_func in vsnprintf |
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
|
4762 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4764 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4767 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4768 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
|
4769 cat >conftest.$ac_ext <<_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
|
4770 /* 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
|
4771 _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
|
4772 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4773 cat >>conftest.$ac_ext <<_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
|
4774 /* 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
|
4775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4777 #define $ac_func innocuous_$ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4778 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4779 /* System header to define __stub macros and hopefully few prototypes, |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4780 which can conflict with char $ac_func (); below. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4782 <limits.h> exists even on freestanding compilers. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4783 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4784 #ifdef __STDC__ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4785 # include <limits.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
|
4786 #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
|
4787 # include <assert.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
|
4788 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4789 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4790 #undef $ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4791 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4792 /* 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
|
4793 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
|
4794 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
|
4795 #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
|
4796 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
|
4797 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4798 char $ac_func (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4799 /* The GNU C library defines this for functions which it implements |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4800 to always fail with ENOSYS. Some functions are actually named |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4801 something starting with __ and the normal name is an alias. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4802 #if defined __stub_$ac_func || defined __stub___$ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4803 choke me |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4804 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4805 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4806 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
|
4807 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
|
4808 { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4809 return $ac_func (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4810 ; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4811 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
|
4812 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4813 _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
|
4814 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4815 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4816 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4818 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4819 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4821 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4822 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4823 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4824 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4825 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4827 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4828 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4829 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4830 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4831 $as_test_x conftest$ac_exeext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4832 eval "$as_ac_var=yes" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4833 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
|
4834 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4835 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4836 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4837 eval "$as_ac_var=no" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4838 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
|
4839 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4841 conftest$ac_exeext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4842 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
|
4843 ac_res=`eval echo '${'$as_ac_var'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4844 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4845 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4846 if test `eval echo '${'$as_ac_var'}'` = yes; then |
1161
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4847 cat >>confdefs.h <<_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
|
4848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4849 _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
|
4850 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4851 cat >>confdefs.h <<\_ACEOF |
1161
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4852 #define HAVE_VSNPRINTF 1 |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4853 _ACEOF |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4854 |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4855 fi |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4856 done |
e4b13cd7a002
Update configure script and fix a miscommit of the GTK3 code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1109
diff
changeset
|
4857 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4858 |
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
|
4859 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4860 for ac_func in connect |
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
|
4861 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4863 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4866 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4867 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
|
4868 cat >conftest.$ac_ext <<_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
|
4869 /* 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
|
4870 _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
|
4871 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4872 cat >>conftest.$ac_ext <<_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
|
4873 /* 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
|
4874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4875 For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4876 #define $ac_func innocuous_$ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4877 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4878 /* System header to define __stub macros and hopefully few prototypes, |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4879 which can conflict with char $ac_func (); below. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4881 <limits.h> exists even on freestanding compilers. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4882 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4883 #ifdef __STDC__ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4884 # include <limits.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
|
4885 #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
|
4886 # include <assert.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
|
4887 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4888 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4889 #undef $ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4890 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4891 /* 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
|
4892 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
|
4893 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
|
4894 #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
|
4895 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
|
4896 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4897 char $ac_func (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4898 /* The GNU C library defines this for functions which it implements |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4899 to always fail with ENOSYS. Some functions are actually named |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4900 something starting with __ and the normal name is an alias. */ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4901 #if defined __stub_$ac_func || defined __stub___$ac_func |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4902 choke me |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4903 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4904 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4905 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
|
4906 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
|
4907 { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4908 return $ac_func (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4909 ; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4910 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
|
4911 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4912 _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
|
4913 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4914 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4915 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4917 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4918 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4920 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4921 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4922 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4923 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4924 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4926 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4927 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4928 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4929 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4930 $as_test_x conftest$ac_exeext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4931 eval "$as_ac_var=yes" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4932 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
|
4933 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4934 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4935 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4936 eval "$as_ac_var=no" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4937 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
|
4938 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4940 conftest$ac_exeext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4941 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
|
4942 ac_res=`eval echo '${'$as_ac_var'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4943 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4944 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4945 if test `eval echo '${'$as_ac_var'}'` = 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
|
4946 cat >>confdefs.h <<_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
|
4947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4948 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4949 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4950 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4951 done |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4952 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4953 if test x"$ac_cv_func_connect" = x"no"; then |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4954 if test -z "$libsocket"; 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
|
4955 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4956 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4957 if test "${ac_cv_lib_socket_socket+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4958 echo $ECHO_N "(cached) $ECHO_C" >&6 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4959 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4960 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
4961 LIBS="-lsocket $LIBS" |
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
|
4962 cat >conftest.$ac_ext <<_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
|
4963 /* 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
|
4964 _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
|
4965 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4966 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4967 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4968 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4969 /* 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
|
4970 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
|
4971 builtin and then its argument prototype would still apply. */ |
3 | 4972 #ifdef __cplusplus |
4973 extern "C" | |
4974 #endif | |
4975 char socket (); | |
4976 int | |
4977 main () | |
4978 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
4979 return socket (); |
3 | 4980 ; |
4981 return 0; | |
4982 } | |
4983 _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
|
4984 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4985 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4986 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4988 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4989 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4991 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4992 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4993 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4994 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4995 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4997 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4998 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
4999 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5000 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5001 $as_test_x conftest$ac_exeext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5002 ac_cv_lib_socket_socket=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5003 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
|
5004 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5005 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5006 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5007 ac_cv_lib_socket_socket=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5008 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
|
5009 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5011 conftest$ac_exeext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5012 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
|
5013 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
|
5014 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5015 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5016 if test $ac_cv_lib_socket_socket = yes; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5017 LIBS="$LIBS -lsocket" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5018 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
|
5019 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5020 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
|
5021 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5022 if test -z "$libinet"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5023 { echo "$as_me:$LINENO: checking for socket in -linet" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5024 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5025 if test "${ac_cv_lib_inet_socket+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5026 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5027 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
|
5028 ac_check_lib_save_LIBS=$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
|
5029 LIBS="-linet $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
|
5030 cat >conftest.$ac_ext <<_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
|
5031 /* 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
|
5032 _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
|
5033 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5034 cat >>conftest.$ac_ext <<_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
|
5035 /* 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
|
5036 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5037 /* 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
|
5038 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
|
5039 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
|
5040 #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
|
5041 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
|
5042 #endif |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5043 char socket (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5044 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
|
5045 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
|
5046 { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5047 return socket (); |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5048 ; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5049 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
|
5050 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5051 _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
|
5052 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5053 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5054 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5056 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5057 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5059 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5060 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5061 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5062 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5063 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5065 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5066 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5067 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5068 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5069 $as_test_x conftest$ac_exeext; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5070 ac_cv_lib_inet_socket=yes |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5071 else |
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
|
5072 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5073 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5074 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5075 ac_cv_lib_inet_socket=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5076 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
|
5077 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5079 conftest$ac_exeext conftest.$ac_ext |
3 | 5080 LIBS=$ac_check_lib_save_LIBS |
5081 fi | |
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
|
5082 { echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5083 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5084 if test $ac_cv_lib_inet_socket = yes; then |
3 | 5085 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
5086 fi | |
5087 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5088 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5089 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5090 if test -z "$libnsl"; 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
|
5091 { echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5092 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5093 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5094 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 5095 else |
5096 ac_check_lib_save_LIBS=$LIBS | |
5097 LIBS="-lnsl $LIBS" | |
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
|
5098 cat >conftest.$ac_ext <<_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
|
5099 /* 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
|
5100 _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
|
5101 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5102 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5103 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5104 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5105 /* 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
|
5106 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
|
5107 builtin and then its argument prototype would still apply. */ |
3 | 5108 #ifdef __cplusplus |
5109 extern "C" | |
5110 #endif | |
5111 char gethostname (); | |
5112 int | |
5113 main () | |
5114 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5115 return gethostname (); |
3 | 5116 ; |
5117 return 0; | |
5118 } | |
5119 _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
|
5120 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5121 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5122 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5124 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5125 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5127 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5128 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5129 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5130 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5131 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5133 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5134 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5135 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5136 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5137 $as_test_x conftest$ac_exeext; then |
3 | 5138 ac_cv_lib_nsl_gethostname=yes |
5139 else | |
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
|
5140 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5141 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5142 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5143 ac_cv_lib_nsl_gethostname=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5144 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
|
5145 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5147 conftest$ac_exeext conftest.$ac_ext |
3 | 5148 LIBS=$ac_check_lib_save_LIBS |
5149 fi | |
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
|
5150 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5151 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5152 if test $ac_cv_lib_nsl_gethostname = yes; then |
3 | 5153 LIBS="$LIBS -lnsl" |
5154 fi | |
5155 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5156 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5157 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5158 |
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
|
5159 { echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5160 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5161 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5162 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 5163 else |
5164 ac_check_lib_save_LIBS=$LIBS | |
5165 LIBS="-lsun $LIBS" | |
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
|
5166 cat >conftest.$ac_ext <<_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
|
5167 /* 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
|
5168 _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
|
5169 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5170 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5171 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5172 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5173 /* 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
|
5174 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
|
5175 builtin and then its argument prototype would still apply. */ |
3 | 5176 #ifdef __cplusplus |
5177 extern "C" | |
5178 #endif | |
5179 char getpwnam (); | |
5180 int | |
5181 main () | |
5182 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5183 return getpwnam (); |
3 | 5184 ; |
5185 return 0; | |
5186 } | |
5187 _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
|
5188 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5189 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5190 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5192 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5193 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5195 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5196 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5197 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5198 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5199 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5201 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5202 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5203 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5204 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5205 $as_test_x conftest$ac_exeext; then |
3 | 5206 ac_cv_lib_sun_getpwnam=yes |
5207 else | |
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
|
5208 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5209 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5210 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5211 ac_cv_lib_sun_getpwnam=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5212 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
|
5213 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5215 conftest$ac_exeext conftest.$ac_ext |
3 | 5216 LIBS=$ac_check_lib_save_LIBS |
5217 fi | |
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
|
5218 { echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5219 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5220 if test $ac_cv_lib_sun_getpwnam = yes; then |
3 | 5221 LIBS="$LIBS -lsun" |
5222 fi | |
5223 | |
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
|
5224 { echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5225 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5226 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5227 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 5228 else |
5229 ac_check_lib_save_LIBS=$LIBS | |
5230 LIBS="-ldgc $LIBS" | |
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
|
5231 cat >conftest.$ac_ext <<_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
|
5232 /* 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
|
5233 _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
|
5234 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5235 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5236 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5237 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5238 /* 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
|
5239 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
|
5240 builtin and then its argument prototype would still apply. */ |
3 | 5241 #ifdef __cplusplus |
5242 extern "C" | |
5243 #endif | |
5244 char inet_addr (); | |
5245 int | |
5246 main () | |
5247 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5248 return inet_addr (); |
3 | 5249 ; |
5250 return 0; | |
5251 } | |
5252 _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
|
5253 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5254 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5255 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5257 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5258 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5260 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5261 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5262 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5263 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5264 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5266 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5267 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5268 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5269 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5270 $as_test_x conftest$ac_exeext; then |
3 | 5271 ac_cv_lib_dgc_inet_addr=yes |
5272 else | |
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
|
5273 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5274 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5275 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5276 ac_cv_lib_dgc_inet_addr=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5277 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
|
5278 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5280 conftest$ac_exeext conftest.$ac_ext |
3 | 5281 LIBS=$ac_check_lib_save_LIBS |
5282 fi | |
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
|
5283 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5284 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5285 if test $ac_cv_lib_dgc_inet_addr = yes; then |
3 | 5286 LIBS="$LIBS -ldgc" |
5287 fi | |
5288 | |
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
|
5289 { echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5290 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5291 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5292 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 5293 else |
5294 ac_check_lib_save_LIBS=$LIBS | |
5295 LIBS="-lresolv $LIBS" | |
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
|
5296 cat >conftest.$ac_ext <<_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
|
5297 /* 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
|
5298 _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
|
5299 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5300 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5301 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5302 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5303 /* 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
|
5304 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
|
5305 builtin and then its argument prototype would still apply. */ |
3 | 5306 #ifdef __cplusplus |
5307 extern "C" | |
5308 #endif | |
5309 char gethostbyname (); | |
5310 int | |
5311 main () | |
5312 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5313 return gethostbyname (); |
3 | 5314 ; |
5315 return 0; | |
5316 } | |
5317 _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
|
5318 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5319 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5320 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5322 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5323 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5325 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5326 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5327 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5328 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5329 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5331 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5332 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5333 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5334 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5335 $as_test_x conftest$ac_exeext; then |
3 | 5336 ac_cv_lib_resolv_gethostbyname=yes |
5337 else | |
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
|
5338 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5339 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5340 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5341 ac_cv_lib_resolv_gethostbyname=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5342 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
|
5343 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5345 conftest$ac_exeext conftest.$ac_ext |
3 | 5346 LIBS=$ac_check_lib_save_LIBS |
5347 fi | |
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
|
5348 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5349 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5350 if test $ac_cv_lib_resolv_gethostbyname = yes; then |
3 | 5351 LIBS="$LIBS -lresolv" |
5352 fi | |
5353 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5354 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5355 build_gtk="yes" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5356 check_pthreads="yes" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5357 TARGETS="$SYSCONF_LINK_TARGET_SHARED $SYSCONF_LINK_TARGET_SHARED2" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5358 PLATLIBS="" |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5359 SONAME="" |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5360 PLATCCFLAGS="-g -O2 -fPIC -Wall" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5361 ARFLAGS="cqs" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5362 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5363 case "$target" in |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5364 *cygwin*) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5365 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5366 *mingw32) |
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
|
5367 cat >>confdefs.h <<\_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
|
5368 #define DW_USE_GTK 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5369 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5370 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5371 ;; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5372 *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
|
5373 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
|
5374 ;; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5375 *nto-qnx*) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5376 DW_DIR="photon" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5377 DW_DEFINE=__PHOTON__ |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5378 build_gtk="no" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5379 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5380 *qnx*) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5381 DW_DIR="photon" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5382 DW_DEFINE=__PHOTON__ |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5383 build_gtk="no" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5384 check_pthreads="no" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5385 LIBSUFFIX="lib" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5386 LIBPREFIX="" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5387 SYSCONF_LINK_TARGET_STATIC="$TARGET.lib" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5388 TARGETS="$TARGET.lib" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5389 PLATCCFLAGS="" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5390 PLATLIBS="-lphoton_s -lphexlib3r" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5391 ARFLAGS="r" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5392 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5393 *apple-darwin*) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5394 case "$with_arch" in |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5395 no) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5396 ARCH="" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5397 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5398 all) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5399 ARCH="-arch ppc -arch ppc64 -arch x86_64 -arch i386" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5400 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5401 32bit) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5402 ARCH="-arch ppc -arch i386" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5403 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5404 64bit) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5405 ARCH="-arch ppc64 -arch x86_64" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5406 ;; |
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
|
5407 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
|
5408 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
|
5409 ;; |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5410 *) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5411 ARCH="-arch $with_arch" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5412 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5413 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
|
5414 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
|
5415 SOSUFFIX=dylib |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5416 if test $with_gtkframework = yes; then |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5417 DW_DIR=gtk |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5418 LIBS="$LIBS -framework Gtk -framework Glib -framework Cairo" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5419 GTK_CFLAGS="-I/Library/Frameworks/Gtk.framework/Headers -I/Library/Frameworks/Glib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5420 build_gtk="no" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5421 elif test $with_gtk = yes; then |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5422 build_gtk="yes" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5423 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5424 DW_DIR=mac |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5425 DW_SRC=dw.m |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5426 DW_DEFINE=__MAC__ |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5427 LIBS="$LIBS -framework Cocoa -framework WebKit" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5428 build_gtk="no" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5429 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5430 ;; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5431 *) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5432 ;; |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
5433 esac |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5434 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
5435 if test $build_gtk = "yes"; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5436 # 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
|
5437 set dummy pkg-config; ac_word=$2 |
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
|
5438 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5440 if test "${ac_cv_prog_PKG_CFG+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5441 echo $ECHO_N "(cached) $ECHO_C" >&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
|
5442 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
|
5443 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
|
5444 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
|
5445 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
|
5446 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
|
5447 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
|
5448 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
|
5449 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
|
5450 test -z "$as_dir" && as_dir=. |
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
|
5451 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
5453 ac_cv_prog_PKG_CFG="pkg-config" |
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
|
5454 echo "$as_me:$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
|
5455 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
|
5456 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
|
5457 done |
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
|
5458 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5459 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
|
5460 |
7d2108cbcd3e
Porting DW 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 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
|
5462 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
|
5463 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
|
5464 if test -n "$PKG_CFG"; 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
|
5465 { echo "$as_me:$LINENO: result: $PKG_CFG" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5466 echo "${ECHO_T}$PKG_CFG" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5467 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
|
5468 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5469 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5470 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5471 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5472 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5473 if test x"$PKG_CFG" != x; then |
1095
1ab93c92d3ea
Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1094
diff
changeset
|
5474 GTK_LIBS="" |
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
|
5475 if test $with_gtk3 = "yes"; then |
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
|
5476 GTK_PACKAGES="gtk+-3.0" |
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
|
5477 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES` |
1ab93c92d3ea
Add --with-gtk3 switch to enable building with GTK+ 3.x on systems where
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1094
diff
changeset
|
5478 fi |
1094
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5479 WEBKIT_PKG="webkit-1.1" |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5480 if test x"$GTK_LIBS" = x; then |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5481 GTK_PACKAGES="gtk+-2.0 gthread-2.0" |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5482 GTK_LIBS=`$PKG_CFG --silence-errors --libs $GTK_PACKAGES` |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5483 else |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5484 DW_DIR=gtk3 |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5485 WEBKIT_PKG="webkitgtk-3.0" |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5486 fi |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5487 if test $with_gtkmozembed = yes; then |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5488 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs firefox-gtkmozembed` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5489 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags firefox-gtkmozembed` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5490 RPATH=`$PKG_CFG --silence-errors --libs-only-L firefox-gtkmozembed | cut -b 3-` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5491 if test x"$MOZEMBED_LIBS" = x; then |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5492 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs mozilla-gtkmozembed` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5493 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags mozilla-gtkmozembed` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5494 RPATH=`$PKG_CFG --silence-errors --libs-only-L mozilla-gtkmozembed | cut -b 3-` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5495 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5496 elif test $with_gtkhtml = yes; then |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5497 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs libgtkhtml-2.0` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5498 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags libgtkhtml-2.0` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5499 RPATH=`$PKG_CFG --silence-errors --libs-only-L libgtkhtml-2.0 | cut -b 3-` |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5500 else |
1094
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5501 # test for webkit-1.1 or webkitgtk-3.0 packages |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5502 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG` |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5503 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_PKG | cut -b 3-` |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5504 if test x"$MOZEMBED_CFLAGS" = x; then |
1094
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5505 # no webkit-1.1 or webkitgtk-3.0, look for webkit-1.0 |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5506 WEBKIT_PKG="webkit-1.0" |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5507 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG` |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5508 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_PKG | cut -b 3-` |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5509 if test x"$MOZEMBED_CFLAGS" = x; then |
1094
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5510 WEBKIT_PKG="WebKitGtk" |
1189
c5419ef79a77
Committing the configure script now that it works on both FreeBSD and Ubuntu.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1174
diff
changeset
|
5511 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` |
1094
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5512 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG` |
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5513 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_PKG | cut -b 3-` |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5514 else |
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
|
5515 cat >>confdefs.h <<\_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
|
5516 #define USE_WEBKIT10 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5517 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5518 |
1189
c5419ef79a77
Committing the configure script now that it works on both FreeBSD and Ubuntu.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1174
diff
changeset
|
5519 WEBKIT_LIB=$WEBKIT_PKG |
c5419ef79a77
Committing the configure script now that it works on both FreeBSD and Ubuntu.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1174
diff
changeset
|
5520 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` |
c5419ef79a77
Committing the configure script now that it works on both FreeBSD and Ubuntu.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1174
diff
changeset
|
5521 RESULT=`echo $MOZEMBED_LIBS | grep lwebkitgtk-1.0` |
c5419ef79a77
Committing the configure script now that it works on both FreeBSD and Ubuntu.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1174
diff
changeset
|
5522 if test x"$RESULT" != x; then |
c5419ef79a77
Committing the configure script now that it works on both FreeBSD and Ubuntu.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1174
diff
changeset
|
5523 WEBKIT_LIB=webkitgtk-1.0 |
c5419ef79a77
Committing the configure script now that it works on both FreeBSD and Ubuntu.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1174
diff
changeset
|
5524 fi |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5525 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5526 else |
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
|
5527 cat >>confdefs.h <<\_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
|
5528 #define USE_WEBKIT11 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5529 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5530 |
1094
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
5531 WEBKIT_LIB=$WEBKIT_PKG |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5532 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5533 cat >>confdefs.h <<_ACEOF |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5534 #define WEBKIT_LIB "$WEBKIT_LIB" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5535 _ACEOF |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
5536 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5537 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5538 if test x"$RPATH" != x; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5539 RPATH="-Wl,-R$RPATH" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5540 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5541 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5542 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5543 if test x"$GTK_LIBS" = x; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5544 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5545 # Check whether --with-glib-prefix was given. |
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
|
5546 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
|
5547 withval=$with_glib_prefix; glib_config_prefix="$withval" |
3 | 5548 else |
5549 glib_config_prefix="" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5550 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5551 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5552 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5553 # Check whether --with-glib-exec-prefix was given. |
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
|
5554 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
|
5555 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" |
3 | 5556 else |
5557 glib_config_exec_prefix="" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5558 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5559 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5560 # Check whether --enable-glibtest was given. |
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
|
5561 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
|
5562 enableval=$enable_glibtest; |
3 | 5563 else |
5564 enable_glibtest=yes | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5565 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5566 |
3 | 5567 |
5568 if test x$glib_config_exec_prefix != x ; then | |
5569 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" | |
5570 if test x${GLIB_CONFIG+set} != xset ; then | |
5571 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config | |
5572 fi | |
5573 fi | |
5574 if test x$glib_config_prefix != x ; then | |
5575 glib_config_args="$glib_config_args --prefix=$glib_config_prefix" | |
5576 if test x${GLIB_CONFIG+set} != xset ; then | |
5577 GLIB_CONFIG=$glib_config_prefix/bin/glib-config | |
5578 fi | |
5579 fi | |
5580 | |
5581 for module in . | |
5582 do | |
5583 case "$module" in | |
5584 gmodule) | |
5585 glib_config_args="$glib_config_args gmodule" | |
5586 ;; | |
5587 gthread) | |
5588 glib_config_args="$glib_config_args gthread" | |
5589 ;; | |
5590 esac | |
5591 done | |
5592 | |
5593 # Extract the first word of "glib-config", so it can be a program name with args. | |
5594 set dummy glib-config; ac_word=$2 | |
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
|
5595 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5597 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5598 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 5599 else |
5600 case $GLIB_CONFIG in | |
5601 [\\/]* | ?:[\\/]*) | |
5602 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | |
5603 ;; | |
5604 *) | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5605 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
|
5606 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
|
5607 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
|
5608 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
|
5609 test -z "$as_dir" && as_dir=. |
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
|
5610 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
5612 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_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
|
5613 echo "$as_me:$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
|
5614 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
|
5615 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
|
5616 done |
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
|
5617 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5618 IFS=$as_save_IFS |
3 | 5619 |
5620 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | |
5621 ;; | |
5622 esac | |
5623 fi | |
5624 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | |
5625 if test -n "$GLIB_CONFIG"; 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
|
5626 { echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5627 echo "${ECHO_T}$GLIB_CONFIG" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5628 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
|
5629 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5630 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5631 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5632 |
3 | 5633 |
5634 min_glib_version=1.2.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
|
5635 { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5636 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; } |
3 | 5637 no_glib="" |
5638 if test "$GLIB_CONFIG" = "no" ; then | |
5639 no_glib=yes | |
5640 else | |
5641 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` | |
5642 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` | |
5643 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
5644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
5645 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
5646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
5647 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
5648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
5649 if test "x$enable_glibtest" = "xyes" ; then | |
5650 ac_save_CFLAGS="$CFLAGS" | |
5651 ac_save_LIBS="$LIBS" | |
5652 CFLAGS="$CFLAGS $GLIB_CFLAGS" | |
5653 LIBS="$GLIB_LIBS $LIBS" | |
5654 rm -f conf.glibtest | |
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
|
5655 if test "$cross_compiling" = yes; then |
3 | 5656 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5657 else | |
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
|
5658 cat >conftest.$ac_ext <<_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
|
5659 /* 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
|
5660 _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
|
5661 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5662 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5663 /* end confdefs.h. */ |
3 | 5664 |
5665 #include <glib.h> | |
5666 #include <stdio.h> | |
5667 #include <stdlib.h> | |
5668 | |
5669 int | |
5670 main () | |
5671 { | |
5672 int major, minor, micro; | |
5673 char *tmp_version; | |
5674 | |
5675 system ("touch conf.glibtest"); | |
5676 | |
5677 /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
5678 tmp_version = g_strdup("$min_glib_version"); | |
5679 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
5680 printf("%s, bad version string\n", "$min_glib_version"); | |
5681 exit(1); | |
5682 } | |
5683 | |
5684 if ((glib_major_version != $glib_config_major_version) || | |
5685 (glib_minor_version != $glib_config_minor_version) || | |
5686 (glib_micro_version != $glib_config_micro_version)) | |
5687 { | |
5688 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", | |
5689 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, | |
5690 glib_major_version, glib_minor_version, glib_micro_version); | |
5691 printf ("*** was found! If glib-config was correct, then it is best\n"); | |
5692 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n"); | |
5693 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
5694 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
5695 printf("*** required on your system.\n"); | |
5696 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); | |
5697 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n"); | |
5698 printf("*** before re-running configure\n"); | |
5699 } | |
5700 else if ((glib_major_version != GLIB_MAJOR_VERSION) || | |
5701 (glib_minor_version != GLIB_MINOR_VERSION) || | |
5702 (glib_micro_version != GLIB_MICRO_VERSION)) | |
5703 { | |
5704 printf("*** GLIB header files (version %d.%d.%d) do not match\n", | |
5705 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); | |
5706 printf("*** library (version %d.%d.%d)\n", | |
5707 glib_major_version, glib_minor_version, glib_micro_version); | |
5708 } | |
5709 else | |
5710 { | |
5711 if ((glib_major_version > major) || | |
5712 ((glib_major_version == major) && (glib_minor_version > minor)) || | |
5713 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) | |
5714 { | |
5715 return 0; | |
5716 } | |
5717 else | |
5718 { | |
5719 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", | |
5720 glib_major_version, glib_minor_version, glib_micro_version); | |
5721 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", | |
5722 major, minor, micro); | |
5723 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); | |
5724 printf("***\n"); | |
5725 printf("*** If you have already installed a sufficiently new version, this error\n"); | |
5726 printf("*** probably means that the wrong copy of the glib-config shell script is\n"); | |
5727 printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
5728 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n"); | |
5729 printf("*** correct copy of glib-config. (In this case, you will have to\n"); | |
5730 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
5731 printf("*** so that the correct libraries are found at run-time))\n"); | |
5732 } | |
5733 } | |
5734 return 1; | |
5735 } | |
5736 | |
5737 _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
|
5738 rm -f conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5739 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5740 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5742 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5743 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5745 (eval "$ac_link") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5746 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5749 { (case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5751 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5752 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5754 (eval "$ac_try") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5755 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5757 (exit $ac_status); }; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5758 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5759 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
|
5760 echo "$as_me: program exited with status $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5761 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5762 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5763 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5764 ( exit $ac_status ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5765 no_glib=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5766 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
|
5767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5768 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
|
5769 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5770 |
3 | 5771 CFLAGS="$ac_save_CFLAGS" |
5772 LIBS="$ac_save_LIBS" | |
5773 fi | |
5774 fi | |
5775 if test "x$no_glib" = x ; 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
|
5776 { echo "$as_me:$LINENO: result: yes" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5777 echo "${ECHO_T}yes" >&6; } |
3 | 5778 : |
5779 else | |
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
|
5780 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5781 echo "${ECHO_T}no" >&6; } |
3 | 5782 if test "$GLIB_CONFIG" = "no" ; then |
5783 echo "*** The glib-config script installed by GLIB could not be found" | |
5784 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | |
5785 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | |
5786 echo "*** full path to glib-config." | |
5787 else | |
5788 if test -f conf.glibtest ; then | |
5789 : | |
5790 else | |
5791 echo "*** Could not run GLIB test program, checking why..." | |
5792 CFLAGS="$CFLAGS $GLIB_CFLAGS" | |
5793 LIBS="$LIBS $GLIB_LIBS" | |
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
|
5794 cat >conftest.$ac_ext <<_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
|
5795 /* 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
|
5796 _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
|
5797 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5798 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5799 /* end confdefs.h. */ |
3 | 5800 |
5801 #include <glib.h> | |
5802 #include <stdio.h> | |
5803 | |
5804 int | |
5805 main () | |
5806 { | |
5807 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | |
5808 ; | |
5809 return 0; | |
5810 } | |
5811 _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
|
5812 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5813 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5814 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5816 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5817 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5819 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5820 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5821 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5822 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5823 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5825 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5826 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5827 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5828 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5829 $as_test_x conftest$ac_exeext; then |
3 | 5830 echo "*** The test program compiled, but did not run. This usually means" |
5831 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | |
5832 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | |
5833 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
5834 echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
5835 echo "*** is required on your system" | |
5836 echo "***" | |
5837 echo "*** If you have an old version installed, it is best to remove it, although" | |
5838 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
5839 else | |
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
|
5840 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5841 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5842 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5843 echo "*** The test program failed to compile or link. See the file config.log for the" |
3 | 5844 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" |
5845 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" | |
5846 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" | |
5847 fi | |
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
|
5848 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5850 conftest$ac_exeext conftest.$ac_ext |
3 | 5851 CFLAGS="$ac_save_CFLAGS" |
5852 LIBS="$ac_save_LIBS" | |
5853 fi | |
5854 fi | |
5855 GLIB_CFLAGS="" | |
5856 GLIB_LIBS="" | |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5857 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5858 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5859 { (exit 1); exit 1; }; }" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5860 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5861 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5862 { (exit 1); exit 1; }; }" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5863 { (exit 1); exit 1; }; } |
3 | 5864 fi |
5865 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5866 |
3 | 5867 rm -f conf.glibtest |
5868 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5869 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5870 # Check whether --with-gtk-prefix was given. |
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
|
5871 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
|
5872 withval=$with_gtk_prefix; gtk_config_prefix="$withval" |
3 | 5873 else |
5874 gtk_config_prefix="" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5875 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5876 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5877 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5878 # Check whether --with-gtk-exec-prefix was given. |
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
|
5879 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
|
5880 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" |
3 | 5881 else |
5882 gtk_config_exec_prefix="" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5883 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5884 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5885 # Check whether --enable-gtktest was given. |
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
|
5886 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
|
5887 enableval=$enable_gtktest; |
3 | 5888 else |
5889 enable_gtktest=yes | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5890 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5891 |
3 | 5892 |
5893 for module in . gthread | |
5894 do | |
5895 case "$module" in | |
5896 gthread) | |
5897 gtk_config_args="$gtk_config_args gthread" | |
5898 ;; | |
5899 esac | |
5900 done | |
5901 | |
5902 if test x$gtk_config_exec_prefix != x ; then | |
5903 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
5904 if test x${GTK_CONFIG+set} != xset ; then | |
5905 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
5906 fi | |
5907 fi | |
5908 if test x$gtk_config_prefix != x ; then | |
5909 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
5910 if test x${GTK_CONFIG+set} != xset ; then | |
5911 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
5912 fi | |
5913 fi | |
5914 | |
5915 # Extract the first word of "gtk-config", so it can be a program name with args. | |
5916 set dummy gtk-config; ac_word=$2 | |
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
|
5917 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5919 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5920 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 5921 else |
5922 case $GTK_CONFIG in | |
5923 [\\/]* | ?:[\\/]*) | |
5924 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | |
5925 ;; | |
5926 *) | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5927 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
|
5928 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
|
5929 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
|
5930 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
|
5931 test -z "$as_dir" && as_dir=. |
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
|
5932 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
5934 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_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
|
5935 echo "$as_me:$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
|
5936 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
|
5937 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
|
5938 done |
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
|
5939 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5940 IFS=$as_save_IFS |
3 | 5941 |
5942 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | |
5943 ;; | |
5944 esac | |
5945 fi | |
5946 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | |
5947 if test -n "$GTK_CONFIG"; 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
|
5948 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5949 echo "${ECHO_T}$GTK_CONFIG" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5950 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
|
5951 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5952 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5953 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5954 |
3 | 5955 |
5956 min_gtk_version=1.2.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
|
5957 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5958 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; } |
3 | 5959 no_gtk="" |
5960 if test "$GTK_CONFIG" = "no" ; then | |
5961 no_gtk=yes | |
5962 else | |
5963 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | |
5964 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` | |
5965 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
5966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
5967 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
5968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
5969 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
5970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
5971 if test "x$enable_gtktest" = "xyes" ; then | |
5972 ac_save_CFLAGS="$CFLAGS" | |
5973 ac_save_LIBS="$LIBS" | |
5974 CFLAGS="$CFLAGS $GTK_CFLAGS" | |
5975 LIBS="$GTK_LIBS $LIBS" | |
5976 rm -f conf.gtktest | |
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
|
5977 if test "$cross_compiling" = yes; then |
3 | 5978 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5979 else | |
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
|
5980 cat >conftest.$ac_ext <<_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
|
5981 /* 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
|
5982 _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
|
5983 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
5984 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
5985 /* end confdefs.h. */ |
3 | 5986 |
5987 #include <gtk/gtk.h> | |
5988 #include <stdio.h> | |
5989 #include <stdlib.h> | |
5990 | |
5991 int | |
5992 main () | |
5993 { | |
5994 int major, minor, micro; | |
5995 char *tmp_version; | |
5996 | |
5997 system ("touch conf.gtktest"); | |
5998 | |
5999 /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
6000 tmp_version = g_strdup("$min_gtk_version"); | |
6001 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
6002 printf("%s, bad version string\n", "$min_gtk_version"); | |
6003 exit(1); | |
6004 } | |
6005 | |
6006 if ((gtk_major_version != $gtk_config_major_version) || | |
6007 (gtk_minor_version != $gtk_config_minor_version) || | |
6008 (gtk_micro_version != $gtk_config_micro_version)) | |
6009 { | |
6010 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", | |
6011 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, | |
6012 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
6013 printf ("*** was found! If gtk-config was correct, then it is best\n"); | |
6014 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | |
6015 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
6016 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
6017 printf("*** required on your system.\n"); | |
6018 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); | |
6019 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); | |
6020 printf("*** before re-running configure\n"); | |
6021 } | |
6022 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) | |
6023 else if ((gtk_major_version != GTK_MAJOR_VERSION) || | |
6024 (gtk_minor_version != GTK_MINOR_VERSION) || | |
6025 (gtk_micro_version != GTK_MICRO_VERSION)) | |
6026 { | |
6027 printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | |
6028 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | |
6029 printf("*** library (version %d.%d.%d)\n", | |
6030 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
6031 } | |
6032 #endif /* defined (GTK_MAJOR_VERSION) ... */ | |
6033 else | |
6034 { | |
6035 if ((gtk_major_version > major) || | |
6036 ((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
6037 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | |
6038 { | |
6039 return 0; | |
6040 } | |
6041 else | |
6042 { | |
6043 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | |
6044 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
6045 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | |
6046 major, minor, micro); | |
6047 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | |
6048 printf("***\n"); | |
6049 printf("*** If you have already installed a sufficiently new version, this error\n"); | |
6050 printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); | |
6051 printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
6052 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); | |
6053 printf("*** correct copy of gtk-config. (In this case, you will have to\n"); | |
6054 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
6055 printf("*** so that the correct libraries are found at run-time))\n"); | |
6056 } | |
6057 } | |
6058 return 1; | |
6059 } | |
6060 | |
6061 _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
|
6062 rm -f conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6063 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6064 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6066 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6067 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6069 (eval "$ac_link") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6070 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6073 { (case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6075 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6076 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6078 (eval "$ac_try") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6079 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6081 (exit $ac_status); }; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6082 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6083 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
|
6084 echo "$as_me: program exited with status $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6085 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6086 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6087 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6088 ( exit $ac_status ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6089 no_gtk=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6090 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
|
6091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6092 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
|
6093 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6094 |
3 | 6095 CFLAGS="$ac_save_CFLAGS" |
6096 LIBS="$ac_save_LIBS" | |
6097 fi | |
6098 fi | |
6099 if test "x$no_gtk" = x ; 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
|
6100 { echo "$as_me:$LINENO: result: yes" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6101 echo "${ECHO_T}yes" >&6; } |
3 | 6102 : |
6103 else | |
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
|
6104 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6105 echo "${ECHO_T}no" >&6; } |
3 | 6106 if test "$GTK_CONFIG" = "no" ; then |
6107 echo "*** The gtk-config script installed by GTK could not be found" | |
6108 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | |
6109 echo "*** your path, or set the GTK_CONFIG environment variable to the" | |
6110 echo "*** full path to gtk-config." | |
6111 else | |
6112 if test -f conf.gtktest ; then | |
6113 : | |
6114 else | |
6115 echo "*** Could not run GTK test program, checking why..." | |
6116 CFLAGS="$CFLAGS $GTK_CFLAGS" | |
6117 LIBS="$LIBS $GTK_LIBS" | |
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
|
6118 cat >conftest.$ac_ext <<_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
|
6119 /* 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
|
6120 _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
|
6121 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6122 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6123 /* end confdefs.h. */ |
3 | 6124 |
6125 #include <gtk/gtk.h> | |
6126 #include <stdio.h> | |
6127 | |
6128 int | |
6129 main () | |
6130 { | |
6131 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | |
6132 ; | |
6133 return 0; | |
6134 } | |
6135 _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
|
6136 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6137 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6138 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6140 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6141 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6143 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6144 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6145 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6146 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6147 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6149 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6150 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6151 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6152 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6153 $as_test_x conftest$ac_exeext; then |
3 | 6154 echo "*** The test program compiled, but did not run. This usually means" |
6155 echo "*** that the run-time linker is not finding GTK or finding the wrong" | |
6156 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | |
6157 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
6158 echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
6159 echo "*** is required on your system" | |
6160 echo "***" | |
6161 echo "*** If you have an old version installed, it is best to remove it, although" | |
6162 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
6163 else | |
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
|
6164 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6165 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6166 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6167 echo "*** The test program failed to compile or link. See the file config.log for the" |
3 | 6168 echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
6169 echo "*** or that you have moved GTK since it was installed. In the latter case, you" | |
6170 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" | |
6171 fi | |
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
|
6172 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6174 conftest$ac_exeext conftest.$ac_ext |
3 | 6175 CFLAGS="$ac_save_CFLAGS" |
6176 LIBS="$ac_save_LIBS" | |
6177 fi | |
6178 fi | |
6179 GTK_CFLAGS="" | |
6180 GTK_LIBS="" | |
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
|
6181 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6182 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6183 { (exit 1); exit 1; }; }" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6184 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6185 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6186 { (exit 1); exit 1; }; }" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6187 { (exit 1); exit 1; }; } |
3 | 6188 fi |
6189 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
6190 |
3 | 6191 rm -f conf.gtktest |
6192 | |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6193 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6194 # Check whether --with-imlib-prefix was given. |
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
|
6195 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
|
6196 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
|
6197 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6198 imlib_prefix="" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6199 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6200 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6201 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6202 # Check whether --with-imlib-exec-prefix was given. |
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
|
6203 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
|
6204 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
|
6205 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6206 imlib_exec_prefix="" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6207 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6208 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6209 # Check whether --enable-imlibtest was given. |
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
|
6210 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
|
6211 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
|
6212 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6213 enable_imlibtest=yes |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6214 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6215 |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6216 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6217 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
|
6218 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
|
6219 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
|
6220 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
|
6221 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6222 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6223 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
|
6224 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
|
6225 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
|
6226 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
|
6227 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6228 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6229 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6230 # 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
|
6231 set dummy imlib-config; ac_word=$2 |
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
|
6232 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6234 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6235 echo $ECHO_N "(cached) $ECHO_C" >&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
|
6236 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6237 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
|
6238 [\\/]* | ?:[\\/]*) |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6239 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
|
6240 ;; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6241 *) |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6242 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
|
6243 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
|
6244 do |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6245 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
|
6246 test -z "$as_dir" && as_dir=. |
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
|
6247 for ac_exec_ext in '' $ac_executable_extensions; do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
|
6249 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_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
|
6250 echo "$as_me:$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
|
6251 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
|
6252 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6253 done |
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
|
6254 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6255 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
|
6256 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6257 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
|
6258 ;; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6259 esac |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6260 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6261 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
|
6262 if test -n "$IMLIB_CONFIG"; 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
|
6263 { echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6264 echo "${ECHO_T}$IMLIB_CONFIG" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6265 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
|
6266 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6267 echo "${ECHO_T}no" >&6; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6268 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6269 |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6270 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6271 min_imlib_version=1.9.4 |
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
|
6272 { echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6273 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&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
|
6274 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
|
6275 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
|
6276 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
|
6277 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6278 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
|
6279 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
|
6280 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6281 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
|
6282 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
|
6283 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
|
6284 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
|
6285 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
|
6286 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
|
6287 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
|
6288 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
|
6289 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
|
6290 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
|
6291 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
|
6292 rm -f conf.imlibtest |
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
|
6293 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
|
6294 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
|
6295 else |
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
|
6296 cat >conftest.$ac_ext <<_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
|
6297 /* 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
|
6298 _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
|
6299 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6300 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6301 /* 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
|
6302 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6303 #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
|
6304 #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
|
6305 #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
|
6306 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6307 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
|
6308 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6309 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
|
6310 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
|
6311 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6312 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
|
6313 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6314 /* 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
|
6315 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
|
6316 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6317 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
|
6318 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
|
6319 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6320 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6321 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
|
6322 (($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
|
6323 (($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
|
6324 ($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
|
6325 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6326 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
|
6327 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6328 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6329 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6330 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
|
6331 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
|
6332 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
|
6333 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
|
6334 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
|
6335 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
|
6336 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
|
6337 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6338 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6339 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6340 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6341 _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
|
6342 rm -f conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6343 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6344 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6346 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6347 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6349 (eval "$ac_link") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6350 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6353 { (case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6355 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6356 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6358 (eval "$ac_try") 2>&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6359 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6361 (exit $ac_status); }; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6362 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6363 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
|
6364 echo "$as_me: program exited with status $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6365 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6366 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6367 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6368 ( exit $ac_status ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6369 no_imlib=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6370 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
|
6371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6372 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
|
6373 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6374 |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6375 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
|
6376 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
|
6377 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6378 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6379 if test "x$no_imlib" = x ; 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
|
6380 { echo "$as_me:$LINENO: result: yes" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6381 echo "${ECHO_T}yes" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6382 cat >>confdefs.h <<\_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
|
6383 #define USE_IMLIB 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6384 _ACEOF |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6385 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6386 else |
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
|
6387 { echo "$as_me:$LINENO: result: no" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6388 echo "${ECHO_T}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
|
6389 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
|
6390 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
|
6391 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
|
6392 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
|
6393 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
|
6394 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6395 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
|
6396 : |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6397 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6398 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
|
6399 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
|
6400 LIBS="$LIBS $GDK_IMLIB_LIBS" |
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
|
6401 cat >conftest.$ac_ext <<_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
|
6402 /* 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
|
6403 _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
|
6404 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6405 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6406 /* 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
|
6407 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6408 #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
|
6409 #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
|
6410 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6411 int |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6412 main () |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6413 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6414 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
|
6415 ; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6416 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
|
6417 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6418 _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
|
6419 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6420 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6421 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6423 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6424 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6426 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6427 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6428 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6429 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6430 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6432 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6433 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6434 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6435 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6436 $as_test_x conftest$ac_exeext; 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
|
6437 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
|
6438 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
|
6439 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
|
6440 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
|
6441 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
|
6442 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
|
6443 echo "***" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6444 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
|
6445 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
|
6446 else |
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
|
6447 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6448 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6449 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6450 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
|
6451 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
|
6452 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
|
6453 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
|
6454 fi |
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
|
6455 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6457 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
|
6458 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
|
6459 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
|
6460 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6461 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6462 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
|
6463 GDK_IMLIB_LIBS="" |
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
|
6464 { { echo "$as_me:$LINENO: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6465 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6466 { (exit 1); exit 1; }; } |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6467 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6468 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6469 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
6470 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
|
6471 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6472 else |
1094
b2a4cfc3cb87
Enable use of WebKit 1.0 under ubuntu Natty; package name:
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1033
diff
changeset
|
6473 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
|
6474 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6475 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
|
6476 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
|
6477 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6478 if test $check_pthreads = "yes"; 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
|
6479 if test "${ac_cv_header_pthread_h+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6480 { echo "$as_me:$LINENO: checking for pthread.h" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6481 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6482 if test "${ac_cv_header_pthread_h+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6483 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6484 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
|
6485 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6486 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6487 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
|
6488 # Is the header compilable? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6489 { echo "$as_me:$LINENO: checking pthread.h usability" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6490 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6491 cat >conftest.$ac_ext <<_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
|
6492 /* 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
|
6493 _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
|
6494 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6495 cat >>conftest.$ac_ext <<_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
|
6496 /* 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
|
6497 $ac_includes_default |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6498 #include <pthread.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
|
6499 _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
|
6500 rm -f conftest.$ac_objext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6501 if { (ac_try="$ac_compile" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6502 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6504 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6505 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6507 (eval "$ac_compile") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6508 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6509 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6510 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6511 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6513 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6514 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6515 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6516 } && test -s conftest.$ac_objext; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6517 ac_header_compiler=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6518 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
|
6519 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6520 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6521 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6522 ac_header_compiler=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6523 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
|
6524 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6526 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6527 echo "${ECHO_T}$ac_header_compiler" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6528 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6529 # Is the header present? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6530 { echo "$as_me:$LINENO: checking pthread.h presence" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6531 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6532 cat >conftest.$ac_ext <<_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
|
6533 /* 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
|
6534 _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
|
6535 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6536 cat >>conftest.$ac_ext <<_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
|
6537 /* 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
|
6538 #include <pthread.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
|
6539 _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
|
6540 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6541 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6543 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6544 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6547 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6548 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6549 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6550 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6552 (exit $ac_status); } >/dev/null && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6553 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6554 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6555 }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6556 ac_header_preproc=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6557 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
|
6558 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6559 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6560 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6561 ac_header_preproc=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6562 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
|
6563 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6564 rm -f conftest.err conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6565 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6566 echo "${ECHO_T}$ac_header_preproc" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6567 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6568 # So? What about this header? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6570 yes:no: ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6571 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6572 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6573 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6574 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6575 ac_header_preproc=yes |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6576 ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6577 no:yes:* ) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6578 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6579 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6580 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6581 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6582 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6583 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6584 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6585 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6586 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6587 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6588 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6589 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6590 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6591 ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6592 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6593 { echo "$as_me:$LINENO: checking for pthread.h" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6594 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6595 if test "${ac_cv_header_pthread_h+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6596 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6597 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
|
6598 ac_cv_header_pthread_h=$ac_header_preproc |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6599 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
|
6600 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6601 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6602 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6603 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
|
6604 if test $ac_cv_header_pthread_h = yes; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6605 : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6606 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
|
6607 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6608 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6609 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6610 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
|
6611 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6612 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6613 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6614 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6615 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6616 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3 | 6617 else |
6618 ac_check_lib_save_LIBS=$LIBS | |
6619 LIBS="-lpthread $LIBS" | |
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
|
6620 cat >conftest.$ac_ext <<_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
|
6621 /* 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
|
6622 _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
|
6623 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6624 cat >>conftest.$ac_ext <<_ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6625 /* end confdefs.h. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6626 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6627 /* Override any GCC internal prototype to avoid an error. |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6628 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
|
6629 builtin and then its argument prototype would still apply. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6630 #ifdef __cplusplus |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6631 extern "C" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6632 #endif |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6633 char pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6634 int |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6635 main () |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6636 { |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6637 return pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6638 ; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6639 return 0; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6640 } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6641 _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
|
6642 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6643 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6644 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6646 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6647 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6649 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6650 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6651 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6652 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6653 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6655 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6656 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6657 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6658 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6659 $as_test_x conftest$ac_exeext; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6660 ac_cv_lib_pthread_pthread_attr_init=yes |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6661 else |
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
|
6662 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6663 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6664 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6665 ac_cv_lib_pthread_pthread_attr_init=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6666 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
|
6667 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6669 conftest$ac_exeext conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6670 LIBS=$ac_check_lib_save_LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6671 fi |
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
|
6672 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6673 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6674 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6675 PTHREAD_LIBS="-lpthread" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6676 else |
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
|
6677 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6678 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6679 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6680 echo $ECHO_N "(cached) $ECHO_C" >&6 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6681 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6682 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6683 LIBS="-lpthreads $LIBS" |
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
|
6684 cat >conftest.$ac_ext <<_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
|
6685 /* 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
|
6686 _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
|
6687 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6688 cat >>conftest.$ac_ext <<_ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6689 /* end confdefs.h. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6690 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6691 /* Override any GCC internal prototype to avoid an error. |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6692 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
|
6693 builtin and then its argument prototype would still apply. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6694 #ifdef __cplusplus |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6695 extern "C" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6696 #endif |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6697 char pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6698 int |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6699 main () |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6700 { |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6701 return pthread_attr_init (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6702 ; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6703 return 0; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6704 } |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6705 _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
|
6706 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6707 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6708 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6710 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6711 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6713 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6714 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6715 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6716 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6717 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6719 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6720 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6721 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6722 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6723 $as_test_x conftest$ac_exeext; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6724 ac_cv_lib_pthreads_pthread_attr_init=yes |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6725 else |
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
|
6726 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6727 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6728 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6729 ac_cv_lib_pthreads_pthread_attr_init=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6730 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
|
6731 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6733 conftest$ac_exeext conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6734 LIBS=$ac_check_lib_save_LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6735 fi |
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
|
6736 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6737 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6738 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6739 PTHREAD_LIBS="-lpthreads" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6740 else |
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
|
6741 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6742 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6743 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6744 echo $ECHO_N "(cached) $ECHO_C" >&6 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6745 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6746 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6747 LIBS="-lc_r $LIBS" |
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
|
6748 cat >conftest.$ac_ext <<_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
|
6749 /* 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
|
6750 _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
|
6751 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6752 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6753 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6754 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6755 /* 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
|
6756 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
|
6757 builtin and then its argument prototype would still apply. */ |
3 | 6758 #ifdef __cplusplus |
6759 extern "C" | |
6760 #endif | |
6761 char pthread_attr_init (); | |
6762 int | |
6763 main () | |
6764 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6765 return pthread_attr_init (); |
3 | 6766 ; |
6767 return 0; | |
6768 } | |
6769 _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
|
6770 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6771 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6772 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6774 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6775 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6777 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6778 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6779 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6780 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6781 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6783 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6784 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6785 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6786 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6787 $as_test_x conftest$ac_exeext; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6788 ac_cv_lib_c_r_pthread_attr_init=yes |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6789 else |
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
|
6790 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6791 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6792 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6793 ac_cv_lib_c_r_pthread_attr_init=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6794 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
|
6795 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6797 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
|
6798 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
|
6799 fi |
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
|
6800 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6801 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6802 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then |
3 | 6803 PTHREAD_LIBS="-lc_r" |
6804 else | |
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
|
6805 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6806 echo $ECHO_N "checking for pthread_attr_init in -lc... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6807 if test "${ac_cv_lib_c_pthread_attr_init+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6808 echo $ECHO_N "(cached) $ECHO_C" >&6 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6809 else |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6810 ac_check_lib_save_LIBS=$LIBS |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6811 LIBS="-lc $LIBS" |
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
|
6812 cat >conftest.$ac_ext <<_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
|
6813 /* 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
|
6814 _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
|
6815 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6816 cat >>conftest.$ac_ext <<_ACEOF |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6817 /* end confdefs.h. */ |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6818 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6819 /* 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
|
6820 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
|
6821 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
|
6822 #ifdef __cplusplus |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6823 extern "C" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6824 #endif |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6825 char pthread_attr_init (); |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6826 int |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6827 main () |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6828 { |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6829 return pthread_attr_init (); |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6830 ; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6831 return 0; |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6832 } |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6833 _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
|
6834 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6835 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6836 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6838 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6839 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6841 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6842 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6843 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6844 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6845 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6847 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6848 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6849 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6850 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6851 $as_test_x conftest$ac_exeext; then |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6852 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
|
6853 else |
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
|
6854 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6855 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6856 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6857 ac_cv_lib_c_pthread_attr_init=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6858 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
|
6859 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6861 conftest$ac_exeext conftest.$ac_ext |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6862 LIBS=$ac_check_lib_save_LIBS |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6863 fi |
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
|
6864 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_attr_init" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6865 echo "${ECHO_T}$ac_cv_lib_c_pthread_attr_init" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6866 if test $ac_cv_lib_c_pthread_attr_init = yes; then |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6867 PTHREAD_LIBS="-lc" |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6868 else |
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
|
6869 { { echo "$as_me:$LINENO: error: pthread library not found. dwindows cannot build without it." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6870 echo "$as_me: error: pthread library not found. dwindows cannot build without it." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6871 { (exit 1); exit 1; }; } |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6872 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6873 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6874 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6875 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6876 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6877 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6878 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6879 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6880 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6881 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6882 fi |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6883 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
6884 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
|
6885 |
588
1b398af1ec38
Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
587
diff
changeset
|
6886 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $MOZEMBED_CFLAGS" |
1b398af1ec38
Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
587
diff
changeset
|
6887 |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
6888 BROWSER_OBJECT="" |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6889 if test x"$MOZEMBED_CFLAGS" != x; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6890 SAVE_LIBS="$LIBS" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6891 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
6892 BROWSER_OBJECT="browser.o" |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6893 if test $with_gtkmozembed = yes; 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
|
6894 { echo "$as_me:$LINENO: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6895 echo $ECHO_N "checking for gtk_moz_embed_new in -lgtkembedmoz... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6896 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6897 echo $ECHO_N "(cached) $ECHO_C" >&6 |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6898 else |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6899 ac_check_lib_save_LIBS=$LIBS |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6900 LIBS="-lgtkembedmoz $LIBS" |
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
|
6901 cat >conftest.$ac_ext <<_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
|
6902 /* 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
|
6903 _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
|
6904 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6905 cat >>conftest.$ac_ext <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6906 /* end confdefs.h. */ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6907 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6908 /* 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
|
6909 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
|
6910 builtin and then its argument prototype would still apply. */ |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6911 #ifdef __cplusplus |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6912 extern "C" |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6913 #endif |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6914 char gtk_moz_embed_new (); |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6915 int |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6916 main () |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6917 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
6918 return gtk_moz_embed_new (); |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6919 ; |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6920 return 0; |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6921 } |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6922 _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
|
6923 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6924 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6925 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6927 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6928 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6930 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6931 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6932 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6933 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6934 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6936 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6937 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6938 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6939 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6940 $as_test_x conftest$ac_exeext; then |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6941 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6942 else |
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
|
6943 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6944 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6945 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6946 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6947 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
|
6948 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6950 conftest$ac_exeext conftest.$ac_ext |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6951 LIBS=$ac_check_lib_save_LIBS |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6952 fi |
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
|
6953 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6954 echo "${ECHO_T}$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6955 if test $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new = yes; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6956 cat >>confdefs.h <<\_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
|
6957 #define USE_GTKMOZEMBED 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6958 _ACEOF |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6959 |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
6960 else |
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
6961 BROWSER_OBJECT="" |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6962 fi |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
6963 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6964 elif test $with_gtkhtml = yes; 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
|
6965 { echo "$as_me:$LINENO: checking for html_document_new in -lgtkhtml-2" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6966 echo $ECHO_N "checking for html_document_new in -lgtkhtml-2... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6967 if test "${ac_cv_lib_gtkhtml_2_html_document_new+set}" = set; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6968 echo $ECHO_N "(cached) $ECHO_C" >&6 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6969 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6970 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6971 LIBS="-lgtkhtml-2 $LIBS" |
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
|
6972 cat >conftest.$ac_ext <<_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
|
6973 /* 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
|
6974 _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
|
6975 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6976 cat >>conftest.$ac_ext <<_ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6977 /* end confdefs.h. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6978 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6979 /* Override any GCC internal prototype to avoid an error. |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6980 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
|
6981 builtin and then its argument prototype would still apply. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6982 #ifdef __cplusplus |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6983 extern "C" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6984 #endif |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6985 char html_document_new (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6986 int |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6987 main () |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6988 { |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6989 return html_document_new (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6990 ; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6991 return 0; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6992 } |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
6993 _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
|
6994 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6995 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6996 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6998 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
6999 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7001 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7002 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7003 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7004 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7005 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7007 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7008 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7009 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7010 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7011 $as_test_x conftest$ac_exeext; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7012 ac_cv_lib_gtkhtml_2_html_document_new=yes |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7013 else |
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
|
7014 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7015 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7016 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7017 ac_cv_lib_gtkhtml_2_html_document_new=no |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7018 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
|
7019 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7021 conftest$ac_exeext conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7022 LIBS=$ac_check_lib_save_LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7023 fi |
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
|
7024 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7025 echo "${ECHO_T}$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7026 if test $ac_cv_lib_gtkhtml_2_html_document_new = yes; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7027 cat >>confdefs.h <<\_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
|
7028 #define USE_LIBGTKHTML2 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7029 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7030 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7031 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7032 BROWSER_OBJECT="" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7033 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7034 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7035 else |
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
|
7036 as_ac_Lib=`echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7037 { echo "$as_me:$LINENO: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7038 echo $ECHO_N "checking for webkit_web_view_new in -l$WEBKIT_LIB... $ECHO_C" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7039 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7040 echo $ECHO_N "(cached) $ECHO_C" >&6 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7041 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7042 ac_check_lib_save_LIBS=$LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7043 LIBS="-l$WEBKIT_LIB $LIBS" |
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
|
7044 cat >conftest.$ac_ext <<_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
|
7045 /* 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
|
7046 _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
|
7047 cat confdefs.h >>conftest.$ac_ext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7048 cat >>conftest.$ac_ext <<_ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7049 /* end confdefs.h. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7050 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7051 /* Override any GCC internal prototype to avoid an error. |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7052 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
|
7053 builtin and then its argument prototype would still apply. */ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7054 #ifdef __cplusplus |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7055 extern "C" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7056 #endif |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7057 char webkit_web_view_new (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7058 int |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7059 main () |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7060 { |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7061 return webkit_web_view_new (); |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7062 ; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7063 return 0; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7064 } |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7065 _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
|
7066 rm -f conftest.$ac_objext conftest$ac_exeext |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7067 if { (ac_try="$ac_link" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7068 case "(($ac_try" in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7070 *) ac_try_echo=$ac_try;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7071 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7073 (eval "$ac_link") 2>conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7074 ac_status=$? |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7075 grep -v '^ *+' conftest.er1 >conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7076 rm -f conftest.er1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7077 cat conftest.err >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7079 (exit $ac_status); } && { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7080 test -z "$ac_c_werror_flag" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7081 test ! -s conftest.err |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7082 } && test -s conftest$ac_exeext && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7083 $as_test_x conftest$ac_exeext; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7084 eval "$as_ac_Lib=yes" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7085 else |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7086 echo "$as_me: failed program was:" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7087 sed 's/^/| /' conftest.$ac_ext >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7088 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7089 eval "$as_ac_Lib=no" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7090 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
|
7091 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7093 conftest$ac_exeext conftest.$ac_ext |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7094 LIBS=$ac_check_lib_save_LIBS |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7095 fi |
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
|
7096 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7097 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7098 echo "${ECHO_T}$ac_res" >&6; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7099 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7100 cat >>confdefs.h <<\_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
|
7101 #define USE_WEBKIT 1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7102 _ACEOF |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7103 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7104 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7105 BROWSER_OBJECT="" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7106 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7107 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7108 BROWSER_OBJECT="" |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7109 fi |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7110 LIBS="$SAVE_LIBS" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7111 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7112 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7113 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS $PLATLIBS" |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
7114 |
3 | 7115 RM="rm -f" |
7116 LN="ln -s" | |
7117 CP="cp" | |
7118 MV="mv" | |
7119 MKDIR="mkdir" | |
7120 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7121 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7122 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7123 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7124 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7125 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7126 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7127 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7128 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
7129 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
7130 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
7131 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
7132 |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
7133 |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
624
diff
changeset
|
7134 |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
7135 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
7136 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7137 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7138 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7139 |
663
86c404056262
Updated revision control version of configure script to support Cocoa.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
644
diff
changeset
|
7140 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7141 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7142 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7143 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7144 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7145 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7146 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7147 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
663
diff
changeset
|
7148 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7149 ac_config_files="$ac_config_files Makefile dwindows-config" |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
7150 |
3 | 7151 cat >confcache <<\_ACEOF |
7152 # This file is a shell script that caches the results of configure | |
7153 # tests run on this system so they can be shared between configure | |
7154 # scripts and configure runs, see configure's option --config-cache. | |
7155 # It is not useful on other systems. If it contains results you don't | |
7156 # want to keep, you may remove or edit it. | |
7157 # | |
7158 # config.status only pays attention to the cache file if you give it | |
7159 # the --recheck option to rerun configure. | |
7160 # | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7161 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
3 | 7162 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
7163 # following values. | |
7164 | |
7165 _ACEOF | |
7166 | |
7167 # The following way of writing the cache mishandles newlines in values, | |
7168 # 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
|
7169 # So, we kill variables containing newlines. |
3 | 7170 # Ultrix sh set writes to stderr and can't be redirected directly, |
7171 # 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
|
7172 ( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7173 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
|
7174 eval ac_val=\$$ac_var |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7175 case $ac_val in #( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7176 *${as_nl}*) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7177 case $ac_var in #( |
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
|
7178 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7179 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
|
7180 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7181 case $ac_var in #( |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7182 _ | IFS | as_nl) ;; #( |
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
|
7183 *) $as_unset $ac_var ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7184 esac ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7185 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7186 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7187 |
3 | 7188 (set) 2>&1 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7189 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
|
7190 *${as_nl}ac_space=\ *) |
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
|
7191 # `set' does not quote correctly, so add quotes (double-quote |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7192 # substitution turns \\\\ into \\, and sed turns \\ into \). |
3 | 7193 sed -n \ |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7194 "s/'/'\\\\''/g; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7195 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
|
7196 ;; #( |
3 | 7197 *) |
7198 # `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
|
7199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
3 | 7200 ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7201 esac | |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7202 sort |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7203 ) | |
3 | 7204 sed ' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7205 /^ac_cv_env_/b end |
3 | 7206 t clear |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7207 :clear |
3 | 7208 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
7209 t end | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7211 :end' >>confcache |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7212 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
|
7213 if test -w "$cache_file"; 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
|
7214 test "x$cache_file" != "x/dev/null" && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7215 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7216 echo "$as_me: updating cache $cache_file" >&6;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7217 cat confcache >$cache_file |
3 | 7218 else |
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
|
7219 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7220 echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
3 | 7221 fi |
7222 fi | |
7223 rm -f confcache | |
7224 | |
7225 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
7226 # Let make expand exec_prefix. | |
7227 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
7228 | |
7229 DEFS=-DHAVE_CONFIG_H | |
7230 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7231 ac_libobjs= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7232 ac_ltlibobjs= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7233 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
|
7234 # 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
|
7235 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
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
|
7236 ac_i=`echo "$ac_i" | sed "$ac_script"` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7237 # 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
|
7238 # will be set to the directory where LIBOBJS objects are built. |
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
|
7239 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7240 ac_ltlibobjs="$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
|
7241 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7242 LIBOBJS=$ac_libobjs |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7243 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7244 LTLIBOBJS=$ac_ltlibobjs |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7245 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7246 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7247 |
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
|
7248 : ${CONFIG_STATUS=./config.status} |
3 | 7249 ac_clean_files_save=$ac_clean_files |
7250 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
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
|
7251 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7252 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7253 cat >$CONFIG_STATUS <<_ACEOF |
3 | 7254 #! $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
|
7255 # Generated by $as_me. |
3 | 7256 # Run this file to recreate the current configuration. |
7257 # Compiler output produced by configure, useful for debugging | |
7258 # configure, is in config.log if it exists. | |
7259 | |
7260 debug=false | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7261 ac_cs_recheck=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7262 ac_cs_silent=false |
3 | 7263 SHELL=\${CONFIG_SHELL-$SHELL} |
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
|
7264 _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
|
7265 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7266 cat >>$CONFIG_STATUS <<\_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
|
7267 ## --------------------- ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7268 ## M4sh Initialization. ## |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7269 ## --------------------- ## |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7270 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7271 # Be more Bourne compatible |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7272 DUALCASE=1; export DUALCASE # for MKS sh |
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
|
7273 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3 | 7274 emulate sh |
7275 NULLCMD=: | |
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
|
7276 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7277 # 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
|
7278 alias -g '${1+"$@"}'='"$@"' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7279 setopt NO_GLOB_SUBST |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7280 else |
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
|
7281 case `(set -o) 2>/dev/null` in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7282 *posix*) set -o posix ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7283 esac |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7284 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7285 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
|
7286 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7287 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7288 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7289 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7290 # PATH needs CR |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7291 # Avoid depending upon Character Ranges. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7292 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7293 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7294 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7295 as_cr_digits='0123456789' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7296 as_cr_alnum=$as_cr_Letters$as_cr_digits |
120
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7298 # 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
|
7299 if test "${PATH_SEPARATOR+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
|
7300 echo "#! /bin/sh" >conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7301 echo "exit 0" >>conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7302 chmod +x conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7303 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7304 PATH_SEPARATOR=';' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7305 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
|
7306 PATH_SEPARATOR=: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7307 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
|
7308 rm -f conf$$.sh |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7309 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
|
7310 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7311 # Support unset when possible. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7312 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7313 as_unset=unset |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7314 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
|
7315 as_unset=false |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7316 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7317 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7318 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7319 # IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7320 # 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
|
7321 # 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
|
7322 # (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
|
7323 # splitting by setting IFS to empty value.) |
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
|
7324 as_nl=' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7325 ' |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7326 IFS=" "" $as_nl" |
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 # Find who we are. Look in the path if we contain no directory separator. |
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
|
7329 case $0 in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7330 *[\\/]* ) as_myself=$0 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7331 *) 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
|
7332 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
|
7333 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
|
7334 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
|
7335 test -z "$as_dir" && as_dir=. |
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
|
7336 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7337 done |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7338 IFS=$as_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7339 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7340 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7341 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7342 # 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
|
7343 # 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
|
7344 if test "x$as_myself" = x; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7345 as_myself=$0 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7346 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7347 if test ! -f "$as_myself"; 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
|
7348 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7349 { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7350 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
|
7351 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7352 # Work around bugs in pre-3.0 UWIN ksh. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7353 for as_var in ENV MAIL MAILPATH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7354 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7355 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7356 PS1='$ ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7357 PS2='> ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7358 PS4='+ ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7359 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7360 # NLS nuisances. |
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
|
7361 for as_var in \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7362 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7363 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7364 LC_TELEPHONE LC_TIME |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7365 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7366 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7367 eval $as_var=C; export $as_var |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7368 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
|
7369 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7370 fi |
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
|
7371 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7372 |
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 # Required to use basename. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7374 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
|
7375 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7376 as_expr=expr |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7377 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7378 as_expr=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7379 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7380 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7381 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
|
7382 as_basename=basename |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7383 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7384 as_basename=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7385 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7386 |
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
|
7387 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7388 # Name of the executable. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7389 as_me=`$as_basename -- "$0" || |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7391 X"$0" : 'X\(//\)$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7392 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
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
|
7393 echo X/"$0" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7394 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7395 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7396 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7397 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7398 /^X\/\(\/\/\)$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7399 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7400 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7401 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7402 /^X\/\(\/\).*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7403 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7404 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7405 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7406 s/.*/./; q'` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7407 |
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
|
7408 # CDPATH. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7409 $as_unset CDPATH |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7410 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7411 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7412 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7413 as_lineno_1=$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7414 as_lineno_2=$LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7415 test "x$as_lineno_1" != "x$as_lineno_2" && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7416 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7417 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7418 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7419 # uniformly replaced by the line number. The first 'sed' inserts a |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7420 # line-number line after each line using $LINENO; the second 'sed' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7421 # does the real work. The second script uses 'N' to pair each |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7422 # line-number line with the line containing $LINENO, and appends |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7423 # trailing '-' during substitution so that $LINENO is not a special |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7424 # case at line end. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7425 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7426 # scripts with optimization help from Paolo Bonzini. Blame Lee |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7427 # E. McMahon (1931-1989) for sed's syntax. :-) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7428 sed -n ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7429 p |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7430 /[$]LINENO/= |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7431 ' <$as_myself | |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7432 sed ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7433 s/[$]LINENO.*/&-/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7434 t lineno |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7435 b |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7436 :lineno |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7437 N |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7438 :loop |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7440 t loop |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7441 s/-\n.*// |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7442 ' >$as_me.lineno && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7443 chmod +x "$as_me.lineno" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7444 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7445 { (exit 1); exit 1; }; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7446 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7447 # Don't try to exec as it changes $[0], causing all sort of problems |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7448 # (the dirname of $[0] is not the place where we might find the |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7449 # original and so on. Autoconf is especially sensitive to this). |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7450 . "./$as_me.lineno" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7451 # Exit status is that of the last command. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7452 exit |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7453 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7454 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7455 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7457 as_dirname=dirname |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7458 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
|
7459 as_dirname=false |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7460 fi |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7461 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7462 ECHO_C= ECHO_N= ECHO_T= |
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
|
7463 case `echo -n x` in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7464 -n*) |
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
|
7465 case `echo 'x\c'` in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7466 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7467 *) ECHO_C='\c';; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7468 esac;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7469 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7470 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
|
7471 esac |
3 | 7472 |
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
|
7473 if expr a : '\(a\)' >/dev/null 2>&1 && |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7474 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7475 as_expr=expr |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7476 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
|
7477 as_expr=false |
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 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
|
7479 |
3 | 7480 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
|
7481 if test -d conf$$.dir; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7482 rm -f conf$$.dir/conf$$.file |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7483 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7484 rm -f conf$$.dir |
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
|
7485 mkdir conf$$.dir |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7486 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
|
7487 echo >conf$$.file |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7488 if ln -s conf$$.file conf$$ 2>/dev/null; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7489 as_ln_s='ln -s' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7490 # ... but there are two gotchas: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7491 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
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 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
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 # In both cases, we have to default to `cp -p'. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7494 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3 | 7495 as_ln_s='cp -p' |
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
|
7496 elif ln conf$$.file conf$$ 2>/dev/null; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7497 as_ln_s=ln |
3 | 7498 else |
7499 as_ln_s='cp -p' | |
7500 fi | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7501 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
|
7502 rmdir conf$$.dir 2>/dev/null |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7503 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7504 if mkdir -p . 2>/dev/null; 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
|
7505 as_mkdir_p=: |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7506 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7507 test -d ./-p && rmdir ./-p |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7508 as_mkdir_p=false |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7509 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7510 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7511 if test -x / >/dev/null 2>&1; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7512 as_test_x='test -x' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7513 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7514 if ls -dL / >/dev/null 2>&1; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7515 as_ls_L_option=L |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7516 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7517 as_ls_L_option= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7518 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7519 as_test_x=' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7520 eval sh -c '\'' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7521 if test -d "$1"; 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
|
7522 test -d "$1/."; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7523 else |
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
|
7524 case $1 in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7525 -*)set "./$1";; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7526 esac; |
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
|
7527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7528 ???[sx]*):;;*)false;;esac;fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7529 '\'' sh |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7530 ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7531 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7532 as_executable_p=$as_test_x |
3 | 7533 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7534 # 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
|
7535 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
|
7536 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7537 # 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
|
7538 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
|
7539 |
3 | 7540 |
7541 exec 6>&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
|
7542 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7543 # 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
|
7544 # 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
|
7545 # values after options handling. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7546 ac_log=" |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7547 This file was extended by $as_me, which was |
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
|
7548 generated by GNU Autoconf 2.61. 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
|
7549 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
7550 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
|
7551 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
|
7552 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
|
7553 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
|
7554 $ $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
|
7555 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7556 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
|
7557 " |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7558 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7559 _ACEOF |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7560 |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7561 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 7562 # 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
|
7563 config_files="$ac_config_files" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7564 config_headers="$ac_config_headers" |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7565 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7566 _ACEOF |
3 | 7567 |
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
|
7568 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 7569 ac_cs_usage="\ |
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
|
7570 \`$as_me' instantiates files from templates according to the |
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 current configuration. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7572 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7573 Usage: $0 [OPTIONS] [FILE]... |
3 | 7574 |
7575 -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
|
7576 -V, --version print version number and configuration settings, then exit |
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
|
7577 -q, --quiet do not print progress messages |
3 | 7578 -d, --debug don't remove temporary files |
7579 --recheck update $as_me by reconfiguring in the same conditions | |
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
|
7580 --file=FILE[:TEMPLATE] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7581 instantiate the configuration file FILE |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7582 --header=FILE[:TEMPLATE] |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7583 instantiate the configuration header FILE |
3 | 7584 |
7585 Configuration files: | |
7586 $config_files | |
7587 | |
7588 Configuration headers: | |
7589 $config_headers | |
7590 | |
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
|
7591 Report bugs to <bug-autoconf@gnu.org>." |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7592 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7593 _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
|
7594 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 7595 ac_cs_version="\\ |
7596 config.status | |
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
|
7597 configured by $0, generated by GNU Autoconf 2.61, |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7598 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7599 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7600 Copyright (C) 2006 Free Software Foundation, Inc. |
3 | 7601 This config.status script is free software; the Free Software Foundation |
7602 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
|
7603 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7604 ac_pwd='$ac_pwd' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7605 srcdir='$srcdir' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7606 INSTALL='$INSTALL' |
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
|
7607 _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
|
7608 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7609 cat >>$CONFIG_STATUS <<\_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
|
7610 # If no file are specified by the user, then we need to provide default |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7611 # value. By we need to know if files were specified by the user. |
3 | 7612 ac_need_defaults=: |
7613 while test $# != 0 | |
7614 do | |
7615 case $1 in | |
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
|
7616 --*=*) |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7617 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7618 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7619 ac_shift=: |
3 | 7620 ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7621 *) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7622 ac_option=$1 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7623 ac_optarg=$2 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7624 ac_shift=shift |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7625 ;; |
3 | 7626 esac |
7627 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7628 case $ac_option in |
3 | 7629 # Handling of the options. |
7630 -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
|
7631 ac_cs_recheck=: ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7632 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
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
|
7633 echo "$ac_cs_version"; exit ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7634 --debug | --debu | --deb | --de | --d | -d ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7635 debug=: ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7636 --file | --fil | --fi | --f ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7637 $ac_shift |
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
|
7638 CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7639 ac_need_defaults=false;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7640 --header | --heade | --head | --hea ) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7641 $ac_shift |
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
|
7642 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7643 ac_need_defaults=false;; |
3 | 7644 --he | --h) |
7645 # Conflict between --help and --header | |
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
|
7646 { echo "$as_me: error: ambiguous option: $1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7647 Try \`$0 --help' for more information." >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7648 { (exit 1); exit 1; }; };; |
3 | 7649 --help | --hel | -h ) |
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
|
7650 echo "$ac_cs_usage"; exit ;; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7652 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7653 ac_cs_silent=: ;; |
3 | 7654 |
7655 # This is an error. | |
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
|
7656 -*) { echo "$as_me: error: unrecognized option: $1 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7657 Try \`$0 --help' for more information." >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7658 { (exit 1); exit 1; }; } ;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7659 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7660 *) ac_config_targets="$ac_config_targets $1" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7661 ac_need_defaults=false ;; |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
7662 |
3 | 7663 esac |
7664 shift | |
7665 done | |
7666 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7667 ac_configure_extra_args= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7668 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7669 if $ac_cs_silent; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7670 exec 6>/dev/null |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7671 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
|
7672 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7673 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7674 _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
|
7675 cat >>$CONFIG_STATUS <<_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7676 if \$ac_cs_recheck; 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
|
7677 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7678 CONFIG_SHELL=$SHELL |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7679 export CONFIG_SHELL |
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
|
7680 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7681 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
|
7682 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7683 _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
|
7684 cat >>$CONFIG_STATUS <<\_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7685 exec 5>>config.log |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7686 { |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7687 echo |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7688 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
|
7689 ## Running $as_me. ## |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7690 _ASBOX |
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
|
7691 echo "$ac_log" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7692 } >&5 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7693 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7694 _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
|
7695 cat >>$CONFIG_STATUS <<_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
|
7696 _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
|
7697 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7698 cat >>$CONFIG_STATUS <<\_ACEOF |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7699 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7700 # Handling of arguments. |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
7701 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
|
7702 do |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7703 case $ac_config_target in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7704 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7705 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7706 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7707 |
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
|
7708 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7709 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7710 { (exit 1); exit 1; }; };; |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
7711 esac |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
7712 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
7713 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7714 |
3 | 7715 # If the user did not use the arguments to specify the items to instantiate, |
7716 # then the envvar interface is used. Set only those that are not. | |
7717 # We use the long form for the default assignment because of an extremely | |
7718 # bizarre bug on SunOS 4.1.3. | |
7719 if $ac_need_defaults; then | |
7720 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
7721 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
7722 fi | |
7723 | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7724 # 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
|
7725 # 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
|
7726 # 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
|
7727 # Hook for its removal unless debugging. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7728 # 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
|
7729 # after its creation but before its name has been assigned to `$tmp'. |
3 | 7730 $debug || |
7731 { | |
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
|
7732 tmp= |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7733 trap 'exit_status=$? |
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
|
7734 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7735 ' 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
|
7736 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
3 | 7737 } |
7738 # 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
|
7739 |
3 | 7740 { |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7741 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7742 test -n "$tmp" && test -d "$tmp" |
3 | 7743 } || |
7744 { | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7745 tmp=./conf$$-$RANDOM |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7746 (umask 077 && mkdir "$tmp") |
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
|
7747 } || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7748 { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7749 echo "$me: cannot create a temporary directory in ." >&2 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7750 { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7751 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7752 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7753 # |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7754 # Set up the sed scripts for CONFIG_FILES section. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7755 # |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7756 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7757 # No need to generate the scripts if there are no CONFIG_FILES. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7758 # This happens for instance when ./config.status config.h |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7759 if test -n "$CONFIG_FILES"; then |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7760 |
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
|
7761 _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
|
7762 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7763 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7764 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7765 ac_delim='%!_!# ' |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7766 for ac_last_try in false false false false false :; do |
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
|
7767 cat >conf$$subs.sed <<_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
|
7768 SHELL!$SHELL$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7769 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7770 PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7771 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7772 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7773 PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7774 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7775 exec_prefix!$exec_prefix$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7776 prefix!$prefix$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7777 program_transform_name!$program_transform_name$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7778 bindir!$bindir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7779 sbindir!$sbindir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7780 libexecdir!$libexecdir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7781 datarootdir!$datarootdir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7782 datadir!$datadir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7783 sysconfdir!$sysconfdir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7784 sharedstatedir!$sharedstatedir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7785 localstatedir!$localstatedir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7786 includedir!$includedir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7787 oldincludedir!$oldincludedir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7788 docdir!$docdir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7789 infodir!$infodir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7790 htmldir!$htmldir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7791 dvidir!$dvidir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7792 pdfdir!$pdfdir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7793 psdir!$psdir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7794 libdir!$libdir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7795 localedir!$localedir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7796 mandir!$mandir$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7797 DEFS!$DEFS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7798 ECHO_C!$ECHO_C$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7799 ECHO_N!$ECHO_N$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7800 ECHO_T!$ECHO_T$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7801 LIBS!$LIBS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7802 build_alias!$build_alias$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7803 host_alias!$host_alias$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7804 target_alias!$target_alias$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7805 TARGET!$TARGET$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7806 TARGET2!$TARGET2$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7807 CC!$CC$ac_delim |
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 CFLAGS!$CFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7809 LDFLAGS!$LDFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7810 CPPFLAGS!$CPPFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7811 ac_ct_CC!$ac_ct_CC$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7812 EXEEXT!$EXEEXT$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7813 OBJEXT!$OBJEXT$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7814 CXX!$CXX$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7815 CXXFLAGS!$CXXFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7816 ac_ct_CXX!$ac_ct_CXX$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7817 MAKE!$MAKE$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7818 SVNVERSION!$SVNVERSION$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7819 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7820 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7821 INSTALL_DATA!$INSTALL_DATA$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7822 build!$build$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7823 build_cpu!$build_cpu$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7824 build_vendor!$build_vendor$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7825 build_os!$build_os$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7826 host!$host$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7827 host_cpu!$host_cpu$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7828 host_vendor!$host_vendor$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7829 host_os!$host_os$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7830 target!$target$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7831 target_cpu!$target_cpu$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7832 target_vendor!$target_vendor$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7833 target_os!$target_os$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7834 CPP!$CPP$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7835 GREP!$GREP$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7836 EGREP!$EGREP$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7837 PKG_CFG!$PKG_CFG$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7838 GLIB_CONFIG!$GLIB_CONFIG$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7839 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7840 GLIB_LIBS!$GLIB_LIBS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7841 GTK_CONFIG!$GTK_CONFIG$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7842 GTK_CFLAGS!$GTK_CFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7843 GTK_LIBS!$GTK_LIBS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7844 IMLIB_CONFIG!$IMLIB_CONFIG$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7845 GDK_IMLIB_CFLAGS!$GDK_IMLIB_CFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7846 GDK_IMLIB_LIBS!$GDK_IMLIB_LIBS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7847 SYSCONF_LINK_TARGET_SHARED!$SYSCONF_LINK_TARGET_SHARED$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7848 SYSCONF_LINK_TARGET_SHARED2!$SYSCONF_LINK_TARGET_SHARED2$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7849 SYSCONF_LINK_TARGET_STATIC!$SYSCONF_LINK_TARGET_STATIC$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7850 INCLUDES!$INCLUDES$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7851 PLATCCFLAGS!$PLATCCFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7852 ARFLAGS!$ARFLAGS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7853 RM!$RM$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7854 LN!$LN$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7855 CP!$CP$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7856 MV!$MV$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7857 MKDIR!$MKDIR$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7858 SHAREDFLAG!$SHAREDFLAG$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7859 SOSUFFIX!$SOSUFFIX$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7860 LIBSUFFIX!$LIBSUFFIX$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7861 LIBPREFIX!$LIBPREFIX$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7862 SONAME!$SONAME$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7863 TARGETS!$TARGETS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7864 DW_SRC!$DW_SRC$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7865 _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
|
7866 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7868 break |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7869 elif $ac_last_try; 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
|
7870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7872 { (exit 1); exit 1; }; } |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7873 else |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7874 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
|
7875 fi |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7876 done |
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
|
7877 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7878 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7879 if test -n "$ac_eof"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7880 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7881 ac_eof=`expr $ac_eof + 1` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7882 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
|
7883 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7884 cat >>$CONFIG_STATUS <<_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
|
7885 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7887 _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
|
7888 sed ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7890 s/^/s,@/; s/!/@,|#_!!_#|/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7891 :n |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7892 t n |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7893 s/'"$ac_delim"'$/,g/; t |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7894 s/$/\\/; p |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7896 ' >>$CONFIG_STATUS <conf$$subs.sed |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7897 rm -f conf$$subs.sed |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7898 cat >>$CONFIG_STATUS <<_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
|
7899 CEOF$ac_eof |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7900 _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
|
7901 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7902 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7903 ac_delim='%!_!# ' |
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
|
7904 for ac_last_try in false false false false false :; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7905 cat >conf$$subs.sed <<_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
|
7906 DW_DIR!$DW_DIR$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7907 DW_DEFINE!$DW_DEFINE$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7908 BROWSER_OBJECT!$BROWSER_OBJECT$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7909 COMPAT_OBJECT!$COMPAT_OBJECT$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7910 INSTALL_COMPAT!$INSTALL_COMPAT$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7911 ARCH!$ARCH$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7912 LIBOBJS!$LIBOBJS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7913 LTLIBOBJS!$LTLIBOBJS$ac_delim |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7914 _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
|
7915 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7916 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7917 break |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7918 elif $ac_last_try; 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
|
7919 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7920 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7921 { (exit 1); exit 1; }; } |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7922 else |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7923 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7924 fi |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7925 done |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
639
diff
changeset
|
7926 |
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
|
7927 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7928 if test -n "$ac_eof"; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7929 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7930 ac_eof=`expr $ac_eof + 1` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7931 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
|
7932 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7933 cat >>$CONFIG_STATUS <<_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
|
7934 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7936 _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
|
7937 sed ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7938 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7939 s/^/s,@/; s/!/@,|#_!!_#|/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7940 :n |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7941 t n |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7942 s/'"$ac_delim"'$/,g/; t |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7943 s/$/\\/; p |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7944 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7945 ' >>$CONFIG_STATUS <conf$$subs.sed |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7946 rm -f conf$$subs.sed |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7947 cat >>$CONFIG_STATUS <<_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
|
7948 :end |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7949 s/|#_!!_#|//g |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7950 CEOF$ac_eof |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7951 _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
|
7952 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7953 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7954 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7955 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7956 # trailing colons and then remove the whole line if VPATH becomes empty |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7957 # (actually we leave an empty line to preserve line numbers). |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7958 if test "x$srcdir" = x.; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7959 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7960 s/:*\$(srcdir):*/:/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7961 s/:*\${srcdir}:*/:/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7962 s/:*@srcdir@:*/:/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7963 s/^\([^=]*=[ ]*\):*/\1/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7964 s/:*$// |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7965 s/^[^=]*=[ ]*$// |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7966 }' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7967 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
|
7968 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7969 cat >>$CONFIG_STATUS <<\_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
|
7970 fi # test -n "$CONFIG_FILES" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7971 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7972 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7973 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7974 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7975 case $ac_tag in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7976 :[FHLC]) ac_mode=$ac_tag; continue;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7977 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7978 case $ac_mode$ac_tag in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7979 :[FHL]*:*);; |
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
|
7980 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7981 echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
7982 { (exit 1); exit 1; }; };; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7983 :[FH]-) ac_tag=-:-;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7984 :[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
|
7985 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7986 ac_save_IFS=$IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7987 IFS=: |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7988 set x $ac_tag |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7989 IFS=$ac_save_IFS |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7990 shift |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7991 ac_file=$1 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7992 shift |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7993 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7994 case $ac_mode in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7995 :L) ac_source=$1;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7996 :[FH]) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7997 ac_file_inputs= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7998 for ac_f |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
7999 do |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8000 case $ac_f in |
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
|
8001 -) ac_f="$tmp/stdin";; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8002 *) # 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
|
8003 # (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
|
8004 # because $ac_f cannot contain `:'. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8005 test -f "$ac_f" || |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8006 case $ac_f in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8007 [\\/$]*) false;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8008 *) 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
|
8009 esac || |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8010 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8011 echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8012 { (exit 1); exit 1; }; };; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8013 esac |
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
|
8014 ac_file_inputs="$ac_file_inputs $ac_f" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8015 done |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8016 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8017 # 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
|
8018 # 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
|
8019 # /* config.h. Generated by config.status. */ |
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 configure_input="Generated from "`IFS=: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8021 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8022 if test x"$ac_file" != x-; then |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8023 configure_input="$ac_file. $configure_input" |
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
|
8024 { echo "$as_me:$LINENO: creating $ac_file" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8025 echo "$as_me: creating $ac_file" >&6;} |
3 | 8026 fi |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8027 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8028 case $ac_tag in |
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
|
8029 *:-:* | *:-) cat >"$tmp/stdin";; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8030 esac |
587
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
8031 ;; |
9e81f23b57ae
If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
435
diff
changeset
|
8032 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8033 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8034 ac_dir=`$as_dirname -- "$ac_file" || |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8036 X"$ac_file" : 'X\(//\)[^/]' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8037 X"$ac_file" : 'X\(//\)$' \| \ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
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
|
8039 echo X"$ac_file" | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8041 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8042 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8043 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8044 /^X\(\/\/\)[^/].*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8045 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8046 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8047 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8048 /^X\(\/\/\)$/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8049 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8050 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8051 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8052 /^X\(\/\).*/{ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8053 s//\1/ |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8054 q |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8055 } |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8056 s/.*/./; q'` |
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
|
8057 { as_dir="$ac_dir" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8058 case $as_dir in #( |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8059 -*) as_dir=./$as_dir;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8060 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8061 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8062 as_dirs= |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8063 while :; do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8064 case $as_dir in #( |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8065 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8066 *) as_qdir=$as_dir;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8067 esac |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8068 as_dirs="'$as_qdir' $as_dirs" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8069 as_dir=`$as_dirname -- "$as_dir" || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8071 X"$as_dir" : 'X\(//\)[^/]' \| \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8072 X"$as_dir" : 'X\(//\)$' \| \ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8074 echo X"$as_dir" | |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8076 s//\1/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8077 q |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8078 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8079 /^X\(\/\/\)[^/].*/{ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8080 s//\1/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8081 q |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8082 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8083 /^X\(\/\/\)$/{ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8084 s//\1/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8085 q |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8086 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8087 /^X\(\/\).*/{ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8088 s//\1/ |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8089 q |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8090 } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8091 s/.*/./; q'` |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8092 test -d "$as_dir" && break |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8093 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8094 test -z "$as_dirs" || eval "mkdir $as_dirs" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8095 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8096 echo "$as_me: error: cannot create directory $as_dir" >&2;} |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8097 { (exit 1); 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
|
8098 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
|
8099 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8100 case "$ac_dir" in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8101 .) 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
|
8102 *) |
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
|
8103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8104 # A ".." for each directory in $ac_dir_suffix. |
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
|
8105 ac_top_builddir_sub=`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
|
8106 case $ac_top_builddir_sub in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8107 "") 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
|
8108 *) 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
|
8109 esac ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8110 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8111 ac_abs_top_builddir=$ac_pwd |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8112 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
|
8113 # for backward compatibility: |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8114 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
|
8115 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
8116 case $srcdir in |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8117 .) # 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
|
8118 ac_srcdir=. |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8119 ac_top_srcdir=$ac_top_builddir_sub |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8120 ac_abs_top_srcdir=$ac_pwd ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8121 [\\/]* | ?:[\\/]* ) # 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
|
8122 ac_srcdir=$srcdir$ac_dir_suffix; |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8123 ac_top_srcdir=$srcdir |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8124 ac_abs_top_srcdir=$srcdir ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8125 *) # Relative name. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8126 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
|
8127 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
|
8128 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
|
8129 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8130 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
|
8131 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8132 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8133 case $ac_mode in |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8134 :F) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8135 # |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8136 # CONFIG_FILE |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8137 # |
3 | 8138 |
8139 case $INSTALL in | |
8140 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8141 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
3 | 8142 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8143 _ACEOF |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8144 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8145 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8146 # Neutralize VPATH when `$srcdir' = `.'. |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8147 # 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
|
8148 # FIXME: do we really want to maintain this feature? |
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
|
8149 cat >>$CONFIG_STATUS <<_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
|
8150 sed "$ac_vpsub |
3 | 8151 $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
|
8152 _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
|
8153 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 8154 :t |
8155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
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
|
8156 s&@configure_input@&$configure_input&;t t |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8157 s&@top_builddir@&$ac_top_builddir_sub&;t t |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8158 s&@srcdir@&$ac_srcdir&;t t |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8159 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
|
8160 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
|
8161 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
|
8162 s&@builddir@&$ac_builddir&;t t |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8163 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
|
8164 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
|
8165 s&@INSTALL@&$ac_INSTALL&;t t |
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
|
8166 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8167 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8168 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8169 rm -f "$tmp/stdin" |
3 | 8170 case $ac_file in |
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
|
8171 -) cat "$tmp/out"; rm -f "$tmp/out";; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8172 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8173 esac |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8174 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8175 :H) |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8176 # |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8177 # CONFIG_HEADER |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8178 # |
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
|
8179 _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
|
8180 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8181 # Transform confdefs.h into a sed script `conftest.defines', that |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8182 # substitutes the proper values into config.h.in to produce config.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
|
8183 rm -f conftest.defines conftest.tail |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8184 # First, append a space to every undef/define line, to ease matching. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8185 echo 's/$/ /' >conftest.defines |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8186 # Then, protect against being on the right side of a sed subst, or in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8187 # an unquoted here document, in config.status. If some macros were |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8188 # called several times there might be several #defines for the same |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8189 # symbol, which is useless. But do not sort them, since the last |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8190 # AC_DEFINE must be honored. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8191 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8192 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8193 # NAME is the cpp macro being defined, VALUE is the value it is being given. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8194 # PARAMS is the parameter list in the macro definition--in most cases, it's |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8195 # just an empty string. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8196 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8197 ac_dB='\\)[ (].*,\\1define\\2' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8198 ac_dC=' ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8199 ac_dD=' ,' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8200 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8201 uniq 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
|
8202 sed -n ' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8203 t rset |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8204 :rset |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8205 s/^[ ]*#[ ]*define[ ][ ]*// |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8206 t ok |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8207 d |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8208 :ok |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8209 s/[\\&,]/\\&/g |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8210 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8211 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8212 ' >>conftest.defines |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8213 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8214 # Remove the space that was appended to ease matching. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8215 # Then replace #undef with comments. This is necessary, for |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8216 # example, in the case of _POSIX_SOURCE, which is predefined and required |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8217 # on some systems where configure will not decide to define it. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8218 # (The regexp can be short, since the line contains either #define or #undef.) |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8219 echo 's/ $// |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8220 s,^[ #]*u.*,/* & */,' >>conftest.defines |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8221 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8222 # Break up conftest.defines: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8223 ac_max_sed_lines=50 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8224 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8225 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8226 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8227 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8228 # et cetera. |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8229 ac_in='$ac_file_inputs' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8230 ac_out='"$tmp/out1"' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8231 ac_nxt='"$tmp/out2"' |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8232 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8233 while : |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8234 do |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8235 # Write a here document: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8236 cat >>$CONFIG_STATUS <<_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
|
8237 # First, check the format of the line: |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8238 cat >"\$tmp/defines.sed" <<\\CEOF |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8239 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8240 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8241 b |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8242 :def |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8243 _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
|
8244 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8245 echo 'CEOF |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8246 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8247 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8248 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8249 grep . conftest.tail >/dev/null || break |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8250 rm -f conftest.defines |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8251 mv conftest.tail conftest.defines |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8252 done |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8253 rm -f conftest.defines conftest.tail |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8254 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8255 echo "ac_result=$ac_in" >>$CONFIG_STATUS |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8256 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 8257 if test x"$ac_file" != x-; 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
|
8258 echo "/* $configure_input */" >"$tmp/config.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
|
8259 cat "$ac_result" >>"$tmp/config.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
|
8260 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8261 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8262 echo "$as_me: $ac_file is unchanged" >&6;} |
3 | 8263 else |
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
|
8264 rm -f $ac_file |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8265 mv "$tmp/config.h" $ac_file |
3 | 8266 fi |
8267 else | |
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
|
8268 echo "/* $configure_input */" |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8269 cat "$ac_result" |
3 | 8270 fi |
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
|
8271 rm -f "$tmp/out12" |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8272 ;; |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8273 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8274 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8275 esac |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8276 |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8277 done # for ac_tag |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8278 |
3 | 8279 |
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
|
8280 { (exit 0); exit 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
|
8281 _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
|
8282 chmod +x $CONFIG_STATUS |
3 | 8283 ac_clean_files=$ac_clean_files_save |
8284 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
8285 |
3 | 8286 # configure is writing to config.log, and then calls config.status. |
8287 # config.status does its own redirection, appending to config.log. | |
8288 # Unfortunately, on DOS this fails, as config.log is still kept open | |
8289 # by configure, so config.status won't be able to write to it; its | |
8290 # output is simply discarded. So we exec the FD to /dev/null, | |
8291 # effectively closing config.log, so it can be properly (re)opened and | |
8292 # appended to by config.status. When coming back to configure, we | |
8293 # need to make the FD available again. | |
8294 if test "$no_create" != yes; then | |
8295 ac_cs_success=: | |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8296 ac_config_status_args= |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8297 test "$silent" = yes && |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8298 ac_config_status_args="$ac_config_status_args --quiet" |
3 | 8299 exec 5>/dev/null |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
588
diff
changeset
|
8300 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3 | 8301 exec 5>>config.log |
8302 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
8303 # would make configure fail if this is the last instruction. | |
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
|
8304 $ac_cs_success || { (exit 1); exit 1; } |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1351
diff
changeset
|
8305 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
|
8306 |