annotate configure @ 588:1b398af1ec38

Implemented dynamic loading of the Mozilla renderer.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 23 May 2005 01:43:36 +0000
parents 9e81f23b57ae
children fb59f9eeeecd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 #! /bin/sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3 # Generated by GNU Autoconf 2.53.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4 #
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6 # Free Software Foundation, Inc.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7 # This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8 # gives unlimited permission to copy, distribute and modify it.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
9
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
10 if expr a : '\(a\)' >/dev/null 2>&1; then
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
11 as_expr=expr
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
12 else
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
13 as_expr=false
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
14 fi
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
15
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
16
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
17 ## --------------------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
18 ## M4sh Initialization. ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
19 ## --------------------- ##
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
20
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 # Be Bourne compatible
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
23 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
24 NULLCMD=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
26 set -o posix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
27 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
28
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
29 # NLS nuisances.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
30 # Support unset when possible.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; 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
32 as_unset=unset
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
33 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
34 as_unset=false
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
35 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
36
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
39 { LANG=C; export LANG; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
42 { LC_ALL=C; export LC_ALL; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
45 { LC_TIME=C; export LC_TIME; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
48 { LC_CTYPE=C; export LC_CTYPE; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
51 { LANGUAGE=C; export LANGUAGE; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
54 { LC_COLLATE=C; export LC_COLLATE; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
57 { LC_NUMERIC=C; export LC_NUMERIC; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
60 { LC_MESSAGES=C; export LC_MESSAGES; }
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
61
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
62
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
63 # Name of the executable.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
64 as_me=`(basename "$0") 2>/dev/null ||
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
65 $as_expr X/"$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
66 X"$0" : 'X\(//\)$' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
67 X"$0" : 'X\(/\)$' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
68 . : '\(.\)' 2>/dev/null ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
69 echo X/"$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
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
72 /^X\/\(\/\).*/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
73 s/.*/./; q'`
7d2108cbcd3e Porting DW 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
7d2108cbcd3e Porting DW 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 # PATH needs CR, and LINENO needs CR and 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
76 # Avoid depending upon Character Ranges.
7d2108cbcd3e Porting DW 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 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
80 as_cr_digits='0123456789'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
82
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
83 # 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
84 if test "${PATH_SEPARATOR+set}" != set; then
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
85 echo "#! /bin/sh" >conftest.sh
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
86 echo "exit 0" >>conftest.sh
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
87 chmod +x conftest.sh
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; 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
89 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
90 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
91 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
92 fi
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
93 rm -f conftest.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
94 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
95
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
96
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
97 as_lineno_1=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
98 as_lineno_2=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
100 test "x$as_lineno_1" != "x$as_lineno_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
101 test "x$as_lineno_3" = "x$as_lineno_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
102 # Find who we are. Look in the path if we contain no path at all
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
103 # relative or not.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
104 case $0 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
105 *[\\/]* ) as_myself=$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
106 *) 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
107 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
108 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
109 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
110 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7d2108cbcd3e Porting DW 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 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
113
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
114 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
115 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
116 # We did not find ourselves, most probably we were run as `sh 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
117 # in which case we are not to be found in the 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
118 if test "x$as_myself" = x; 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
119 as_myself=$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
120 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
121 if test ! -f "$as_myself"; 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
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&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
123 { (exit 1); exit 1; }; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
124 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
125 case $CONFIG_SHELL 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
126 '')
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
127 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
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$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
129 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
130 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
131 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
132 for as_base in sh bash ksh sh5; 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
133 case $as_dir 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
134 /*)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
135 if ("$as_dir/$as_base" -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
136 as_lineno_1=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
137 as_lineno_2=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
139 test "x$as_lineno_1" != "x$as_lineno_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
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; 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
141 CONFIG_SHELL=$as_dir/$as_base
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
142 export CONFIG_SHELL
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
144 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
145 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
146 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
147 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
148 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
149 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
150
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
152 # uniformly replaced by the line number. The first 'sed' inserts a
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
153 # line-number line before each line; the second 'sed' does the real
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
154 # work. The second script uses 'N' to pair each line-number line
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
155 # with the numbered line, and appends trailing '-' during
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
156 # substitution so that $LINENO is not a special case at line end.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
159 sed '=' <$as_myself |
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
160 sed '
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
161 N
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
162 s,$,-,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
163 : loop
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
165 t loop
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
166 s,-$,,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
167 s,^['$as_cr_digits']*\n,,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
168 ' >$as_me.lineno &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
169 chmod +x $as_me.lineno ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&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
171 { (exit 1); exit 1; }; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
172
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
173 # 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
174 # (the dirname of $[0] is not the place where we might find the
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
175 # original and so on. Autoconf is especially sensible to this).
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
176 . ./$as_me.lineno
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
177 # 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
178 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
179 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
180
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
181
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` 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
183 *c*,-n*) ECHO_N= ECHO_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
184 ' ECHO_T=' ' ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
187 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
188
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
189 if expr a : '\(a\)' >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
190 as_expr=expr
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
191 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
192 as_expr=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
193 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
194
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
195 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
196 echo >conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
198 # We could just check for DJGPP; but this test a) works b) is more generic
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
200 if test -f conf$$.exe; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
201 # Don't use ln at all; we don't have any links
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
202 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
203 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
204 as_ln_s='ln -s'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
205 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
206 elif ln conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
207 as_ln_s=ln
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
208 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
209 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
210 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
211 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
212
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
213 as_executable_p="test -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
214
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
215 # Sed expression to map a string onto a valid CPP 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
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
217
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
218 # Sed expression to map a string onto a valid variable 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
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
220
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
221
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
222 # IFS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
223 # We need space, tab and new line, in precisely that order.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
224 as_nl='
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
225 '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
226 IFS=" $as_nl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
227
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
228 # CDPATH.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
230
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
231
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
232 # Name of the host.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
234 # so uname gets run too.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
236
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
237 exec 6>&1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
238
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
239 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
240 # Initializations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
241 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
242 ac_default_prefix=/usr/local
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
243 cross_compiling=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
244 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
245 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
246 MAKEFLAGS=
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
247 SHELL=${CONFIG_SHELL-/bin/sh}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
248
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
249 # Maximum number of lines to put in a shell here document.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
250 # This variable seems obsolete. It should probably be removed, and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
251 # only ac_max_sed_lines should be used.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
252 : ${ac_max_here_lines=38}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
253
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
254 # 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
255 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
256 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
257 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
258 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
259 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
260
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
261 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
262 # 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
263 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
264 #include <stdio.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
265 #if HAVE_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
266 # 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
267 #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
268 #if HAVE_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
269 # 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
270 #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
271 #if STDC_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
272 # 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
273 # 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
274 #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
275 # if HAVE_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
276 # 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
277 # 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
278 #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
279 #if HAVE_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
280 # if !STDC_HEADERS && HAVE_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
281 # 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
282 # 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
283 # 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
284 #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
285 #if HAVE_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
286 # 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
287 #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
288 #if HAVE_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
289 # 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
290 #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
291 # if HAVE_STDINT_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
292 # include <stdint.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
293 # 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
294 #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
295 #if HAVE_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
296 # 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
297 #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
298
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
299
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
300 # Initialize some variables set by options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
301 ac_init_help=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
302 ac_init_version=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
303 # The variables have the same names as the options, with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
304 # dashes changed to underlines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
305 cache_file=/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
306 exec_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
307 no_create=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
308 no_recursion=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
309 prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
310 program_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
311 program_suffix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
312 program_transform_name=s,x,x,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
313 silent=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
314 site=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
315 srcdir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
316 verbose=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
317 x_includes=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
318 x_libraries=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
319
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
320 # Installation directory options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
322 # and all the variables that are supposed to be based on exec_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
323 # by default will actually change.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
324 # Use braces instead of parens because sh, perl, etc. also accept them.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
325 bindir='${exec_prefix}/bin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
326 sbindir='${exec_prefix}/sbin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
327 libexecdir='${exec_prefix}/libexec'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
328 datadir='${prefix}/share'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
329 sysconfdir='${prefix}/etc'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
330 sharedstatedir='${prefix}/com'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
331 localstatedir='${prefix}/var'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
332 libdir='${exec_prefix}/lib'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
333 includedir='${prefix}/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
334 oldincludedir='/usr/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
335 infodir='${prefix}/info'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
336 mandir='${prefix}/man'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
337
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
338 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
339 for ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
340 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
341 # If the previous option needs an argument, assign it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
342 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
343 eval "$ac_prev=\$ac_option"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
344 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
345 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
346 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
347
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
349
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
350 # Accept the important Cygnus configure options, so we can diagnose typos.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
351
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
352 case $ac_option in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
353
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
355 ac_prev=bindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
357 bindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
358
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
359 -build | --build | --buil | --bui | --bu)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
360 ac_prev=build_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
362 build_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
363
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
366 ac_prev=cache_file ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
369 cache_file=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
370
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
371 --config-cache | -C)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
372 cache_file=config.cache ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
373
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
375 ac_prev=datadir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
377 | --da=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
378 datadir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
379
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
380 -disable-* | --disable-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
382 # Reject names that are not valid shell variable names.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
385 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
387 eval "enable_$ac_feature=no" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
388
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
389 -enable-* | --enable-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
391 # Reject names that are not valid shell variable names.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
394 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
396 case $ac_option in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
398 *) ac_optarg=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
399 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
400 eval "enable_$ac_feature='$ac_optarg'" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
401
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
404 | --exec | --exe | --ex)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
405 ac_prev=exec_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
408 | --exec=* | --exe=* | --ex=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
409 exec_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
410
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
411 -gas | --gas | --ga | --g)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
412 # Obsolete; use --with-gas.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
413 with_gas=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
414
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
415 -help | --help | --hel | --he | -h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
416 ac_init_help=long ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
418 ac_init_help=recursive ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
420 ac_init_help=short ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
421
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
422 -host | --host | --hos | --ho)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
423 ac_prev=host_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
424 -host=* | --host=* | --hos=* | --ho=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
425 host_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
426
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
427 -includedir | --includedir | --includedi | --included | --include \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
428 | --includ | --inclu | --incl | --inc)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
429 ac_prev=includedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
432 includedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
433
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
435 ac_prev=infodir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
437 infodir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
438
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
439 -libdir | --libdir | --libdi | --libd)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
440 ac_prev=libdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
442 libdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
443
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
445 | --libexe | --libex | --libe)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
446 ac_prev=libexecdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
448 | --libexe=* | --libex=* | --libe=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
449 libexecdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
450
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
452 | --localstate | --localstat | --localsta | --localst \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
453 | --locals | --local | --loca | --loc | --lo)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
454 ac_prev=localstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
458 localstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
459
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
461 ac_prev=mandir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
463 mandir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
464
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
465 -nfp | --nfp | --nf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
466 # Obsolete; use --without-fp.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
467 with_fp=no ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
468
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
469 -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
470 | --no-cr | --no-c | -n)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
471 no_create=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
472
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
475 no_recursion=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
476
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
479 | --oldin | --oldi | --old | --ol | --o)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
480 ac_prev=oldincludedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
484 oldincludedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
485
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
487 ac_prev=prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
489 prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
490
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
492 | --program-pre | --program-pr | --program-p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
493 ac_prev=program_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
496 program_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
497
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
499 | --program-suf | --program-su | --program-s)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
500 ac_prev=program_suffix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
503 program_suffix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
504
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
505 -program-transform-name | --program-transform-name \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
506 | --program-transform-nam | --program-transform-na \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
507 | --program-transform-n | --program-transform- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
508 | --program-transform | --program-transfor \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
509 | --program-transfo | --program-transf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
510 | --program-trans | --program-tran \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
511 | --progr-tra | --program-tr | --program-t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
512 ac_prev=program_transform_name ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
513 -program-transform-name=* | --program-transform-name=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
514 | --program-transform-nam=* | --program-transform-na=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
515 | --program-transform-n=* | --program-transform-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
516 | --program-transform=* | --program-transfor=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
517 | --program-transfo=* | --program-transf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
518 | --program-trans=* | --program-tran=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
519 | --progr-tra=* | --program-tr=* | --program-t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
520 program_transform_name=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
521
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
523 | -silent | --silent | --silen | --sile | --sil)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
524 silent=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
525
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
527 ac_prev=sbindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
529 | --sbi=* | --sb=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
530 sbindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
531
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
534 | --sharedst | --shareds | --shared | --share | --shar \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
535 | --sha | --sh)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
536 ac_prev=sharedstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
540 | --sha=* | --sh=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
541 sharedstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
542
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
543 -site | --site | --sit)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
544 ac_prev=site ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
545 -site=* | --site=* | --sit=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
546 site=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
547
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
549 ac_prev=srcdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
551 srcdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
552
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
554 | --syscon | --sysco | --sysc | --sys | --sy)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
555 ac_prev=sysconfdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
558 sysconfdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
559
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
560 -target | --target | --targe | --targ | --tar | --ta | --t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
561 ac_prev=target_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
563 target_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
564
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
566 verbose=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
567
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
568 -version | --version | --versio | --versi | --vers | -V)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
569 ac_init_version=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
570
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
571 -with-* | --with-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
573 # Reject names that are not valid shell variable names.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
576 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
578 case $ac_option in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
580 *) ac_optarg=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
581 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
582 eval "with_$ac_package='$ac_optarg'" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
583
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
584 -without-* | --without-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
586 # Reject names that are not valid shell variable names.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
589 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
591 eval "with_$ac_package=no" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
592
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
593 --x)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
594 # Obsolete; use --with-x.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
595 with_x=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
596
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
598 | --x-incl | --x-inc | --x-in | --x-i)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
599 ac_prev=x_includes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
602 x_includes=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
603
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
606 ac_prev=x_libraries ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
609 x_libraries=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
610
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
612 Try \`$0 --help' for more information." >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
613 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
614 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
615
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
616 *=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
618 # Reject names that are not valid shell variable names.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
621 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
623 eval "$ac_envvar='$ac_optarg'"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
624 export $ac_envvar ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
625
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
626 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
627 # FIXME: should be removed in autoconf 3.0.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
628 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
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
632 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
633
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
634 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
635 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
636
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
637 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
639 { echo "$as_me: error: missing argument to $ac_option" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
640 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
641 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
642
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
643 # Be sure to have absolute paths.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
644 for ac_var in exec_prefix prefix
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
645 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
646 eval ac_val=$`echo $ac_var`
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
647 case $ac_val in
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
650 { (exit 1); exit 1; }; };;
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
651 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
652 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
653
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
654 # Be sure to have absolute paths.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
656 localstatedir libdir includedir oldincludedir infodir mandir
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
657 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
658 eval ac_val=$`echo $ac_var`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
659 case $ac_val in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
660 [\\/$]* | ?:[\\/]* ) ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
662 { (exit 1); exit 1; }; };;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
663 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
664 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
665
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
666 # There might be people who depend on the old broken behavior: `$host'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
667 # 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
668 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
669 build=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
670 host=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
671 target=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
672
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
673 # FIXME: To remove some day.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
674 if test "x$host_alias" != x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
675 if test "x$build_alias" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
676 cross_compiling=maybe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
678 If a cross compiler is detected then cross compile mode will be used." >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
679 elif test "x$build_alias" != "x$host_alias"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
680 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
681 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
682 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
683
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
684 ac_tool_prefix=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
686
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
687 test "$silent" = yes && exec 6>/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
688
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
689
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
690 # Find the source files, if location was not specified.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
691 if test -z "$srcdir"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
692 ac_srcdir_defaulted=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
693 # Try the directory containing this script, then its parent.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
696 X"$0" : 'X\(//\)[^/]' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
697 X"$0" : 'X\(//\)$' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
698 X"$0" : 'X\(/\)' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
699 . : '\(.\)' 2>/dev/null ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
700 echo X"$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
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
703 /^X\(\/\/\)$/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
704 /^X\(\/\).*/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
705 s/.*/./; q'`
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
706 srcdir=$ac_confdir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
707 if test ! -r $srcdir/$ac_unique_file; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
708 srcdir=..
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
709 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
710 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
711 ac_srcdir_defaulted=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
712 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
713 if test ! -r $srcdir/$ac_unique_file; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
714 if test "$ac_srcdir_defaulted" = 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
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
716 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
717 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
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
719 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
720 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
721 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
723 ac_env_build_alias_set=${build_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
724 ac_env_build_alias_value=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
725 ac_cv_env_build_alias_set=${build_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
726 ac_cv_env_build_alias_value=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
727 ac_env_host_alias_set=${host_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
728 ac_env_host_alias_value=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
729 ac_cv_env_host_alias_set=${host_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
730 ac_cv_env_host_alias_value=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
731 ac_env_target_alias_set=${target_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
732 ac_env_target_alias_value=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
733 ac_cv_env_target_alias_set=${target_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
734 ac_cv_env_target_alias_value=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
735 ac_env_CC_set=${CC+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
736 ac_env_CC_value=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
737 ac_cv_env_CC_set=${CC+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
738 ac_cv_env_CC_value=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
739 ac_env_CFLAGS_set=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
740 ac_env_CFLAGS_value=$CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
742 ac_cv_env_CFLAGS_value=$CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
744 ac_env_LDFLAGS_value=$LDFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
748 ac_env_CPPFLAGS_value=$CPPFLAGS
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
751 ac_env_CPP_set=${CPP+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
752 ac_env_CPP_value=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
753 ac_cv_env_CPP_set=${CPP+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
754 ac_cv_env_CPP_value=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
755
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
756 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
757 # Report the --help message.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
758 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
759 if test "$ac_init_help" = "long"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
760 # Omit some internal or obsolete options to make the list less imposing.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
761 # 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
762 cat <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
763 \`configure' configures this package to adapt to many kinds of systems.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
764
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
765 Usage: $0 [OPTION]... [VAR=VALUE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
766
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
768 VAR=VALUE. See below for descriptions of some of the useful variables.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
769
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
770 Defaults for the options are specified in brackets.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
771
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
772 Configuration:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
773 -h, --help display this help and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
774 --help=short display options specific to this package
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
775 --help=recursive display the short help of all the included packages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
776 -V, --version display version information and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
777 -q, --quiet, --silent do not print \`checking...' messages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
778 --cache-file=FILE cache test results in FILE [disabled]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
779 -C, --config-cache alias for \`--cache-file=config.cache'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
780 -n, --no-create do not create output files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
782
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
783 _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
784
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
785 cat <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
786 Installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
787 --prefix=PREFIX install architecture-independent files in PREFIX
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
788 [$ac_default_prefix]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
790 [PREFIX]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
791
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
792 By default, \`make install' will install all the files in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
795 for instance \`--prefix=\$HOME'.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
796
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
797 For better control, use the options below.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
798
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
799 Fine tuning of the installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
800 --bindir=DIR user executables [EPREFIX/bin]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
802 --libexecdir=DIR program executables [EPREFIX/libexec]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
807 --libdir=DIR object code libraries [EPREFIX/lib]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
808 --includedir=DIR C header files [PREFIX/include]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
810 --infodir=DIR info documentation [PREFIX/info]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
811 --mandir=DIR man documentation [PREFIX/man]
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
812 _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
813
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
814 cat <<\_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
815 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
816 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
817
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
818 if test -n "$ac_init_help"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
819
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
820 cat <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
821
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
822 Optional Features:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
823 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
824 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
825 --disable-glibtest Do not try to compile and run a test GLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
826 --disable-gtktest Do not try to compile and run a test GTK program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
827 --disable-imlibtest Do not try to compile and run a test IMLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
828
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
829 Optional Packages:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
830 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
831 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
832 --with-glib-prefix=PFX Prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
833 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
834 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
835 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
836 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
837 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
838
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
839 Some influential environment variables:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
840 CC C compiler command
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
841 CFLAGS C compiler flags
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
842 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
843 nonstandard directory <lib dir>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
844 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
845 headers in a nonstandard directory <include dir>
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
846 CPP C preprocessor
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
847
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
848 Use these variables to override the choices made by `configure' or to help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
849 it to find libraries and programs with nonstandard names/locations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
850
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
851 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
852 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
853
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
854 if test "$ac_init_help" = "recursive"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
855 # If there are subdirs, report their specific --help.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
856 ac_popdir=`pwd`
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
857 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && 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
858 test -d $ac_dir || 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
859 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
860
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
861 if test "$ac_dir" != .; 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
862 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
863 # A "../" for each directory in $ac_dir_suffix.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
864 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
865 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
866 ac_dir_suffix= ac_top_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
867 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
868
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
869 case $srcdir 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
870 .) # No --srcdir option. We are building in place.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
871 ac_srcdir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
872 if test -z "$ac_top_builddir"; 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
873 ac_top_srcdir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
874 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
875 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
876 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
877 [\\/]* | ?:[\\/]* ) # Absolute 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
878 ac_srcdir=$srcdir$ac_dir_suffix;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
879 ac_top_srcdir=$srcdir ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
880 *) # Relative 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
881 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
882 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
883 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
884 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
885 # absolute.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
886 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
887 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
888 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
889 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
890
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
891 cd $ac_dir
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
892 # Check for guested configure; otherwise get Cygnus style configure.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
893 if test -f $ac_srcdir/configure.gnu; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
894 echo
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
895 $SHELL $ac_srcdir/configure.gnu --help=recursive
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
896 elif test -f $ac_srcdir/configure; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
897 echo
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
898 $SHELL $ac_srcdir/configure --help=recursive
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
899 elif test -f $ac_srcdir/configure.ac ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
900 test -f $ac_srcdir/configure.in; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
901 echo
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
902 $ac_configure --help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
903 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
904 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
905 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
906 cd $ac_popdir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
907 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
908 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
909
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
910 test -n "$ac_init_help" && exit 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
911 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
912 cat <<\_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
913
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
914 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
915 Free Software Foundation, Inc.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
916 This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
917 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
918 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
919 exit 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
920 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
921 exec 5>config.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
922 cat >&5 <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
923 This file contains any messages produced by compilers while
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
924 running configure, to aid debugging if configure makes a mistake.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
925
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
926 It was created by $as_me, which was
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
927 generated by GNU Autoconf 2.53. Invocation command line was
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
928
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
929 $ $0 $@
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
930
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
931 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
932 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
933 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
934 ## --------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
935 ## 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
936 ## --------- ##
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
937
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
943
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
945 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
946
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
947 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
948 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
950 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
954
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
955 _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
956
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
957 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
958 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
959 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
960 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
961 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
962 echo "PATH: $as_dir"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
963 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
964
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
965 } >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
966
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
967 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
968
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
969
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
970 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
971 ## 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
972 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
973
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
974 _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
975
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
976
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
977 # Keep a trace of the command line.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
978 # Strip out --no-create and --no-recursion so they do not pile up.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
979 # Also quote any args containing shell meta-characters.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
980 ac_configure_args=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
981 ac_sep=
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
982 for ac_arg
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
983 do
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
984 case $ac_arg in
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
986 | --no-cr | --no-c | -n ) continue ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
989 continue ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
990 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
991 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
992 esac
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
993 case " $ac_configure_args " in
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
995 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
996 ac_sep=" " ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
997 esac
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
998 # Get rid of the leading space.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
999 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1000
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1001 # When interrupted or exit'd, cleanup temporary files, and complete
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1002 # config.log. We remove comments because anyway the quotes in there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1003 # would cause problems or look ugly.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1004 # WARNING: Be sure not to use single quotes in there, as some shells,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1005 # such as our DU 5.0 friend, will then `close' the trap.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1006 trap 'exit_status=$?
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1007 # 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
1008 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1009 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
1010 cat <<\_ASBOX
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1011 ## ---------------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1012 ## Cache 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
1013 ## ---------------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1014 _ASBOX
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1015 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
1016 # The following way of writing the cache mishandles newlines in values,
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1017 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1018 (set) 2>&1 |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1019 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1020 *ac_space=\ *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1021 sed -n \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1022 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1024 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1025 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1026 sed -n \
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1027 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1028 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1029 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
1030 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1031 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
1032 if test -s confdefs.h; 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
1033 cat <<\_ASBOX
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1034 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1035 ## confdefs.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
1036 ## ----------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1037 _ASBOX
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1038 echo
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1039 sed "/^$/d" 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
1040 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
1041 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
1042 test "$ac_signal" != 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
1043 echo "$as_me: caught signal $ac_signal"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1044 echo "$as_me: exit $exit_status"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1045 } >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1046 rm -f core core.* *.core &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1047 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1048 exit $exit_status
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1049 ' 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1050 for ac_signal in 1 2 13 15; do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1051 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1052 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1053 ac_signal=0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1054
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1055 # confdefs.h avoids OS command line length limits that DEFS can exceed.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1056 rm -rf conftest* confdefs.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1057 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1058 echo >confdefs.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1059
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1060 # 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
1061
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1062 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
1063 #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
1064 _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
1065
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1066
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1067 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
1068 #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
1069 _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
1070
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1071
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1072 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
1073 #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
1074 _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
1075
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1076
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1077 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
1078 #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
1079 _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
1080
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1081
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1082 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
1083 #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
1084 _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
1085
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1086
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1087 # Let the site file select an alternate cache file if it wants to.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1088 # Prefer explicitly selected file to automatically selected ones.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1089 if test -z "$CONFIG_SITE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1090 if test "x$prefix" != xNONE; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1091 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1092 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1093 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1094 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1095 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1096 for ac_site_file in $CONFIG_SITE; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1097 if test -r "$ac_site_file"; 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
1098 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1099 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
1100 sed 's/^/| /' "$ac_site_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1101 . "$ac_site_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1102 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1103 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1104
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1105 if test -r "$cache_file"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1106 # Some versions of bash will fail to source /dev/null (special
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1107 # files actually), so we avoid doing that.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1108 if test -f "$cache_file"; 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
1109 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1110 echo "$as_me: loading cache $cache_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1111 case $cache_file in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1112 [\\/]* | ?:[\\/]* ) . $cache_file;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1113 *) . ./$cache_file;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1114 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1115 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1116 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
1117 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1118 echo "$as_me: creating cache $cache_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1119 >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1120 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1121
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1122 # Check that the precious variables saved in the cache have kept the same
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1123 # value.
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1124 ac_cache_corrupted=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1125 for ac_var in `(set) 2>&1 |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1126 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1127 eval ac_old_set=\$ac_cv_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1128 eval ac_new_set=\$ac_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1129 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1130 eval ac_new_val="\$ac_env_${ac_var}_value"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1131 case $ac_old_set,$ac_new_set in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1132 set,)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1133 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1134 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1135 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1136 ,set)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1137 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1138 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1139 ac_cache_corrupted=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1140 ,);;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1141 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1142 if test "x$ac_old_val" != "x$ac_new_val"; 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
1143 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1144 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&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
1145 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1146 echo "$as_me: former value: $ac_old_val" >&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
1147 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1148 echo "$as_me: current value: $ac_new_val" >&2;}
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1149 ac_cache_corrupted=:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1150 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1151 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
1152 # 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
1153 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
1154 case $ac_new_val in
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1155 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1156 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
7d2108cbcd3e Porting DW 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 *) 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
1158 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
1159 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
1160 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1161 *) 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
1162 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1163 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1164 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1165 if $ac_cache_corrupted; 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
1166 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1167 echo "$as_me: error: changes in the environment can compromise the build" >&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
1168 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1169 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1170 { (exit 1); exit 1; }; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1171 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1172
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1173 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1174 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1178
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1179
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1180
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1181
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1182
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1183
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1184
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1185
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1186
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1187
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1188
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1189
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1190
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1191
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1192
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1193
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1194
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1195
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1196 ac_config_headers="$ac_config_headers config.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1197
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1198
251
18ecaae9cc3b Changed configure to make sure we find gtk 2.0, and not just pkg-config,
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 121
diff changeset
1199 DW_MAJOR_VERSION=1
18ecaae9cc3b Changed configure to make sure we find gtk 2.0, and not just pkg-config,
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 121
diff changeset
1200 DW_MINOR_VERSION=0
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1201 DW_SUB_VERSION=0
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1202
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
1203 DW_SRC=gtk
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
1204 DW_DEFINE=__UNIX__
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1205 SHAREDFLAG=-shared
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
1206 SOSUFFIX=so
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1207
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1208
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1209
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1210
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1211 INCLUDES="-I."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1212
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1213 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1214 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1218 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1220 set dummy ${ac_tool_prefix}gcc; ac_word=$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
1221 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1223 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1224 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1225 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1226 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1227 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1228 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
1229 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
1230 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
1231 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
1232 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
1233 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1234 for ac_exec_ext in '' $ac_executable_extensions; 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
1235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1236 ac_cv_prog_CC="${ac_tool_prefix}gcc"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1238 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
1239 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
1240 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1241 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1242
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1243 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1244 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1245 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1246 if test -n "$CC"; 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
1247 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1248 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1249 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
1250 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1251 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1252 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1253
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1254 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1255 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1256 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1257 # Extract the first word of "gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1258 set dummy gcc; ac_word=$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
1259 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1262 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1263 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1264 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1266 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
1267 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
1268 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
1269 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
1270 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
1271 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1272 for ac_exec_ext in '' $ac_executable_extensions; 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
1273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1274 ac_cv_prog_ac_ct_CC="gcc"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1276 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
1277 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
1278 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1279 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1280
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1281 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1282 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1284 if test -n "$ac_ct_CC"; 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
1285 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1286 echo "${ECHO_T}$ac_ct_CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1287 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
1288 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1289 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1290 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1291
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1292 CC=$ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1293 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1294 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1295 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1296
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1297 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1298 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1300 set dummy ${ac_tool_prefix}cc; ac_word=$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
1301 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1303 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1304 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1305 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1306 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1307 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1308 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
1309 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
1310 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
1311 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
1312 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
1313 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1314 for ac_exec_ext in '' $ac_executable_extensions; 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
1315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1316 ac_cv_prog_CC="${ac_tool_prefix}cc"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1318 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
1319 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
1320 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1321 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1322
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1323 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1324 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1325 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1326 if test -n "$CC"; 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
1327 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1328 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1329 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
1330 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1331 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1332 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1333
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1334 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1335 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1336 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1337 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1338 set dummy cc; ac_word=$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
1339 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1343 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1344 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1346 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
1347 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
1348 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
1349 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
1350 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
1351 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW 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 for ac_exec_ext in '' $ac_executable_extensions; 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
1353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1354 ac_cv_prog_ac_ct_CC="cc"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1356 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
1357 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
1358 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1359 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1360
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1361 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1362 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1364 if test -n "$ac_ct_CC"; 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
1365 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1366 echo "${ECHO_T}$ac_ct_CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1367 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
1368 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1369 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1370 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1371
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1372 CC=$ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1373 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1374 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1375 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1376
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1377 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1378 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1379 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1380 set dummy cc; ac_word=$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
1381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1383 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1385 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1386 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1387 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1388 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1389 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
1390 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
1391 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
1392 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
1393 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
1394 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1395 for ac_exec_ext in '' $ac_executable_extensions; 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
1396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1397 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
1398 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
1399 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
1400 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
1401 ac_cv_prog_CC="cc"
7d2108cbcd3e Porting DW 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 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1403 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
1404 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
1405 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1406 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1407
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1408 if test $ac_prog_rejected = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1409 # We found a bogon in the path, so make sure we never use it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1410 set dummy $ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1411 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1412 if test $# != 0; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1413 # We chose a different compiler from the bogus one.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1414 # However, it has the same basename, so the bogon will be chosen
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1415 # first if we set CC to just the basename; use the full file name.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1416 shift
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1417 set dummy "$as_dir/$ac_word" ${1+"$@"}
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1418 shift
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1419 ac_cv_prog_CC="$@"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1420 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1421 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1422 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1423 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1424 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1425 if test -n "$CC"; 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
1426 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1427 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1428 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
1429 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1430 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1431 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1432
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1433 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1434 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1435 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1436 for ac_prog in cl
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1437 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1438 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1439 set dummy $ac_tool_prefix$ac_prog; ac_word=$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
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1442 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1444 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1445 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1446 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1447 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
1448 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
1449 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
1450 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
1451 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
1452 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW 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 for ac_exec_ext in '' $ac_executable_extensions; 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
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1455 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW 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 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
1458 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
1459 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1460 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1461
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1462 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1463 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1464 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1465 if test -n "$CC"; 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
1466 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1467 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1468 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
1469 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1470 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1471 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1472
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1473 test -n "$CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1474 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1475 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1476 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1477 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1478 for ac_prog in cl
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1479 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1480 # Extract the first word of "$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1481 set dummy $ac_prog; ac_word=$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
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1484 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1486 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1487 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1489 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
1490 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
1491 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
1492 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
1493 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
1494 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1495 for ac_exec_ext in '' $ac_executable_extensions; 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
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1497 ac_cv_prog_ac_ct_CC="$ac_prog"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1499 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
1500 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
1501 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1502 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1503
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1504 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1505 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1507 if test -n "$ac_ct_CC"; 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
1508 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1509 echo "${ECHO_T}$ac_ct_CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1510 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
1511 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1512 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1513 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1514
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1515 test -n "$ac_ct_CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1516 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1517
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1518 CC=$ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1519 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1520
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1521 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1522
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1523
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1524 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1525 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1526 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1527
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1528 # Provide some information about the compiler.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1529 echo "$as_me:$LINENO:" \
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1530 "checking for C compiler version" >&5
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1531 ac_compiler=`set X $ac_compile; echo $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
1532 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1533 (eval $ac_compiler --version </dev/null >&5) 2>&5
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1534 ac_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
1535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1536 (exit $ac_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
1537 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1538 (eval $ac_compiler -v </dev/null >&5) 2>&5
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1539 ac_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
1540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1541 (exit $ac_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
1542 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1543 (eval $ac_compiler -V </dev/null >&5) 2>&5
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1544 ac_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
1545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1546 (exit $ac_status); }
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1547
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1548 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1549 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1550 #include "confdefs.h"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1551
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1552 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1553 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1554 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1555 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1556 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1557 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1558 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1559 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1560 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1561
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1562 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1563 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1564 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1565 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1566 ac_clean_files_save=$ac_clean_files
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1567 ac_clean_files="$ac_clean_files a.out a.exe"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1568 # 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
1569 # It will help us diagnose broken compilers, and finding out an intuition
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1570 # of exeext.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1571 echo "$as_me:$LINENO: checking for C compiler default output" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1572 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1573 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1574 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1575 (eval $ac_link_default) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1576 ac_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
1577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1578 (exit $ac_status); }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1579 # Find the output, starting from the most likely. This scheme is
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1580 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1581 # resort.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1582
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1583 # Be careful to initialize this variable, since it used to be cached.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1584 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1585 ac_cv_exeext=
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1586 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1587 ls a.out conftest 2>/dev/null;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1588 ls a.* conftest.* 2>/dev/null`; do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1589 case $ac_file in
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1590 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1591 a.out ) # We found the default executable, but exeext='' is most
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1592 # certainly right.
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1593 break;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1594 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1595 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1596 export ac_cv_exeext
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1597 break;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1598 * ) break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1599 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1600 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1601 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1602 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1603 cat conftest.$ac_ext >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1604 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1605 echo "$as_me: error: C compiler cannot create executables" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1606 { (exit 77); exit 77; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1607 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1608
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1609 ac_exeext=$ac_cv_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1610 echo "$as_me:$LINENO: result: $ac_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1611 echo "${ECHO_T}$ac_file" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1612
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1613 # Check the compiler produces executables we can run. If not, either
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1614 # the compiler is broken, or we cross compile.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1615 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1616 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1617 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1618 # If not cross compiling, check that we can run a simple program.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1619 if test "$cross_compiling" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1620 if { ac_try='./$ac_file'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1622 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1623 ac_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
1624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1625 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1626 cross_compiling=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1627 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1628 if test "$cross_compiling" = maybe; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1629 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1630 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
1631 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1632 If you meant to cross compile, use \`--host'." >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1633 echo "$as_me: error: cannot run C compiled programs.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1634 If you meant to cross compile, use \`--host'." >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1635 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1636 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1637 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1638 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
1639 echo "$as_me:$LINENO: result: yes" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1640 echo "${ECHO_T}yes" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1641
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1642 rm -f a.out a.exe conftest$ac_cv_exeext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1643 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1644 # Check the compiler produces executables we can run. If not, either
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1645 # the compiler is broken, or we cross compile.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1646 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1647 echo $ECHO_N "checking whether we are cross compiling... $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
1648 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1649 echo "${ECHO_T}$cross_compiling" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1650
120
7d2108cbcd3e Porting DW 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 echo "$as_me:$LINENO: checking for suffix of executables" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1652 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1654 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1655 ac_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
1656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1657 (exit $ac_status); }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1658 # If both `conftest.exe' and `conftest' are `present' (well, observable)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1659 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1660 # work properly (i.e., refer to `conftest.exe'), while it won't with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1661 # `rm'.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1662 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1663 case $ac_file in
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1664 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1665 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1666 export ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1667 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1668 * ) break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1669 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1670 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1671 else
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1672 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1673 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1674 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1675 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1676
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1677 rm -f conftest$ac_cv_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1678 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1679 echo "${ECHO_T}$ac_cv_exeext" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1680
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1681 rm -f conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1682 EXEEXT=$ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1683 ac_exeext=$EXEEXT
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1684 echo "$as_me:$LINENO: checking for suffix of object files" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1685 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1686 if test "${ac_cv_objext+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1688 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1689 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1690 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1691 #include "confdefs.h"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1692
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1693 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1694 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1695 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1696 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1697 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1698 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1699 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1700 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1701 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1702
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1703 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1704 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1705 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1706 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1707 rm -f conftest.o conftest.obj
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1709 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1710 ac_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
1711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1712 (exit $ac_status); }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1713 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1714 case $ac_file in
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1715 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1716 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1717 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1718 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1719 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1720 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1721 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1722 cat conftest.$ac_ext >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1723 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1724 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1725 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1726 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1727
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1728 rm -f conftest.$ac_cv_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1729 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
1730 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1731 echo "${ECHO_T}$ac_cv_objext" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1732 OBJEXT=$ac_cv_objext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1733 ac_objext=$OBJEXT
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1734 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1735 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1736 if test "${ac_cv_c_compiler_gnu+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1738 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1739 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1740 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1741 #include "confdefs.h"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1742
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1743 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1744 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1745 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1746 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1747 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1748 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1749 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1750 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1751 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1752 #ifndef __GNUC__
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1753 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1754 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1755
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1756 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1757 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1758 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1759 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1760 rm -f conftest.$ac_objext
120
7d2108cbcd3e Porting DW 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1762 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1763 ac_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
1764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1765 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1766 { ac_try='test -s conftest.$ac_objext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1768 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1769 ac_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
1770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1771 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1772 ac_compiler_gnu=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1773 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1774 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1775 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1776 ac_compiler_gnu=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1777 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1778 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1780
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1781 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
1782 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1783 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1784 GCC=`test $ac_compiler_gnu = yes && echo yes`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1785 ac_test_CFLAGS=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1786 ac_save_CFLAGS=$CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1787 CFLAGS="-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
1788 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1789 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1790 if test "${ac_cv_prog_cc_g+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1792 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1793 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1794 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1795 #include "confdefs.h"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1796
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1797 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1798 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1799 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1800 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1801 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1802 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1803 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1804 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1805 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1806
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1807 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1808 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1809 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1810 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1811 rm -f conftest.$ac_objext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1813 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1814 ac_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
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1816 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1817 { ac_try='test -s conftest.$ac_objext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1819 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1820 ac_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
1821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1822 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1823 ac_cv_prog_cc_g=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1824 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1825 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1826 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1827 ac_cv_prog_cc_g=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1828 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1829 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1830 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
1831 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1832 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1833 if test "$ac_test_CFLAGS" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1834 CFLAGS=$ac_save_CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1835 elif test $ac_cv_prog_cc_g = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1836 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1837 CFLAGS="-g -O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1838 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1839 CFLAGS="-g"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1840 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1841 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1842 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1843 CFLAGS="-O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1844 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1845 CFLAGS=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1846 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1847 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1848 # Some people use a C++ compiler to compile C. Since we use `exit',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1849 # in C++ we need to declare it. In case someone uses the same compiler
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1850 # for both compiling C and C++ we need to have the C++ compiler decide
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1851 # the declaration of exit, since it's the most demanding environment.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1852 cat >conftest.$ac_ext <<_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1853 #ifndef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1854 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1855 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1856 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1857 rm -f conftest.$ac_objext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1859 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1860 ac_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
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1862 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1863 { ac_try='test -s conftest.$ac_objext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1865 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1866 ac_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
1867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1868 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1869 for ac_declaration in \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1870 ''\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1871 '#include <stdlib.h>' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1872 'extern "C" void std::exit (int) throw (); using std::exit;' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1873 'extern "C" void std::exit (int); using std::exit;' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1874 'extern "C" void exit (int) throw ();' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1875 'extern "C" void exit (int);' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1876 'void exit (int);'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1877 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1878 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1879 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1880 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1881 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1882 $ac_declaration
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1883 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1884 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1885 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1886 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1887 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1888 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1889 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1890 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1891 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1892 exit (42);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1893 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1894 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1895 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1896 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1897 rm -f conftest.$ac_objext
120
7d2108cbcd3e Porting DW 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1899 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1900 ac_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
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1902 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1903 { ac_try='test -s conftest.$ac_objext'
120
7d2108cbcd3e Porting DW 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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1905 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1906 ac_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
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1908 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1909 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1910 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1911 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1912 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1913 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1914 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1915 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1916 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1917 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1918 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1919 $ac_declaration
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1920 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1921 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1922 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1923 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1924 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1925 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1926 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1927 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1928 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1929 exit (42);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1930 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1931 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1932 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1933 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1934 rm -f conftest.$ac_objext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1936 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1937 ac_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
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1939 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1940 { ac_try='test -s conftest.$ac_objext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1942 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1943 ac_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
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1945 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1946 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1947 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1948 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1949 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1950 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1951 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1952 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1953 rm -f conftest*
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1954 if test -n "$ac_declaration"; then
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1955 echo '#ifdef __cplusplus' >>confdefs.h
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1956 echo $ac_declaration >>confdefs.h
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1957 echo '#endif' >>confdefs.h
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1958 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1959
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1960 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1961 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
1962 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1963 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1964 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1965 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1966 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1970
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1971
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1972 # Extract the first word of "gmake", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1973 set dummy gmake; ac_word=$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
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1976 if test "${ac_cv_prog_MAKE+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1978 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1979 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1980 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1981 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
1982 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
1983 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
1984 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
1985 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
1986 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1987 for ac_exec_ext in '' $ac_executable_extensions; 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
1988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
1989 ac_cv_prog_MAKE="gmake"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1991 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
1992 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
1993 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1994 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1995
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1996 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1997 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1998 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1999 if test -n "$MAKE"; 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
2000 echo "$as_me:$LINENO: result: $MAKE" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2001 echo "${ECHO_T}$MAKE" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2002 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
2003 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2004 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2005 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2006
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2007 if test x"$MAKE" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2008 # Extract the first word of "make", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2009 set dummy make; ac_word=$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
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2012 if test "${ac_cv_prog_MAKE+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2014 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2015 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2016 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2017 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
2018 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
2019 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
2020 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
2021 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
2022 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2023 for ac_exec_ext in '' $ac_executable_extensions; 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
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
2025 ac_cv_prog_MAKE="make"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2027 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
2028 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
2029 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2030 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2031
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2032 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2033 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2034 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2035 if test -n "$MAKE"; 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
2036 echo "$as_me:$LINENO: result: $MAKE" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2037 echo "${ECHO_T}$MAKE" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2038 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
2039 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2040 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2041 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2042
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2043 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2044
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2045 ac_aux_dir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2046 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2047 if test -f $ac_dir/install-sh; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2048 ac_aux_dir=$ac_dir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2049 ac_install_sh="$ac_aux_dir/install-sh -c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2050 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2051 elif test -f $ac_dir/install.sh; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2052 ac_aux_dir=$ac_dir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2053 ac_install_sh="$ac_aux_dir/install.sh -c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2054 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2055 elif test -f $ac_dir/shtool; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2056 ac_aux_dir=$ac_dir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2057 ac_install_sh="$ac_aux_dir/shtool install -c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2058 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2059 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2060 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2061 if test -z "$ac_aux_dir"; 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
2062 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2063 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2064 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2065 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2066 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2067 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2068 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2069
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2070 # Find a good install program. We prefer a C program (faster),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2071 # so one script is as good as another. But avoid the broken or
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2072 # incompatible versions:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2073 # SysV /etc/install, /usr/sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2074 # SunOS /usr/etc/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2075 # IRIX /sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2076 # AIX /bin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2077 # AmigaOS /C/install, which installs bootblocks on floppy discs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2078 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2079 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2080 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2081 # ./install, which can be erroneously created by make from ./install.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
2082 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2083 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2084 if test -z "$INSTALL"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2085 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2087 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
2088 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
2089 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
2090 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
2091 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
2092 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2093 # Account for people who put trailing slashes in PATH elements.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2094 case $as_dir/ 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
2095 ./ | .// | /cC/* | \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2096 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2097 /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
2098 *)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2099 # 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
2100 # 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
2101 # 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
2102 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
2103 for ac_exec_ext in '' $ac_executable_extensions; 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
2104 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; 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
2105 if test $ac_prog = 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
2106 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; 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
2107 # AIX install. It has an incompatible calling convention.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2108 :
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2109 elif test $ac_prog = 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
2110 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; 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
2111 # program-specific install script used by HP pwplus--don't use.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2112 :
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2113 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
2114 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -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
2115 break 3
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2116 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
2117 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2118 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
2119 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
2120 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2121 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
2122 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
2123
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2124
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2125 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2126 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2127 INSTALL=$ac_cv_path_install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2128 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2129 # As a last resort, use the slow shell script. We don't cache a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2130 # path for INSTALL within a source directory, because that will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2131 # break other packages using the cache if that directory is
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2132 # removed, or if the path is relative.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2133 INSTALL=$ac_install_sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2134 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2135 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
2136 echo "$as_me:$LINENO: result: $INSTALL" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2137 echo "${ECHO_T}$INSTALL" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2138
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2140 # It thinks the first close brace ends the variable substitution.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2142
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2144
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2145 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2146
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2147
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2148
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2149
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2150
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2151 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2152 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2156 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2157 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2158 # On Suns, sometimes $CPP names a directory.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2159 if test -n "$CPP" && test -d "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2160 CPP=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2161 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2162 if test -z "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2163 if test "${ac_cv_prog_CPP+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2165 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2166 # Double quotes because CPP needs to be expanded
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2167 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2168 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2169 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2170 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
2171 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2172 # 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
2173 # with a fresh cross-compiler works.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2174 # 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
2175 # not just through cpp. "Syntax error" is here to catch this case.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2176 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2177 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2178 #include "confdefs.h"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2179 #include <assert.h>
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2180 Syntax error
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2181 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2184 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2185 egrep -v '^ *\+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2186 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2187 cat conftest.err >&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
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2189 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2190 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2191 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2192 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2193 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2194 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2195 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2196 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2197 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2198 if test -z "$ac_cpp_err"; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2199 :
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2200 else
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2201 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2202 cat conftest.$ac_ext >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2203 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2204 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2205 fi
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2206 rm -f conftest.err conftest.$ac_ext
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2207
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2208 # OK, works on sane cases. Now check whether non-existent headers
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2209 # can be detected and how.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2210 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2211 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2212 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2213 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2214 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2217 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2218 egrep -v '^ *\+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2219 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2220 cat conftest.err >&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
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2222 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2223 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2224 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2225 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2226 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2227 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2228 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2229 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2230 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2231 if test -z "$ac_cpp_err"; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2232 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2233 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2234 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2235 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2236 cat conftest.$ac_ext >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2237 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2238 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2239 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2240 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2241 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
2242
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2243 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2245 rm -f conftest.err conftest.$ac_ext
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2246 if $ac_preproc_ok; then
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2247 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2248 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2249
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2250 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2251 ac_cv_prog_CPP=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2252
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2253 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2254 CPP=$ac_cv_prog_CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2255 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2256 ac_cv_prog_CPP=$CPP
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2257 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
2258 echo "$as_me:$LINENO: result: $CPP" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2259 echo "${ECHO_T}$CPP" >&6
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2260 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2261 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
2262 do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2263 # 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
2264 # with a fresh cross-compiler works.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2265 # 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
2266 # not just through cpp. "Syntax error" is here to catch this case.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2267 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2268 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2269 #include "confdefs.h"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2270 #include <assert.h>
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2271 Syntax error
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2272 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2275 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2276 egrep -v '^ *\+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2277 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2278 cat conftest.err >&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
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2280 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2281 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2282 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2283 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2284 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2285 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2286 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2287 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2288 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2289 if test -z "$ac_cpp_err"; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2290 :
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2291 else
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2292 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2293 cat conftest.$ac_ext >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2294 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2295 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2296 fi
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2297 rm -f conftest.err conftest.$ac_ext
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2298
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2299 # OK, works on sane cases. Now check whether non-existent headers
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2300 # can be detected and how.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2301 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2302 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2303 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2304 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2305 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2308 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2309 egrep -v '^ *\+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2310 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2311 cat conftest.err >&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
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2313 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2314 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2315 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2316 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2317 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2318 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2319 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2320 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2321 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2322 if test -z "$ac_cpp_err"; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2323 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2324 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2325 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2326 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2327 cat conftest.$ac_ext >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2328 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2329 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2330 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2331 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2332 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
2333
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2334 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2336 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
2337 if $ac_preproc_ok; then
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2338 :
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2339 else
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2340 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2341 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2342 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2343 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2344
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2345 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2346 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2350
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2351
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2352 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2353 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2354 if test "${ac_cv_header_stdc+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2356 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2357 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2358 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2359 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2360 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2361 #include <stdarg.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2362 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2363 #include <float.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2364
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2365 _ACEOF
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2368 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2369 egrep -v '^ *\+' conftest.er1 >conftest.err
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2370 rm -f conftest.er1
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2371 cat conftest.err >&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
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2373 (exit $ac_status); } >/dev/null; then
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2374 if test -s conftest.err; then
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2375 ac_cpp_err=$ac_c_preproc_warn_flag
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2376 else
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2377 ac_cpp_err=
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2378 fi
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2379 else
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2380 ac_cpp_err=yes
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2381 fi
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2382 if test -z "$ac_cpp_err"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2383 ac_cv_header_stdc=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2384 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2385 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2386 cat conftest.$ac_ext >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2387 ac_cv_header_stdc=no
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2388 fi
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2389 rm -f conftest.err conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2390
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2391 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2392 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2393 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2394 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2395 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2396 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2397
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2398 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2400 egrep "memchr" >/dev/null 2>&1; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2401 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2402 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2403 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2404 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2405 rm -f conftest*
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2406
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2407 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2408
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2409 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2410 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2411 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2412 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2413 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2414 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2415
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2416 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2418 egrep "free" >/dev/null 2>&1; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2419 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2420 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2421 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2422 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2423 rm -f conftest*
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2424
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2425 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2426
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2427 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2429 if test "$cross_compiling" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2430 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2431 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2432 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2433 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2434 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2435 #include <ctype.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2436 #if ((' ' & 0x0FF) == 0x020)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2439 #else
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2440 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2441 || ('j' <= (c) && (c) <= 'r') \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2442 || ('s' <= (c) && (c) <= 'z'))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2443 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2444 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2445
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2446 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2447 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2448 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2449 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2450 int i;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2451 for (i = 0; i < 256; i++)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2452 if (XOR (islower (i), ISLOWER (i))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2453 || toupper (i) != TOUPPER (i))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2454 exit(2);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2455 exit (0);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2456 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2457 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2458 rm -f conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2460 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2461 ac_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
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2465 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2466 ac_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
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2468 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2469 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2470 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2471 echo "$as_me: program exited with status $ac_status" >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2472 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2473 cat conftest.$ac_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
2474 ( exit $ac_status )
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2475 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2476 fi
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2477 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2478 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2479 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2480 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
2481 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2482 echo "${ECHO_T}$ac_cv_header_stdc" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2483 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2484
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2485 cat >>confdefs.h <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2486 #define STDC_HEADERS 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
2487 _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
2488
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2489 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
2490
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2491
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2492
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2493
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2494
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2495
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2496 ac_header_dirent=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2497 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2498 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_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
2499 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2500 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2503 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2504 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2505 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2506 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2507 #include <sys/types.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2508 #include <$ac_hdr>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2509
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2510 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2511 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2512 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2513 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2514 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2515 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2516 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2517 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2518 {
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2519 if ((DIR *) 0)
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2520 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2521 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2522 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2523 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2524 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2525 rm -f conftest.$ac_objext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2527 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2528 ac_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
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2530 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2531 { ac_try='test -s conftest.$ac_objext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2533 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2534 ac_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
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2536 (exit $ac_status); }; }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2537 eval "$as_ac_Header=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2538 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2539 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2540 cat conftest.$ac_ext >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2541 eval "$as_ac_Header=no"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2542 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2543 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2544 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
2545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2547 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
2548 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2549 #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
2550 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2551
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2552 ac_header_dirent=$ac_hdr; break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2553 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2554
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2555 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2556 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2557 if test $ac_header_dirent = dirent.h; 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
2558 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2559 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2560 if test "${ac_cv_search_opendir+set}" = set; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2562 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
2563 ac_func_search_save_LIBS=$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
2564 ac_cv_search_opendir=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2565 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2566 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2567 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2568
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2569 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2570 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2571 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2572 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2573 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2574 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2575 char opendir ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2576 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2577 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2578 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2579 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2580 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2581 #endif
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2582 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
2583 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
2584 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2585 opendir ();
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2586 ;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2587 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
2588 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2589 _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
2590 rm -f conftest.$ac_objext conftest$ac_exeext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2592 (eval $ac_link) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2593 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2595 (exit $ac_status); } &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2596 { ac_try='test -s conftest$ac_exeext'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2598 (eval $ac_try) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2599 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2601 (exit $ac_status); }; }; 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
2602 ac_cv_search_opendir="none required"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2603 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
2604 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2605 cat conftest.$ac_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
2606 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
2607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2608 if test "$ac_cv_search_opendir" = no; 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
2609 for ac_lib in dir; 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
2610 LIBS="-l$ac_lib $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
2611 cat >conftest.$ac_ext <<_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
2612 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2613 #include "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
2614
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2615 /* Override any gcc2 internal prototype to avoid an error. */
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2616 #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
2617 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
2618 #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
2619 /* We use char because int might match the return type of a gcc2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2620 builtin and then its argument prototype would still apply. */
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2621 char opendir ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2622 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2623 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2624 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2625 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2626 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2627 #endif
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2628 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
2629 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
2630 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2631 opendir ();
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2632 ;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2633 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
2634 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2635 _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
2636 rm -f conftest.$ac_objext conftest$ac_exeext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2638 (eval $ac_link) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2639 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2641 (exit $ac_status); } &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2642 { ac_try='test -s conftest$ac_exeext'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2644 (eval $ac_try) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2645 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2647 (exit $ac_status); }; }; 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
2648 ac_cv_search_opendir="-l$ac_lib"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2649 break
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2650 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
2651 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2652 cat conftest.$ac_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
2653 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
2654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2655 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
2656 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
2657 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
2658 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
2659 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2660 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2661 if test "$ac_cv_search_opendir" != no; 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
2662 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $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
2663
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2664 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
2665
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2666 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
2667 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2668 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2669 if test "${ac_cv_search_opendir+set}" = set; 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
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2671 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
2672 ac_func_search_save_LIBS=$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
2673 ac_cv_search_opendir=no
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2674 cat >conftest.$ac_ext <<_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
2675 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2676 #include "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
2677
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2678 /* Override any gcc2 internal prototype to avoid an error. */
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2679 #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
2680 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
2681 #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
2682 /* We use char because int might match the return type of a gcc2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2683 builtin and then its argument prototype would still apply. */
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2684 char opendir ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2685 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2686 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2687 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2688 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2689 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2690 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2691 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2692 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2693 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2694 opendir ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2695 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2696 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2697 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2698 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2699 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2701 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2702 ac_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
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2704 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2705 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2707 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2708 ac_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
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2710 (exit $ac_status); }; }; 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
2711 ac_cv_search_opendir="none required"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2712 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2713 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2714 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2715 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2716 rm -f conftest.$ac_objext 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
2717 if test "$ac_cv_search_opendir" = no; 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
2718 for ac_lib in x; 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
2719 LIBS="-l$ac_lib $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
2720 cat >conftest.$ac_ext <<_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
2721 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2722 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2723
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2724 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2725 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2726 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2727 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2728 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2729 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2730 char opendir ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2731 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2732 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2733 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2734 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2735 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2736 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2737 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2738 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2739 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2740 opendir ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2741 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2742 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2743 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2744 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2745 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2747 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2748 ac_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
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2750 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2751 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2753 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2754 ac_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
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2756 (exit $ac_status); }; }; 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
2757 ac_cv_search_opendir="-l$ac_lib"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2758 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2759 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2760 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2761 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2762 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2763 rm -f conftest.$ac_objext 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
2764 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
2765 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
2766 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
2767 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
2768 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2769 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2770 if test "$ac_cv_search_opendir" != no; 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
2771 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $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
2772
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2773 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
2774
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2775 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
2776
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2778
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2779
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2780
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2781
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2782
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2783
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2784
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2785
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2786
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h 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
2788 inttypes.h stdint.h unistd.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2789 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_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
2791 echo "$as_me:$LINENO: checking for $ac_header" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2794 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2795 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2796 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2797 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2798 #include "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
2799 $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
2800
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2801 #include <$ac_header>
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2802 _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
2803 rm -f conftest.$ac_objext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2805 (eval $ac_compile) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2806 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2808 (exit $ac_status); } &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2809 { ac_try='test -s conftest.$ac_objext'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2811 (eval $ac_try) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2812 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2814 (exit $ac_status); }; }; 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
2815 eval "$as_ac_Header=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
2816 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
2817 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2818 cat conftest.$ac_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
2819 eval "$as_ac_Header=no"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2820 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
2821 rm -f conftest.$ac_objext conftest.$ac_ext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2822 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
2823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2825 if test `eval echo '${'$as_ac_Header'}'` = yes; 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
2826 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
2827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2828 _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
2829
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2830 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
2831
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2832 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
2833
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2834
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2835
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2836 for ac_header in 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
2837 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
2838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2839 if eval "test \"\${$as_ac_Header+set}\" = set"; 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
2840 echo "$as_me:$LINENO: checking for $ac_header" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2842 if eval "test \"\${$as_ac_Header+set}\" = set"; 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
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2844 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
2845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2847 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
2848 # Is the header compilable?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2851 cat >conftest.$ac_ext <<_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
2852 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2853 #include "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
2854 $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
2855 #include <$ac_header>
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2856 _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
2857 rm -f conftest.$ac_objext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2859 (eval $ac_compile) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2860 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2862 (exit $ac_status); } &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2863 { ac_try='test -s conftest.$ac_objext'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2865 (eval $ac_try) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2866 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2868 (exit $ac_status); }; }; 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
2869 ac_header_compiler=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
2870 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
2871 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2872 cat conftest.$ac_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
2873 ac_header_compiler=no
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2874 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
2875 rm -f conftest.$ac_objext conftest.$ac_ext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2877 echo "${ECHO_T}$ac_header_compiler" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2878
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2879 # Is the header present?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2882 cat >conftest.$ac_ext <<_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
2883 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2884 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2885 #include <$ac_header>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2886 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2889 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2890 egrep -v '^ *\+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2891 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2892 cat conftest.err >&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
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2894 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2895 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2896 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2897 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2898 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2899 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2900 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2901 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2902 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2903 if test -z "$ac_cpp_err"; 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
2904 ac_header_preproc=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2905 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2906 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2907 cat conftest.$ac_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
2908 ac_header_preproc=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2909 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2910 rm -f conftest.err 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
2911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2912 echo "${ECHO_T}$ac_header_preproc" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2913
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2914 # So? What about this header?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2915 case $ac_header_compiler:$ac_header_preproc 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
2916 yes:no )
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&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
2919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&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
2921 no: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
2922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&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
2924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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
2926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&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
2928 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
2929 echo "$as_me:$LINENO: checking for $ac_header" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2931 if eval "test \"\${$as_ac_Header+set}\" = set"; 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
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2933 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
2934 eval "$as_ac_Header=$ac_header_preproc"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2935 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
2936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&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
2938
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2939 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2940 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
2941 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2942 #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
2943 _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
2944
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2945 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
2946
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2947 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2948
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2949
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2950 for ac_header in sys/stat.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2951 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_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
2953 if eval "test \"\${$as_ac_Header+set}\" = set"; 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
2954 echo "$as_me:$LINENO: checking for $ac_header" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2957 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
2958 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
2959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2961 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
2962 # Is the header compilable?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2965 cat >conftest.$ac_ext <<_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
2966 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2967 #include "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
2968 $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
2969 #include <$ac_header>
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2970 _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
2971 rm -f conftest.$ac_objext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2973 (eval $ac_compile) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2974 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2976 (exit $ac_status); } &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2977 { ac_try='test -s conftest.$ac_objext'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2979 (eval $ac_try) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2980 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2982 (exit $ac_status); }; }; 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
2983 ac_header_compiler=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
2984 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
2985 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2986 cat conftest.$ac_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
2987 ac_header_compiler=no
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2988 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
2989 rm -f conftest.$ac_objext conftest.$ac_ext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2991 echo "${ECHO_T}$ac_header_compiler" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2992
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2993 # Is the header present?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2996 cat >conftest.$ac_ext <<_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
2997 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
2998 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2999 #include <$ac_header>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3000 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3003 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3004 egrep -v '^ *\+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3005 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3006 cat conftest.err >&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
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3008 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3009 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3010 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3011 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3012 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3013 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3014 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3015 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3016 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3017 if test -z "$ac_cpp_err"; 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
3018 ac_header_preproc=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3019 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3020 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3021 cat conftest.$ac_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
3022 ac_header_preproc=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3023 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3024 rm -f conftest.err 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
3025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3026 echo "${ECHO_T}$ac_header_preproc" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3027
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3028 # So? What about this header?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3029 case $ac_header_compiler:$ac_header_preproc 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
3030 yes:no )
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&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
3033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&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
3035 no: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
3036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&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
3038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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
3040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&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
3042 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
3043 echo "$as_me:$LINENO: checking for $ac_header" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3045 if eval "test \"\${$as_ac_Header+set}\" = set"; 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
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3047 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
3048 eval "$as_ac_Header=$ac_header_preproc"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3049 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
3050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&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
3052
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3053 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3054 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
3055 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3056 #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
3057 _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
3058
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3059 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
3060
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3061 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3062
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3063
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3064
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3065 for ac_func in pipe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3066 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_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
3068 echo "$as_me:$LINENO: checking for $ac_func" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3070 if eval "test \"\${$as_ac_var+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3072 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3073 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3074 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3075 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3076 /* System header to define __stub macros and hopefully few prototypes,
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3077 which can conflict with char $ac_func (); below. */
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3078 #include <assert.h>
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3079 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3080 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3081 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3082 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3083 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3084 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3085 char $ac_func ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3086 char (*f) ();
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3087
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3088 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3089 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3090 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3091 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3092 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3093 #endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3094 int
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3095 main ()
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3096 {
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3097 /* The GNU C library defines this for functions which it implements
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3098 to always fail with ENOSYS. Some functions are actually named
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3099 something starting with __ and the normal name is an alias. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3101 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3102 #else
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3103 f = $ac_func;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3104 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3105
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3106 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3107 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3108 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3109 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3110 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3112 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3113 ac_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
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3115 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3116 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW 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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3118 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3119 ac_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
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3121 (exit $ac_status); }; }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3122 eval "$as_ac_var=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3123 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3124 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3125 cat conftest.$ac_ext >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3126 eval "$as_ac_var=no"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3127 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3129 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
3130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3132 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
3133 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3134 #define `echo "HAVE_$ac_func" | $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
3135 _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
3136
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3137 cat >>confdefs.h <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3138 #define HAVE_PIPE 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
3139 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3140
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3141 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3142 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3143
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3144
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3145
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3146 for ac_func in connect
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3147 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_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
3149 echo "$as_me:$LINENO: checking for $ac_func" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3151 if eval "test \"\${$as_ac_var+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3152 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3153 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3154 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3155 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3156 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3157 /* System header to define __stub macros and hopefully few prototypes,
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3158 which can conflict with char $ac_func (); below. */
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3159 #include <assert.h>
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3160 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3161 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3162 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3163 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3164 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3165 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3166 char $ac_func ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3167 char (*f) ();
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3168
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3169 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3170 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3171 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3172 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3173 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3174 #endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3175 int
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3176 main ()
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3177 {
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3178 /* The GNU C library defines this for functions which it implements
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3179 to always fail with ENOSYS. Some functions are actually named
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3180 something starting with __ and the normal name is an alias. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3182 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3183 #else
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3184 f = $ac_func;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3185 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3186
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3187 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3188 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3189 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3190 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3191 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3193 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3194 ac_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
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3196 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3197 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3199 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3200 ac_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
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3202 (exit $ac_status); }; }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3203 eval "$as_ac_var=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3204 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3205 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3206 cat conftest.$ac_ext >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3207 eval "$as_ac_var=no"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3208 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3210 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
3211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3213 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
3214 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3215 #define `echo "HAVE_$ac_func" | $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
3216 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3217
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3218 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3219 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3220
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3221 if test x"$ac_cv_func_connect" = x"no"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3222 if test -z "$libsocket"; 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
3223 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3224 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3225 if test "${ac_cv_lib_socket_socket+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3227 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3228 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3229 LIBS="-lsocket $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3230 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3231 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3232 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3233
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3234 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3235 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3236 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3237 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3238 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3239 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3240 char socket ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3241 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3242 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3243 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3244 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3245 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3246 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3247 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3248 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3249 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3250 socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3251 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3252 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3253 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3254 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3255 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3257 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3258 ac_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
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3260 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3261 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3263 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3264 ac_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
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3266 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3267 ac_cv_lib_socket_socket=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3268 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3269 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3270 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3271 ac_cv_lib_socket_socket=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3272 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3274 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3275 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
3276 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3277 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3278 if test $ac_cv_lib_socket_socket = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3279 LIBS="$LIBS -lsocket"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3280 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3281
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3282 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3283
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3284 if test -z "$libinet"; 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
3285 echo "$as_me:$LINENO: checking for socket in -linet" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3286 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3287 if test "${ac_cv_lib_inet_socket+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3288 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3289 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3290 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3291 LIBS="-linet $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3292 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3293 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3294 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3295
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3296 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3297 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3298 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3299 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3300 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3301 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3302 char socket ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3303 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3304 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3305 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3306 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3307 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3308 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3309 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3310 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3311 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3312 socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3313 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3314 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3315 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3316 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3317 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3319 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3320 ac_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
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3322 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3323 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3325 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3326 ac_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
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3328 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3329 ac_cv_lib_inet_socket=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3330 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3331 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3332 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3333 ac_cv_lib_inet_socket=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3334 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3335 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3336 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3337 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
3338 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3339 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3340 if test $ac_cv_lib_inet_socket = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3341 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3342 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3343
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3344 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3345
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3346 if test -z "$libnsl"; 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
3347 echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3348 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3349 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3351 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3352 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3353 LIBS="-lnsl $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3354 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3355 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3356 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3357
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3358 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3359 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3360 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3361 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3362 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3363 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3364 char gethostname ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3365 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3366 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3367 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3368 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3369 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3370 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3371 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3372 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3373 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3374 gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3375 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3376 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3377 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3378 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3379 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3381 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3382 ac_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
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3384 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3385 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3387 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3388 ac_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
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3390 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3391 ac_cv_lib_nsl_gethostname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3392 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3393 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3394 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3395 ac_cv_lib_nsl_gethostname=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3396 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3398 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3399 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
3400 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3401 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3402 if test $ac_cv_lib_nsl_gethostname = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3403 LIBS="$LIBS -lnsl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3404 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3405
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3406 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3407 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3408
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3409 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3410 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3411 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3413 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3414 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3415 LIBS="-lsun $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3416 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3417 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3418 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3419
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3420 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3421 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3422 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3423 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3424 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3425 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3426 char getpwnam ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3427 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3428 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3429 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3430 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3431 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3432 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3433 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3434 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3435 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3436 getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3437 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3438 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3439 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3440 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3441 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3443 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3444 ac_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
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3446 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3447 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3449 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3450 ac_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
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3452 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3453 ac_cv_lib_sun_getpwnam=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3454 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3455 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3456 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3457 ac_cv_lib_sun_getpwnam=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3458 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3460 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3461 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
3462 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3463 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3464 if test $ac_cv_lib_sun_getpwnam = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3465 LIBS="$LIBS -lsun"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3466 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3467
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3468 echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3469 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3470 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3472 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3473 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3474 LIBS="-ldgc $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3475 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3476 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3477 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3478
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3479 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3480 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3481 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3482 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3483 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3484 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3485 char inet_addr ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3486 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3487 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3488 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3489 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3490 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3491 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3492 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3493 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3494 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3495 inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3496 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3497 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3498 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3499 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3500 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3502 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3503 ac_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
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3505 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3506 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3508 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3509 ac_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
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3511 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3512 ac_cv_lib_dgc_inet_addr=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3513 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3514 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3515 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3516 ac_cv_lib_dgc_inet_addr=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3517 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3519 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3520 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
3521 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3522 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3523 if test $ac_cv_lib_dgc_inet_addr = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3524 LIBS="$LIBS -ldgc"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3525 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3526
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3527 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3528 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3529 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3531 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3532 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3533 LIBS="-lresolv $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3534 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3535 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3536 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3537
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3538 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3539 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3540 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3541 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3542 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3543 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3544 char gethostbyname ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3545 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3546 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3547 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3548 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3549 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3550 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3551 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3552 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3553 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3554 gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3555 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3556 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3557 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3558 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3559 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3561 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3562 ac_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
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3564 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3565 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3567 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3568 ac_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
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3570 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3571 ac_cv_lib_resolv_gethostbyname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3572 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3573 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3574 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3575 ac_cv_lib_resolv_gethostbyname=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3576 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3578 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3579 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
3580 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3581 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3582 if test $ac_cv_lib_resolv_gethostbyname = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3583 LIBS="$LIBS -lresolv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3584 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3585
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3586
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3587 OPSYSTEM=`uname -s`
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3588
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3589 if test $OPSYSTEM = "Darwin"; then
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3590 DW_SRC=mac
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3591 DW_DEFINE=__MAC__
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
3592 SHAREDFLAG=-dynamiclib
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
3593 SOSUFFIX=dylib
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3594 LIBS="$LIBS -framework Carbon"
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3595 else
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3596 # 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
3597 set dummy pkg-config; ac_word=$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
3598 echo "$as_me:$LINENO: checking for $ac_word" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3600 if test "${ac_cv_prog_PKG_CFG+set}" = set; 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
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3602 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
3603 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
3604 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
3605 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
3606 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
3607 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
3608 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
3609 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
3610 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3611 for ac_exec_ext in '' $ac_executable_extensions; 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
3612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
3613 ac_cv_prog_PKG_CFG="pkg-config"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3615 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
3616 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
3617 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
3618 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
3619
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3620 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
3621 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
3622 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
3623 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
3624 echo "$as_me:$LINENO: result: $PKG_CFG" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3625 echo "${ECHO_T}$PKG_CFG" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3626 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
3627 echo "$as_me:$LINENO: result: no" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3628 echo "${ECHO_T}no" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3629 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
3630
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3631 if test x"$PKG_CFG" != x; then
588
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3632 GTK_LIBS=`$PKG_CFG --silence-errors --libs gtk+-2.0 gthread-2.0`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3633 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs firefox-gtkmozembed`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3634 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags firefox-gtkmozembed`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3635 RPATH=`$PKG_CFG --silence-errors --libs-only-L firefox-gtkmozembed | cut -b 3-`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3636 if test x"$MOZEMBED_LIBS" = x; then
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3637 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs mozilla-gtkmozembed`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3638 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags mozilla-gtkmozembed`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3639 RPATH=`$PKG_CFG --silence-errors --libs-only-L mozilla-gtkmozembed | cut -b 3-`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3640 fi
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3641 if test x"$RPATH" != x; then
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3642 RPATH="-Wl,-R$RPATH"
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
3643 fi
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3644 fi
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3645
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3646 if test x"$GTK_LIBS" = x; 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
3647
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3648 # Check whether --with-glib-prefix or --without-glib-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3649 if test "${with_glib_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3650 withval="$with_glib_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3651 glib_config_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3652 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3653 glib_config_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3654 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3655
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3656 # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3657 if test "${with_glib_exec_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3658 withval="$with_glib_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3659 glib_config_exec_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3660 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3661 glib_config_exec_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3662 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3663 # Check whether --enable-glibtest or --disable-glibtest was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3664 if test "${enable_glibtest+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3665 enableval="$enable_glibtest"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3666
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3667 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3668 enable_glibtest=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3669 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3670
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3671 if test x$glib_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3672 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3673 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3674 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3675 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3676 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3677 if test x$glib_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3678 glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3679 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3680 GLIB_CONFIG=$glib_config_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3681 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3682 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3683
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3684 for module in .
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3685 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3686 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3687 gmodule)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3688 glib_config_args="$glib_config_args gmodule"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3689 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3690 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3691 glib_config_args="$glib_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3692 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3693 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3694 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3695
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3696 # Extract the first word of "glib-config", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3697 set dummy glib-config; ac_word=$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
3698 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3700 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3702 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3703 case $GLIB_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3704 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3705 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3706 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3707 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3708 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
3709 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
3710 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
3711 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
3712 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3713 for ac_exec_ext in '' $ac_executable_extensions; 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
3714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
3715 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3717 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
3718 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
3719 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3720 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3721
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3722 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3723 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3724 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3725 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3726 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3727
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3728 if test -n "$GLIB_CONFIG"; 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
3729 echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3730 echo "${ECHO_T}$GLIB_CONFIG" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3731 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
3732 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3733 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3734 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3735
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3736 min_glib_version=1.2.0
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3737 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3738 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3739 no_glib=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3740 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3741 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3742 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3743 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3744 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3745 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3746 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3747 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3748 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3749 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3751 if test "x$enable_glibtest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3752 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3753 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3754 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3755 LIBS="$GLIB_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3756 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3757 if test "$cross_compiling" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3758 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3759 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3760 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3761 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3762 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3763
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3764 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3765 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3766 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3767
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3768 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3769 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3770 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3771 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3772 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3773
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3774 system ("touch conf.glibtest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3775
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3776 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3777 tmp_version = g_strdup("$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3778 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3779 printf("%s, bad version string\n", "$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3780 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3781 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3782
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3783 if ((glib_major_version != $glib_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3784 (glib_minor_version != $glib_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3785 (glib_micro_version != $glib_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3786 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3787 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3788 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3789 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3790 printf ("*** was found! If glib-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3791 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3792 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3793 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3794 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3795 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3796 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3797 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3798 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3799 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3800 (glib_minor_version != GLIB_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3801 (glib_micro_version != GLIB_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3802 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3803 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3804 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3805 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3806 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3807 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3808 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3809 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3810 if ((glib_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3811 ((glib_major_version == major) && (glib_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3812 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3813 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3814 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3815 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3816 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3817 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3818 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3819 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3820 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3821 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3822 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3823 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3824 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3825 printf("*** probably means that the wrong copy of the glib-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3826 printf("*** being found. The easiest way to fix this is to remove the old version\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3827 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3828 printf("*** correct copy of glib-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3829 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3830 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3831 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3832 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3833 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3834 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3835
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3836 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3837 rm -f conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3839 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3840 ac_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
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3844 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3845 ac_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
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3847 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3848 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3849 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3850 echo "$as_me: program exited with status $ac_status" >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3851 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3852 cat conftest.$ac_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
3853 ( exit $ac_status )
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3854 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3855 fi
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3856 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3857 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3858 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3859 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3860 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3861 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3862 if test "x$no_glib" = x ; 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
3863 echo "$as_me:$LINENO: result: yes" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3864 echo "${ECHO_T}yes" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3865 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3866 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
3867 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3868 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3869 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3870 echo "*** The glib-config script installed by GLIB could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3871 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3872 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3873 echo "*** full path to glib-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3874 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3875 if test -f conf.glibtest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3876 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3877 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3878 echo "*** Could not run GLIB test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3879 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3880 LIBS="$LIBS $GLIB_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3881 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3882 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3883 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3884
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3885 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3886 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3887
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3888 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3889 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3890 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3891 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3892 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3893 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3894 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3895 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3896 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3897 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3898 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3899 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3900 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3901 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3902 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3904 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3905 ac_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
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3907 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3908 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3910 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3911 ac_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
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3913 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3914 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3915 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3916 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3917 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3918 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3919 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3920 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3921 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3922 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3923 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3924 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
3925 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3926 echo "*** The test program failed to compile or link. See the file config.log for the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3927 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3928 echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3929 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3930 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3932 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3933 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3934 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3935 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3936 GLIB_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3937 GLIB_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
3938 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3939 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3940 { (exit 1); exit 1; }; }" >&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
3941 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3942 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3943 { (exit 1); exit 1; }; }" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3944 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3945 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3946
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3947
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3948 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3949
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3950
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3951 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3952 if test "${with_gtk_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3953 withval="$with_gtk_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3954 gtk_config_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3955 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3956 gtk_config_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3957 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3958
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3959 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3960 if test "${with_gtk_exec_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3961 withval="$with_gtk_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3962 gtk_config_exec_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3963 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3964 gtk_config_exec_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3965 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3966 # Check whether --enable-gtktest or --disable-gtktest was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3967 if test "${enable_gtktest+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3968 enableval="$enable_gtktest"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3969
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3970 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3971 enable_gtktest=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3972 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3973
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3974 for module in . gthread
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3975 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3976 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3977 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3978 gtk_config_args="$gtk_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3979 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3980 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3981 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3982
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3983 if test x$gtk_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3984 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3985 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3986 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3987 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3988 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3989 if test x$gtk_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3990 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3991 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3992 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3993 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3994 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3995
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3996 # Extract the first word of "gtk-config", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3997 set dummy gtk-config; ac_word=$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
3998 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4000 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4002 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4003 case $GTK_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4004 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4005 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4006 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4007 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4008 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
4009 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
4010 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
4011 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
4012 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4013 for ac_exec_ext in '' $ac_executable_extensions; 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
4014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; 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
4015 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4017 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
4018 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
4019 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4020 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4021
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4022 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4023 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4024 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4025 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4026 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4027
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4028 if test -n "$GTK_CONFIG"; 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
4029 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4030 echo "${ECHO_T}$GTK_CONFIG" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4031 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
4032 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4033 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4034 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4035
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4036 min_gtk_version=1.2.0
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4037 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4038 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4039 no_gtk=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4040 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4041 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4042 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4043 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4044 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4045 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4047 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4049 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4051 if test "x$enable_gtktest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4052 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4053 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4054 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4055 LIBS="$GTK_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4056 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4057 if test "$cross_compiling" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4058 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4059 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4060 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4061 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4062 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4063
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4064 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4065 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4066 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4067
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4068 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4069 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4070 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4071 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4072 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4073
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4074 system ("touch conf.gtktest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4075
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4076 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4077 tmp_version = g_strdup("$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4078 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4079 printf("%s, bad version string\n", "$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4080 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4081 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4082
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4083 if ((gtk_major_version != $gtk_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4084 (gtk_minor_version != $gtk_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4085 (gtk_micro_version != $gtk_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4086 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4087 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4089 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4090 printf ("*** was found! If gtk-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4091 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4093 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4094 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4095 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4096 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4097 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4098 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4101 (gtk_minor_version != GTK_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4102 (gtk_micro_version != GTK_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4103 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4104 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4106 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4107 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4108 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4109 #endif /* defined (GTK_MAJOR_VERSION) ... */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4110 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4111 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4112 if ((gtk_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4115 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4116 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4117 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4118 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4119 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4120 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4121 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4122 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4123 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4124 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4125 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4126 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4127 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4128 printf("*** being found. The easiest way to fix this is to remove the old version\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4129 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4130 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4131 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4132 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4133 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4134 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4135 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4136 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4137
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4138 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4139 rm -f conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4141 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4142 ac_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
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4146 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4147 ac_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
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4149 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4150 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4151 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4152 echo "$as_me: program exited with status $ac_status" >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4153 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4154 cat conftest.$ac_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
4155 ( exit $ac_status )
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4156 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4157 fi
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4158 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4159 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4160 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4161 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4162 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4163 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4164 if test "x$no_gtk" = x ; 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
4165 echo "$as_me:$LINENO: result: yes" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4166 echo "${ECHO_T}yes" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4167 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4168 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
4169 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4170 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4171 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4172 echo "*** The gtk-config script installed by GTK could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4173 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4174 echo "*** your path, or set the GTK_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4175 echo "*** full path to gtk-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4176 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4177 if test -f conf.gtktest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4178 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4179 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4180 echo "*** Could not run GTK test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4181 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4182 LIBS="$LIBS $GTK_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4183 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4184 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4185 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4186
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4187 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4188 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4189
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4190 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4191 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4192 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4193 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4194 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4195 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4196 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4197 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4198 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4199 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4200 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4201 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4202 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4203 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4204 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4206 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4207 ac_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
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4209 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4210 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4212 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4213 ac_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
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4215 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4216 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4217 echo "*** that the run-time linker is not finding GTK or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4218 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4219 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4220 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4221 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4222 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4223 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4224 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4225 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4226 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4227 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4228 echo "*** The test program failed to compile or link. See the file config.log for the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4229 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4230 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4231 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4232 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4234 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4235 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4236 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4237 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4238 GTK_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4239 GTK_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
4240 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4241 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4242 { (exit 1); exit 1; }; }" >&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
4243 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4244 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4245 { (exit 1); exit 1; }; }" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4246 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4247 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4248
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4249
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4250 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4251
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4252
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4253 # Check whether --with-imlib-prefix or --without-imlib-prefix was given.
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4254 if test "${with_imlib_prefix+set}" = set; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4255 withval="$with_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
4256 imlib_prefix="$withval"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4257 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4258 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
4259 fi;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4260
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4261 # Check whether --with-imlib-exec-prefix or --without-imlib-exec-prefix was given.
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4262 if test "${with_imlib_exec_prefix+set}" = set; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4263 withval="$with_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
4264 imlib_exec_prefix="$withval"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4265 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4266 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
4267 fi;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4268 # Check whether --enable-imlibtest or --disable-imlibtest was given.
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4269 if test "${enable_imlibtest+set}" = set; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4270 enableval="$enable_imlibtest"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4271
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4272 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4273 enable_imlibtest=yes
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4274 fi;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4275
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4276 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
4277 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
4278 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
4279 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
4280 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4281 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4282 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
4283 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
4284 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
4285 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
4286 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4287 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4288
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4289 # 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
4290 set dummy imlib-config; ac_word=$2
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4291 echo "$as_me:$LINENO: checking for $ac_word" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4293 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4295 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4296 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
4297 [\\/]* | ?:[\\/]*)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4298 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
4299 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4300 *)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4301 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
4302 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
4303 do
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4304 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
4305 test -z "$as_dir" && as_dir=.
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4306 for ac_exec_ext in '' $ac_executable_extensions; do
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4308 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4310 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
4311 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4312 done
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4313 done
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4314
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4315 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
4316 ;;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4317 esac
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4318 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4319 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
4320
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4321 if test -n "$IMLIB_CONFIG"; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4322 echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4323 echo "${ECHO_T}$IMLIB_CONFIG" >&6
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4324 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4325 echo "$as_me:$LINENO: result: no" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4326 echo "${ECHO_T}no" >&6
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4327 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4328
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4329 min_imlib_version=1.9.4
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4330 echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4331 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4332 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
4333 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
4334 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
4335 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4336 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
4337 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
4338
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4339 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
4340 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
4341 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
4342 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
4343 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
4344 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
4345 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
4346 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
4347 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
4348 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
4349 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
4350 rm -f conf.imlibtest
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4351 if test "$cross_compiling" = yes; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4352 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
4353 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4354 cat >conftest.$ac_ext <<_ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4355 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4356 #include "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
4357
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4358 #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
4359 #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
4360 #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
4361
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4362 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
4363 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4364 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
4365 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
4366
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4367 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
4368
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4369 /* 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
4370 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
4371 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4372 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
4373 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
4374 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4375
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4376 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
4377 (($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
4378 (($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
4379 ($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
4380 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4381 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
4382 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4383 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4384 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4385 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
4386 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
4387 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
4388 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
4389 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
4390 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
4391 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
4392 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4393 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4394
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4395
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4396 _ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4397 rm -f conftest$ac_exeext
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4399 (eval $ac_link) 2>&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4400 ac_status=$?
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4404 (eval $ac_try) 2>&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4405 ac_status=$?
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4407 (exit $ac_status); }; }; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4408 :
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4409 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4410 echo "$as_me: program exited with status $ac_status" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4411 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4412 cat conftest.$ac_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
4413 ( exit $ac_status )
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4414 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
4415 fi
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4416 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 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
4417 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4418 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
4419 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
4420 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4421 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4422 if test "x$no_imlib" = 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
4423 echo "$as_me:$LINENO: result: yes" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4424 echo "${ECHO_T}yes" >&6
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4425 cat >>confdefs.h <<\_ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4426 #define USE_IMLIB 1
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4427 _ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4428
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4429 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4430 echo "$as_me:$LINENO: result: no" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4431 echo "${ECHO_T}no" >&6
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4432 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
4433 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
4434 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
4435 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
4436 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
4437 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4438 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
4439 :
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4440 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4441 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
4442 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
4443 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
4444 cat >conftest.$ac_ext <<_ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4445 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4446 #include "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
4447
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4448 #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
4449 #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
4450
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4451 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4452 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4453 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4454 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4455 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4456 #endif
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4457 int
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4458 main ()
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4459 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4460 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
4461 ;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4462 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
4463 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4464 _ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4465 rm -f conftest.$ac_objext conftest$ac_exeext
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4467 (eval $ac_link) 2>&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4468 ac_status=$?
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4470 (exit $ac_status); } &&
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4471 { ac_try='test -s conftest$ac_exeext'
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4473 (eval $ac_try) 2>&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4474 ac_status=$?
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4476 (exit $ac_status); }; }; then
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4477 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
4478 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
4479 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
4480 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
4481 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
4482 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
4483 echo "***"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4484 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
4485 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
4486 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4487 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4488 cat conftest.$ac_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
4489 echo "*** The test program failed to compile or link. See the file config.log for the"
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4490 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
4491 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
4492 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
4493 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4494 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4495 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
4496 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
4497 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4498 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4499 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
4500 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
4501 { { echo "$as_me:$LINENO: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4502 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;}
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4503 { (exit 1); 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
4504 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4505
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4506
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4507 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
4508
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4509 else
588
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4510 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0`
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4511 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0`
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4512 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
4513 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
4514
7d2108cbcd3e Porting DW 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 if test "${ac_cv_header_pthread_h+set}" = set; 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
4516 echo "$as_me:$LINENO: checking for pthread.h" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4517 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4518 if test "${ac_cv_header_pthread_h+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4519 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
4520 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
4521 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4522 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4523 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
4524 # Is the header compilable?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4525 echo "$as_me:$LINENO: checking pthread.h usability" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4526 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4527 cat >conftest.$ac_ext <<_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
4528 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4529 #include "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
4530 $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
4531 #include <pthread.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
4532 _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
4533 rm -f conftest.$ac_objext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4535 (eval $ac_compile) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4536 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4538 (exit $ac_status); } &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4539 { ac_try='test -s conftest.$ac_objext'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4541 (eval $ac_try) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4542 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4544 (exit $ac_status); }; }; 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
4545 ac_header_compiler=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
4546 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
4547 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4548 cat conftest.$ac_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
4549 ac_header_compiler=no
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4550 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
4551 rm -f conftest.$ac_objext conftest.$ac_ext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4553 echo "${ECHO_T}$ac_header_compiler" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4554
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4555 # Is the header present?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4556 echo "$as_me:$LINENO: checking pthread.h presence" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4557 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4558 cat >conftest.$ac_ext <<_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
4559 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4560 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4561 #include <pthread.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4562 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4565 ac_status=$?
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4566 egrep -v '^ *\+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4567 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4568 cat conftest.err >&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
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4570 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4571 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4572 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4573 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4574 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4575 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4576 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4577 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4578 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4579 if test -z "$ac_cpp_err"; 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
4580 ac_header_preproc=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4581 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4582 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4583 cat conftest.$ac_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
4584 ac_header_preproc=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4585 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4586 rm -f conftest.err 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
4587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4588 echo "${ECHO_T}$ac_header_preproc" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4589
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4590 # So? What about this header?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4591 case $ac_header_compiler:$ac_header_preproc 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
4592 yes:no )
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4593 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4594 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&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
4595 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4596 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&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
4597 no: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
4598 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4599 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&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
4600 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4601 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&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
4602 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4603 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&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
4604 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
4605 echo "$as_me:$LINENO: checking for pthread.h" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4606 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4607 if test "${ac_cv_header_pthread_h+set}" = set; 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
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4609 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
4610 ac_cv_header_pthread_h=$ac_header_preproc
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4611 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
4612 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4613 echo "${ECHO_T}$ac_cv_header_pthread_h" >&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
4614
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4615 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4616 if test $ac_cv_header_pthread_h = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4617 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4618 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
4619 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4620 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4621 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4622 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4623
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4624
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4625 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4626 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4627 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4629 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4630 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4631 LIBS="-lpthread $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4632 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4633 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4634 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4635
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4636 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4637 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4638 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4639 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4640 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4641 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4642 char pthread_attr_init ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4643 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4644 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4645 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4646 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4647 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4648 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4649 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4650 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4651 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4652 pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4653 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4654 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4655 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4656 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4657 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4659 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4660 ac_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
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4662 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4663 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4665 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4666 ac_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
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4668 (exit $ac_status); }; }; 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
4669 ac_cv_lib_pthread_pthread_attr_init=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
4670 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
4671 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4672 cat conftest.$ac_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
4673 ac_cv_lib_pthread_pthread_attr_init=no
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4674 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
4675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4676 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
4677 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
4678 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4679 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4680 if test $ac_cv_lib_pthread_pthread_attr_init = yes; 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
4681 PTHREAD_LIBS="-lpthread"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4682 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
4683 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4684 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4685 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; 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
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4687 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
4688 ac_check_lib_save_LIBS=$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
4689 LIBS="-lpthreads $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
4690 cat >conftest.$ac_ext <<_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
4691 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4692 #include "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
4693
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4694 /* Override any gcc2 internal prototype to avoid an error. */
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4695 #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
4696 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
4697 #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
4698 /* We use char because int might match the return type of a gcc2
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4699 builtin and then its argument prototype would still apply. */
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4700 char pthread_attr_init ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4701 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4702 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4703 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4704 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4705 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4706 #endif
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4707 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
4708 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
4709 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4710 pthread_attr_init ();
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4711 ;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4712 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
4713 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4714 _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
4715 rm -f conftest.$ac_objext conftest$ac_exeext
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4717 (eval $ac_link) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4718 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4720 (exit $ac_status); } &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4721 { ac_try='test -s conftest$ac_exeext'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4723 (eval $ac_try) 2>&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4724 ac_status=$?
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4726 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4727 ac_cv_lib_pthreads_pthread_attr_init=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4728 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4729 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4730 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4731 ac_cv_lib_pthreads_pthread_attr_init=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4732 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4733 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4734 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4735 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
4736 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4737 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4738 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4739 PTHREAD_LIBS="-lpthreads"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4740 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
4741 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4742 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4743 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4745 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4746 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4747 LIBS="-lc_r $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4748 cat >conftest.$ac_ext <<_ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4749 #line $LINENO "configure"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4750 #include "confdefs.h"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4751
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4752 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4753 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4754 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4755 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4756 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4757 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4758 char pthread_attr_init ();
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4759 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4760 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4761 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4762 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4763 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4764 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4765 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4766 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4767 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4768 pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4769 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4770 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4771 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4772 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4773 rm -f conftest.$ac_objext conftest$ac_exeext
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4775 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4776 ac_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
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4778 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4779 { ac_try='test -s conftest$ac_exeext'
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4781 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4782 ac_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
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4784 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4785 ac_cv_lib_c_r_pthread_attr_init=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4786 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4787 echo "$as_me: failed program was:" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4788 cat conftest.$ac_ext >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4789 ac_cv_lib_c_r_pthread_attr_init=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4790 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4792 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4793 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
4794 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4795 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4796 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4797 PTHREAD_LIBS="-lc_r"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4798 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
4799 { { echo "$as_me:$LINENO: error: pthread library not found. HandyFTP cannot build without it.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4800 " >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4801 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4802 " >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4803 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4804
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4805 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4806
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4807
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4808 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
4809
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4810
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4811 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
4812
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4813
588
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4814 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
4815
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4816 if test x"$MOZEMBED_LIBS" != x; then
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4817 SAVE_LIBS="$LIBS"
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4818 LIBS="$LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS"
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4819 echo "$as_me:$LINENO: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4820 echo $ECHO_N "checking for gtk_moz_embed_new in -lgtkembedmoz... $ECHO_C" >&6
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4821 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4823 else
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4824 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
4825 LIBS="-lgtkembedmoz $LIBS"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4826 cat >conftest.$ac_ext <<_ACEOF
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4827 #line $LINENO "configure"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4828 #include "confdefs.h"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4829
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4830 /* Override any gcc2 internal prototype to avoid an error. */
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4831 #ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4832 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4833 #endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4834 /* We use char because int might match the return type of a gcc2
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4835 builtin and then its argument prototype would still apply. */
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4836 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
4837 #ifdef F77_DUMMY_MAIN
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4838 # ifdef __cplusplus
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4839 extern "C"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4840 # endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4841 int F77_DUMMY_MAIN() { return 1; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4842 #endif
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4843 int
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4844 main ()
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4845 {
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4846 gtk_moz_embed_new ();
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4847 ;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4848 return 0;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4849 }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4850 _ACEOF
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4851 rm -f conftest.$ac_objext conftest$ac_exeext
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4853 (eval $ac_link) 2>&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4854 ac_status=$?
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4856 (exit $ac_status); } &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4857 { ac_try='test -s conftest$ac_exeext'
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4859 (eval $ac_try) 2>&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4860 ac_status=$?
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4862 (exit $ac_status); }; }; then
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4863 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
4864 else
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4865 echo "$as_me: failed program was:" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4866 cat conftest.$ac_ext >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4867 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4868 fi
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4870 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
4871 fi
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4872 echo "$as_me:$LINENO: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4873 echo "${ECHO_T}$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4874 if test $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new = yes; then
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4875 cat >>confdefs.h <<\_ACEOF
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4876 #define USE_GTKMOZEMBED 1
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4877 _ACEOF
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4878
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4879 fi
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4880
588
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4881 LIBS="$SAVE_LIBS"
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4882 fi
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4883
1b398af1ec38 Implemented dynamic loading of the Mozilla renderer.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 587
diff changeset
4884 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS"
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4885
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4886 RM="rm -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4887 LN="ln -s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4888 CP="cp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4889 MV="mv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4890 MKDIR="mkdir"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4891
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4892
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4893
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4894
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4895
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4896
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4897
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4898
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4899
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4900
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4901
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4902
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4903
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
4904
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4905 ac_config_files="$ac_config_files Makefile dw-config"
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4906
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4907 cat >confcache <<\_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4908 # This file is a shell script that caches the results of configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4909 # tests run on this system so they can be shared between configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4910 # scripts and configure runs, see configure's option --config-cache.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4911 # It is not useful on other systems. If it contains results you don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4912 # want to keep, you may remove or edit it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4913 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4914 # config.status only pays attention to the cache file if you give it
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4915 # the --recheck option to rerun configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4916 #
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4917 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4918 # loading this file, other *unset* `ac_cv_foo' will be assigned the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4919 # following values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4920
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4921 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4922
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4923 # The following way of writing the cache mishandles newlines in values,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4924 # but we know of no workaround that is simple, portable, and efficient.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4925 # So, don't put newlines in cache variables' values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4926 # Ultrix sh set writes to stderr and can't be redirected directly,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4927 # and sets the high bit in the cache file unless we assign to the vars.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4928 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4929 (set) 2>&1 |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4930 case `(ac_space=' '; set | grep ac_space) 2>&1` in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4931 *ac_space=\ *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4932 # `set' does not quote correctly, so add quotes (double-quote
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4933 # substitution turns \\\\ into \\, and sed turns \\ into \).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4934 sed -n \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4935 "s/'/'\\\\''/g;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4937 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4938 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4939 # `set' quotes correctly as required by POSIX, so do not add quotes.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4940 sed -n \
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
4941 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4942 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4943 esac;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4944 } |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4945 sed '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4946 t clear
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4947 : clear
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4949 t end
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4950 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4951 : end' >>confcache
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
4952 if cmp -s $cache_file confcache; then :; else
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4953 if test -w $cache_file; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4954 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4955 cat confcache >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4956 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4957 echo "not updating unwritable cache $cache_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4958 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4959 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4960 rm -f confcache
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4961
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4962 test "x$prefix" = xNONE && prefix=$ac_default_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4963 # Let make expand exec_prefix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4964 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4965
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4966 # VPATH may cause trouble with some makes, so we remove $(srcdir),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4967 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4968 # trailing colons and then remove the whole line if VPATH becomes empty
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4969 # (actually we leave an empty line to preserve line numbers).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4970 if test "x$srcdir" = x.; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4971 ac_vpsub='/^[ ]*VPATH[ ]*=/{
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4972 s/:*\$(srcdir):*/:/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4973 s/:*\${srcdir}:*/:/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4974 s/:*@srcdir@:*/:/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4975 s/^\([^=]*=[ ]*\):*/\1/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4976 s/:*$//;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4977 s/^[^=]*=[ ]*$//;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4978 }'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4979 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4980
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4981 DEFS=-DHAVE_CONFIG_H
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4982
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4983
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4984 : ${CONFIG_STATUS=./config.status}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4985 ac_clean_files_save=$ac_clean_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4986 ac_clean_files="$ac_clean_files $CONFIG_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
4987 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4988 echo "$as_me: creating $CONFIG_STATUS" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4989 cat >$CONFIG_STATUS <<_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4990 #! $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
4991 # Generated by $as_me.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4992 # Run this file to recreate the current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4993 # Compiler output produced by configure, useful for debugging
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4994 # configure, is in config.log if it exists.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4995
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4996 debug=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4997 SHELL=\${CONFIG_SHELL-$SHELL}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4998 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4999
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5000 cat >>$CONFIG_STATUS <<\_ACEOF
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5001
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5002 ## --------------------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5003 ## M4sh Initialization. ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5004 ## --------------------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5005
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5006 # Be Bourne compatible
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5007 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5008 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5009 NULLCMD=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5010 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5011 set -o posix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5012 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5013
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5014 # NLS nuisances.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5015 # Support unset when possible.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5016 if (FOO=FOO; unset FOO) >/dev/null 2>&1; 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
5017 as_unset=unset
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5018 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
5019 as_unset=false
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5020 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
5021
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5022 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5023 { $as_unset LANG || test "${LANG+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5024 { LANG=C; export LANG; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5025 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5026 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5027 { LC_ALL=C; export LC_ALL; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5028 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5029 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5030 { LC_TIME=C; export LC_TIME; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5031 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5032 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5033 { LC_CTYPE=C; export LC_CTYPE; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5034 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5035 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5036 { LANGUAGE=C; export LANGUAGE; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5037 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5038 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5039 { LC_COLLATE=C; export LC_COLLATE; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5040 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5041 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5042 { LC_NUMERIC=C; export LC_NUMERIC; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5043 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5044 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5045 { LC_MESSAGES=C; export LC_MESSAGES; }
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5046
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5047
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5048 # Name of the executable.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5049 as_me=`(basename "$0") 2>/dev/null ||
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5050 $as_expr X/"$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
5051 X"$0" : 'X\(//\)$' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5052 X"$0" : 'X\(/\)$' \| \
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5053 . : '\(.\)' 2>/dev/null ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5054 echo X/"$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
5055 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5056 /^X\/\(\/\/\)$/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5057 /^X\/\(\/\).*/{ s//\1/; q; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5058 s/.*/./; q'`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5059
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5060 # PATH needs CR, and LINENO needs CR and 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
5061 # Avoid depending upon Character Ranges.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5062 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5063 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5064 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5065 as_cr_digits='0123456789'
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5066 as_cr_alnum=$as_cr_Letters$as_cr_digits
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5067
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5068 # 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
5069 if test "${PATH_SEPARATOR+set}" != set; then
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5070 echo "#! /bin/sh" >conftest.sh
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5071 echo "exit 0" >>conftest.sh
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5072 chmod +x conftest.sh
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5073 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; 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
5074 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
5075 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
5076 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
5077 fi
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5078 rm -f conftest.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
5079 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
5080
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5081
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5082 as_lineno_1=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5083 as_lineno_2=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5084 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5085 test "x$as_lineno_1" != "x$as_lineno_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
5086 test "x$as_lineno_3" = "x$as_lineno_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
5087 # Find who we are. Look in the path if we contain no path at all
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5088 # relative or not.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5089 case $0 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
5090 *[\\/]* ) as_myself=$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
5091 *) 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
5092 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
5093 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
5094 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
5095 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5097 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
5098
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5099 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5100 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
5101 # We did not find ourselves, most probably we were run as `sh 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
5102 # in which case we are not to be found in the 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
5103 if test "x$as_myself" = x; 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
5104 as_myself=$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
5105 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
5106 if test ! -f "$as_myself"; 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
5107 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5108 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&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
5109 { (exit 1); exit 1; }; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5110 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
5111 case $CONFIG_SHELL 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
5112 '')
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5113 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
5114 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$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
5115 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
5116 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
5117 test -z "$as_dir" && as_dir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5118 for as_base in sh bash ksh sh5; 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
5119 case $as_dir 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
5120 /*)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5121 if ("$as_dir/$as_base" -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
5122 as_lineno_1=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5123 as_lineno_2=$LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5124 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5125 test "x$as_lineno_1" != "x$as_lineno_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
5126 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; 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
5127 CONFIG_SHELL=$as_dir/$as_base
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5128 export CONFIG_SHELL
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5129 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5130 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
5131 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
5132 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
5133 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
5134 ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5135 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
5136
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5137 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5138 # uniformly replaced by the line number. The first 'sed' inserts a
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5139 # line-number line before each line; the second 'sed' does the real
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5140 # work. The second script uses 'N' to pair each line-number line
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5141 # with the numbered line, and appends trailing '-' during
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5142 # substitution so that $LINENO is not a special case at line end.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5143 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5144 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5145 sed '=' <$as_myself |
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5146 sed '
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5147 N
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5148 s,$,-,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5149 : loop
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5150 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5151 t loop
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5152 s,-$,,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5153 s,^['$as_cr_digits']*\n,,
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5154 ' >$as_me.lineno &&
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5155 chmod +x $as_me.lineno ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5156 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5157 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&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
5158 { (exit 1); exit 1; }; }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5159
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5160 # 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
5161 # (the dirname of $[0] is not the place where we might find the
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5162 # original and so on. Autoconf is especially sensible to this).
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5163 . ./$as_me.lineno
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5164 # 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
5165 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
5166 }
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5167
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5168
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5169 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` 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
5170 *c*,-n*) ECHO_N= ECHO_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
5171 ' ECHO_T=' ' ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5172 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5173 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5174 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5175
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5176 if expr a : '\(a\)' >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5177 as_expr=expr
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5178 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5179 as_expr=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5180 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5181
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5182 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5183 echo >conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5184 if ln -s conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5185 # We could just check for DJGPP; but this test a) works b) is more generic
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5186 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5187 if test -f conf$$.exe; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5188 # Don't use ln at all; we don't have any links
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5189 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5190 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5191 as_ln_s='ln -s'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5192 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5193 elif ln conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5194 as_ln_s=ln
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5195 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5196 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5197 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5198 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5199
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5200 as_executable_p="test -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5201
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5202 # Sed expression to map a string onto a valid CPP 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
5203 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5204
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5205 # Sed expression to map a string onto a valid variable 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
5206 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5207
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5208
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5209 # IFS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5210 # We need space, tab and new line, in precisely that order.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5211 as_nl='
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5212 '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5213 IFS=" $as_nl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5214
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5215 # CDPATH.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5216 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5217
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5218 exec 6>&1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5219
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5220 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5221 # report actual input values of CONFIG_FILES etc. instead of their
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5222 # values after options handling. Logging --version etc. is OK.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5223 exec 5>>config.log
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5224 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5225 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
5226 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5227 ## Running $as_me. ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5228 _ASBOX
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5229 } >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5230 cat >&5 <<_CSEOF
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5231
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5232 This file was extended by $as_me, which was
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5233 generated by GNU Autoconf 2.53. 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
5234
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5235 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
5236 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
5237 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
5238 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
5239 $ $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
5240
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5241 _CSEOF
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5242 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5243 echo >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5244 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5245
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5246 # Files that config.status was made for.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5247 if test -n "$ac_config_files"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5248 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5249 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5250
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5251 if test -n "$ac_config_headers"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5252 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5253 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5254
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5255 if test -n "$ac_config_links"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5256 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5257 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5258
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5259 if test -n "$ac_config_commands"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5260 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5261 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5262
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5263 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5264
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5265 ac_cs_usage="\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5266 \`$as_me' instantiates files from templates according to the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5267 current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5268
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5269 Usage: $0 [OPTIONS] [FILE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5270
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5271 -h, --help print this help, then exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5272 -V, --version print version number, then exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5273 -d, --debug don't remove temporary files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5274 --recheck update $as_me by reconfiguring in the same conditions
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5275 --file=FILE[:TEMPLATE]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5276 instantiate the configuration file FILE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5277 --header=FILE[:TEMPLATE]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5278 instantiate the configuration header FILE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5279
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5280 Configuration files:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5281 $config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5282
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5283 Configuration headers:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5284 $config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5285
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5286 Report bugs to <bug-autoconf@gnu.org>."
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5287 _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
5288
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5289 cat >>$CONFIG_STATUS <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5290 ac_cs_version="\\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5291 config.status
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5292 configured by $0, generated by GNU Autoconf 2.53,
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5293 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5294
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5295 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5296 Free Software Foundation, Inc.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5297 This config.status script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5298 gives unlimited permission to copy, distribute and modify it."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5299 srcdir=$srcdir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5300 INSTALL="$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
5301 _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
5302
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5303 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5304 # If no file are specified by the user, then we need to provide default
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5305 # value. By we need to know if files were specified by the user.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5306 ac_need_defaults=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5307 while test $# != 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5308 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5309 case $1 in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5310 --*=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5311 ac_option=`expr "x$1" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5312 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5313 shift
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5314 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5315 shift
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5316 ;;
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5317 -*);;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5318 *) # This is not an option, so the user has probably given explicit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5319 # arguments.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5320 ac_need_defaults=false;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5321 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5322
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5323 case $1 in
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5324 # Handling of the options.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5325 _ACEOF
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5326 cat >>$CONFIG_STATUS <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5327 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5328 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5329 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5330 _ACEOF
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5331 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5332 --version | --vers* | -V )
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5333 echo "$ac_cs_version"; exit 0 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5334 --he | --h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5335 # Conflict between --help and --header
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5336 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5337 Try \`$0 --help' for more information." >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5338 echo "$as_me: error: ambiguous option: $1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5339 Try \`$0 --help' for more information." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5340 { (exit 1); exit 1; }; };;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5341 --help | --hel | -h )
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5342 echo "$ac_cs_usage"; exit 0 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5343 --debug | --d* | -d )
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5344 debug=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5345 --file | --fil | --fi | --f )
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5346 shift
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5347 CONFIG_FILES="$CONFIG_FILES $1"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5348 ac_need_defaults=false;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5349 --header | --heade | --head | --hea )
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5350 shift
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5351 CONFIG_HEADERS="$CONFIG_HEADERS $1"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5352 ac_need_defaults=false;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5353
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5354 # This is an error.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5355 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5356 Try \`$0 --help' for more information." >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5357 echo "$as_me: error: unrecognized option: $1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5358 Try \`$0 --help' for more information." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5359 { (exit 1); exit 1; }; } ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5360
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5361 *) ac_config_targets="$ac_config_targets $1" ;;
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5362
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5363 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5364 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5365 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5366
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5367 _ACEOF
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5368
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5369
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5370
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5371
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5372
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5373 cat >>$CONFIG_STATUS <<\_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5374 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
5375 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5376 case "$ac_config_target" in
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5377 # Handling of arguments.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5378 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5379 "dw-config" ) CONFIG_FILES="$CONFIG_FILES dw-config" ;;
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5380 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.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
5381 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5382 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5383 { (exit 1); exit 1; }; };;
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5384 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5385 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5386
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5387 # If the user did not use the arguments to specify the items to instantiate,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5388 # then the envvar interface is used. Set only those that are not.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5389 # We use the long form for the default assignment because of an extremely
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5390 # bizarre bug on SunOS 4.1.3.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5391 if $ac_need_defaults; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5392 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5393 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5394 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5395
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5396 # Create a temporary directory, and hook for its removal unless debugging.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5397 $debug ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5398 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5399 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5400 trap '{ (exit 1); exit 1; }' 1 2 13 15
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5401 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5402
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5403 # Create a (secure) tmp directory for tmp files.
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5404 : ${TMPDIR=/tmp}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5405 {
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5406 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5407 test -n "$tmp" && test -d "$tmp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5408 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5409 {
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5410 tmp=$TMPDIR/cs$$-$RANDOM
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5411 (umask 077 && mkdir $tmp)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5412 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5413 {
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5414 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5415 { (exit 1); exit 1; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5416 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5417
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5418 _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
5419
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5420 cat >>$CONFIG_STATUS <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5421
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5422 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5423 # CONFIG_FILES section.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5424 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5425
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5426 # No need to generate the scripts if there are no CONFIG_FILES.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5427 # This happens for instance when ./config.status config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5428 if test -n "\$CONFIG_FILES"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5429 # Protect against being on the right side of a sed subst in config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5430 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5431 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5432 s,@SHELL@,$SHELL,;t t
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5433 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5434 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5435 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5436 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7d2108cbcd3e Porting DW 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 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5438 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5439 s,@exec_prefix@,$exec_prefix,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5440 s,@prefix@,$prefix,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5441 s,@program_transform_name@,$program_transform_name,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5442 s,@bindir@,$bindir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5443 s,@sbindir@,$sbindir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5444 s,@libexecdir@,$libexecdir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5445 s,@datadir@,$datadir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5446 s,@sysconfdir@,$sysconfdir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5447 s,@sharedstatedir@,$sharedstatedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5448 s,@localstatedir@,$localstatedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5449 s,@libdir@,$libdir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5450 s,@includedir@,$includedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5451 s,@oldincludedir@,$oldincludedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5452 s,@infodir@,$infodir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5453 s,@mandir@,$mandir,;t t
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5454 s,@build_alias@,$build_alias,;t t
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5455 s,@host_alias@,$host_alias,;t t
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5456 s,@target_alias@,$target_alias,;t t
120
7d2108cbcd3e Porting DW 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 s,@DEFS@,$DEFS,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5458 s,@ECHO_C@,$ECHO_C,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5459 s,@ECHO_N@,$ECHO_N,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5460 s,@ECHO_T@,$ECHO_T,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5461 s,@LIBS@,$LIBS,;t t
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5462 s,@DW_MAJOR_VERSION@,$DW_MAJOR_VERSION,;t t
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5463 s,@DW_MINOR_VERSION@,$DW_MINOR_VERSION,;t t
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5464 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5465 s,@CC@,$CC,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5466 s,@CFLAGS@,$CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5467 s,@LDFLAGS@,$LDFLAGS,;t t
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5468 s,@CPPFLAGS@,$CPPFLAGS,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5469 s,@ac_ct_CC@,$ac_ct_CC,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5470 s,@EXEEXT@,$EXEEXT,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5471 s,@OBJEXT@,$OBJEXT,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5472 s,@MAKE@,$MAKE,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5473 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5474 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5475 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5476 s,@CPP@,$CPP,;t t
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5477 s,@PKG_CFG@,$PKG_CFG,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5478 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5479 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5480 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5481 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5482 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5483 s,@GTK_LIBS@,$GTK_LIBS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5484 s,@IMLIB_CONFIG@,$IMLIB_CONFIG,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5485 s,@GDK_IMLIB_CFLAGS@,$GDK_IMLIB_CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5486 s,@GDK_IMLIB_LIBS@,$GDK_IMLIB_LIBS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5487 s,@INCLUDES@,$INCLUDES,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5488 s,@RM@,$RM,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5489 s,@LN@,$LN,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5490 s,@CP@,$CP,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5491 s,@MV@,$MV,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5492 s,@MKDIR@,$MKDIR,;t t
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5493 s,@SHAREDFLAG@,$SHAREDFLAG,;t t
435
0b52875e1588 Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 431
diff changeset
5494 s,@SOSUFFIX@,$SOSUFFIX,;t t
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
5495 s,@DW_SRC@,$DW_SRC,;t t
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
5496 s,@DW_DEFINE@,$DW_DEFINE,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5497 CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5498
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5499 _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
5500
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5501 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5502 # Split the substitutions into bite-sized pieces for seds with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5503 # small command number limits, like on Digital OSF/1 and HP-UX.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5504 ac_max_sed_lines=48
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5505 ac_sed_frag=1 # Number of current file.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5506 ac_beg=1 # First line for current file.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5507 ac_end=$ac_max_sed_lines # Line after last line for current file.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5508 ac_more_lines=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5509 ac_sed_cmds=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5510 while $ac_more_lines; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5511 if test $ac_beg -gt 1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5512 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5513 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5514 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5515 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5516 if test ! -s $tmp/subs.frag; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5517 ac_more_lines=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5518 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5519 # The purpose of the label and of the branching condition is to
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5520 # speed up the sed processing (if there are no `@' at all, there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5521 # is no need to browse any of the substitutions).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5522 # These are the two extra sed commands mentioned above.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5523 (echo ':t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5525 if test -z "$ac_sed_cmds"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5526 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5527 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5528 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5529 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5530 ac_sed_frag=`expr $ac_sed_frag + 1`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5531 ac_beg=$ac_end
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5532 ac_end=`expr $ac_end + $ac_max_sed_lines`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5533 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5534 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5535 if test -z "$ac_sed_cmds"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5536 ac_sed_cmds=cat
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5537 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5538 fi # test -n "$CONFIG_FILES"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5539
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5540 _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
5541 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5542 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5543 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5544 case $ac_file in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5545 - | *:- | *:-:* ) # input from stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5546 cat >$tmp/stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5547 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5548 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5549 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5550 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5551 * ) ac_file_in=$ac_file.in ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5552 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5553
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5554 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5555 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5557 X"$ac_file" : 'X\(//\)[^/]' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5558 X"$ac_file" : 'X\(//\)$' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5559 X"$ac_file" : 'X\(/\)' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5560 . : '\(.\)' 2>/dev/null ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5561 echo X"$ac_file" |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5563 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5564 /^X\(\/\/\)$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5565 /^X\(\/\).*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5566 s/.*/./; q'`
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5567 { case "$ac_dir" in
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5568 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5569 *) as_incr_dir=.;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5570 esac
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5571 as_dummy="$ac_dir"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5572 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5573 case $as_mkdir_dir in
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5574 # Skip DOS drivespec
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5575 ?:) as_incr_dir=$as_mkdir_dir ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5576 *)
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5577 as_incr_dir=$as_incr_dir/$as_mkdir_dir
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5578 test -d "$as_incr_dir" ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5579 mkdir "$as_incr_dir" ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5580 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5581 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5582 { (exit 1); exit 1; }; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5583 ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5584 esac
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5585 done; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5586
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5587 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
5588
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5589 if test "$ac_dir" != .; 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
5590 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5591 # A "../" for each directory in $ac_dir_suffix.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5592 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5593 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
5594 ac_dir_suffix= ac_top_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
5595 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
5596
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5597 case $srcdir 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
5598 .) # No --srcdir option. We are building in place.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5599 ac_srcdir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5600 if test -z "$ac_top_builddir"; 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
5601 ac_top_srcdir=.
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5602 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
5603 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5604 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
5605 [\\/]* | ?:[\\/]* ) # Absolute 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
5606 ac_srcdir=$srcdir$ac_dir_suffix;
7d2108cbcd3e Porting DW 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 ac_top_srcdir=$srcdir ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5608 *) # Relative path.
120
7d2108cbcd3e Porting DW 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 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5610 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5611 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
5612 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5613 # absolute.
7d2108cbcd3e Porting DW 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 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5615 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
120
7d2108cbcd3e Porting DW 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 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5617 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5618
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5619
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5620 case $INSTALL in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5621 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$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
5622 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5623 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5624
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5625 if test x"$ac_file" != x-; 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
5626 { echo "$as_me:$LINENO: creating $ac_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5627 echo "$as_me: creating $ac_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5628 rm -f "$ac_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5629 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5630 # Let's still pretend it is `configure' which instantiates (i.e., don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5631 # use $as_me), people would be surprised to read:
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5632 # /* config.h. Generated by config.status. */
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5633 if test x"$ac_file" = x-; 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
5634 configure_input=
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5635 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
5636 configure_input="$ac_file. "
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5637 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
5638 configure_input=$configure_input"Generated from `echo $ac_file_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
5639 sed 's,.*/,,'` by configure."
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5640
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5641 # First look for the input files in the build tree, otherwise in the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5642 # src tree.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5643 ac_file_inputs=`IFS=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5644 for f in $ac_file_in; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5645 case $f in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5646 -) echo $tmp/stdin ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5647 [\\/$]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5648 # Absolute (can't be DOS-style, as 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
5649 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5650 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5651 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5652 echo $f;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5653 *) # Relative
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5654 if test -f "$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5655 # Build tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5656 echo $f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5657 elif test -f "$srcdir/$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5658 # Source tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5659 echo $srcdir/$f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5660 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5661 # /dev/null tree
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5662 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5663 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5664 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5665 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5666 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5667 done` || { (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
5668 _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
5669 cat >>$CONFIG_STATUS <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5670 sed "$ac_vpsub
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5671 $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
5672 _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
5673 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5674 :t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5675 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5676 s,@configure_input@,$configure_input,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5677 s,@srcdir@,$ac_srcdir,;t t
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5678 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5679 s,@top_srcdir@,$ac_top_srcdir,;t t
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5680 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5681 s,@builddir@,$ac_builddir,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5682 s,@abs_builddir@,$ac_abs_builddir,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5683 s,@top_builddir@,$ac_top_builddir,;t t
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5684 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5685 s,@INSTALL@,$ac_INSTALL,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5686 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5687 rm -f $tmp/stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5688 if test x"$ac_file" != x-; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5689 mv $tmp/out $ac_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5690 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5691 cat $tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5692 rm -f $tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5693 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5694
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5695 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
5696 _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
5697 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5698
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5699 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5700 # CONFIG_HEADER section.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5701 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5702
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5703 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5704 # NAME is the cpp macro being defined and VALUE is the value it is being given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5705 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5706 # ac_d sets the value in "#define NAME VALUE" lines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5707 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5708 ac_dB='[ ].*$,\1#\2'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5709 ac_dC=' '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5710 ac_dD=',;t'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5711 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5712 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5713 ac_uB='$,\1#\2define\3'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5714 ac_uC=' '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5715 ac_uD=',;t'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5716
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5717 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5718 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5719 case $ac_file in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5720 - | *:- | *:-:* ) # input from stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5721 cat >$tmp/stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5722 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5723 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5724 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5725 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5726 * ) ac_file_in=$ac_file.in ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5727 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5728
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5729 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5730 echo "$as_me: creating $ac_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5731
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5732 # First look for the input files in the build tree, otherwise in the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5733 # src tree.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5734 ac_file_inputs=`IFS=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5735 for f in $ac_file_in; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5736 case $f in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5737 -) echo $tmp/stdin ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5738 [\\/$]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5739 # Absolute (can't be DOS-style, as 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
5740 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5741 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5742 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5743 echo $f;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5744 *) # Relative
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5745 if test -f "$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5746 # Build tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5747 echo $f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5748 elif test -f "$srcdir/$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5749 # Source tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5750 echo $srcdir/$f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5751 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5752 # /dev/null tree
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5753 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5754 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5755 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5756 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5757 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5758 done` || { (exit 1); exit 1; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5759 # Remove the trailing spaces.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5760 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5761
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5762 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5763
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5764 # Transform confdefs.h into two sed scripts, `conftest.defines' and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5765 # `conftest.undefs', that substitutes the proper values into
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5766 # config.h.in to produce config.h. The first handles `#define'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5767 # templates, and the second `#undef' templates.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5768 # And first: Protect against being on the right side of a sed subst in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5769 # config.status. Protect against being in an unquoted here document
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5770 # in config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5771 rm -f conftest.defines conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5772 # Using a here document instead of a string reduces the quoting nightmare.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5773 # Putting comments in sed scripts is not portable.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5774 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5775 # `end' is used to avoid that the second main sed command (meant for
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5776 # 0-ary CPP macros) applies to n-ary macro definitions.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5777 # See the Autoconf documentation for `clear'.
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5778 cat >confdef2sed.sed <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5779 s/[\\&,]/\\&/g
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5780 s,[\\$`],\\&,g
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5781 t clear
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5782 : clear
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5783 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5784 t end
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5785 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5786 : end
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5787 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5788 # If some macros were called several times there might be several times
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5789 # the same #defines, which is useless. Nevertheless, we may not want to
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5790 # sort them, since we want the *last* AC-DEFINE to be honored.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5791 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5792 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5793 rm -f confdef2sed.sed
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5794
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5795 # This sed command replaces #undef with comments. This is necessary, for
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5796 # example, in the case of _POSIX_SOURCE, which is predefined and required
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5797 # on some systems where configure will not decide to define 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
5798 cat >>conftest.undefs <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5799 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5800 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5801
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5802 # Break up conftest.defines because some shells have a limit on the size
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5803 # of here documents, and old seds have small limits too (100 cmds).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5804 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5805 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5806 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5807 echo ' :' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5808 rm -f conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5809 while grep . conftest.defines >/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5810 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5811 # Write a limited-size here document to $tmp/defines.sed.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5812 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5813 # Speed up: don't consider the non `#define' lines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5814 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5815 # Work around the forget-to-reset-the-flag bug.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5816 echo 't clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5817 echo ': clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5818 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5819 echo 'CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5820 sed -f $tmp/defines.sed $tmp/in >$tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5821 rm -f $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5822 mv $tmp/out $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5823 ' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5824 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5825 rm -f conftest.defines
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5826 mv conftest.tail conftest.defines
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5827 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5828 rm -f conftest.defines
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5829 echo ' fi # egrep' >>$CONFIG_STATUS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5830 echo >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5831
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5832 # Break up conftest.undefs because some shells have a limit on the size
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5833 # of here documents, and old seds have small limits too (100 cmds).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5834 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5835 rm -f conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5836 while grep . conftest.undefs >/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5837 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5838 # Write a limited-size here document to $tmp/undefs.sed.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5839 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5840 # Speed up: don't consider the non `#undef'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5841 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5842 # Work around the forget-to-reset-the-flag bug.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5843 echo 't clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5844 echo ': clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5845 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5846 echo 'CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5847 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5848 rm -f $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5849 mv $tmp/out $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5850 ' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5851 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5852 rm -f conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5853 mv conftest.tail conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5854 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5855 rm -f conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5856
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5857 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5858 # Let's still pretend it is `configure' which instantiates (i.e., don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5859 # use $as_me), people would be surprised to read:
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5860 # /* config.h. Generated by config.status. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5861 if test x"$ac_file" = x-; 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
5862 echo "/* Generated by configure. */" >$tmp/config.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5863 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
5864 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5865 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5866 cat $tmp/in >>$tmp/config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5867 rm -f $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5868 if test x"$ac_file" != x-; then
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5869 if cmp -s $ac_file $tmp/config.h 2>/dev/null; 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
5870 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5871 echo "$as_me: $ac_file is unchanged" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5872 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
5873 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5874 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5875 X"$ac_file" : 'X\(//\)[^/]' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5876 X"$ac_file" : 'X\(//\)$' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5877 X"$ac_file" : 'X\(/\)' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5878 . : '\(.\)' 2>/dev/null ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5879 echo X"$ac_file" |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5882 /^X\(\/\/\)$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5883 /^X\(\/\).*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5884 s/.*/./; q'`
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5885 { case "$ac_dir" in
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5886 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5887 *) as_incr_dir=.;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5888 esac
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5889 as_dummy="$ac_dir"
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5890 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5891 case $as_mkdir_dir in
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5892 # Skip DOS drivespec
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5893 ?:) as_incr_dir=$as_mkdir_dir ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5894 *)
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5895 as_incr_dir=$as_incr_dir/$as_mkdir_dir
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5896 test -d "$as_incr_dir" ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5897 mkdir "$as_incr_dir" ||
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5898 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5899 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5900 { (exit 1); exit 1; }; }
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5901 ;;
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5902 esac
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5903 done; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5904
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5905 rm -f $ac_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5906 mv $tmp/config.h $ac_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5907 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5908 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5909 cat $tmp/config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5910 rm -f $tmp/config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5911 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5912 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
5913 _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
5914
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5915 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5916
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5917 { (exit 0); exit 0; }
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5918 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5919 chmod +x $CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5920 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5921
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5922
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5923 # configure is writing to config.log, and then calls config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5924 # config.status does its own redirection, appending to config.log.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5925 # Unfortunately, on DOS this fails, as config.log is still kept open
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5926 # by configure, so config.status won't be able to write to it; its
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5927 # output is simply discarded. So we exec the FD to /dev/null,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5928 # effectively closing config.log, so it can be properly (re)opened and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5929 # appended to by config.status. When coming back to configure, we
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5930 # need to make the FD available again.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5931 if test "$no_create" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5932 ac_cs_success=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5933 exec 5>/dev/null
587
9e81f23b57ae If available try to use GtkMozEmbed from Mozilla.or.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 435
diff changeset
5934 $SHELL $CONFIG_STATUS || ac_cs_success=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5935 exec 5>>config.log
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5936 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5937 # would make configure fail if this is the last instruction.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5938 $ac_cs_success || { (exit 1); exit 1; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5939 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5940