Mercurial > dwindows
annotate configure @ 412:a8015e02b590
Initial configure support for MacOS X.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 13 May 2003 07:59:00 +0000 |
parents | 18ecaae9cc3b |
children | 561acf6de39a |
rev | line source |
---|---|
3 | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3 # Generated by GNU Autoconf 2.53. |
3 | 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 | 6 # Free Software Foundation, Inc. |
7 # This configure script is free software; the Free Software Foundation | |
8 # gives unlimited permission to copy, distribute and modify it. | |
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
|
10 if expr a : '\(a\)' >/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
|
11 as_expr=expr |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
12 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
|
13 as_expr=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
|
14 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
|
15 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
16 |
7d2108cbcd3e
Porting DW 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 | 21 # Be Bourne compatible |
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
23 emulate sh | |
24 NULLCMD=: | |
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
26 set -o posix | |
27 fi | |
28 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
29 # NLS nuisances. |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
37 (set +x; test -n "`(LANG=C; export LANG) 2>&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
|
38 { $as_unset LANG || test "${LANG+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
39 { LANG=C; export LANG; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&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
|
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
42 { LC_ALL=C; export LC_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
|
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&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
|
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
45 { LC_TIME=C; export LC_TIME; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&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
|
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
48 { LC_CTYPE=C; export LC_CTYPE; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&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
|
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
51 { LANGUAGE=C; export LANGUAGE; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&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
|
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
54 { LC_COLLATE=C; export LC_COLLATE; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&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
|
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
57 { LC_NUMERIC=C; export LC_NUMERIC; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&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
|
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
60 { LC_MESSAGES=C; export LC_MESSAGES; } |
7d2108cbcd3e
Porting DW 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 | 63 # Name of the executable. |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
64 as_me=`(basename "$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
|
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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
85 echo "#! /bin/sh" >conftest.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
|
86 echo "exit 0" >>conftest.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
|
87 chmod +x conftest.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
|
88 if (PATH=".;."; conftest.sh) >/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
|
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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
93 rm -f conftest.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
|
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 | 188 |
189 if expr a : '\(a\)' >/dev/null 2>&1; then | |
190 as_expr=expr | |
191 else | |
192 as_expr=false | |
193 fi | |
194 | |
195 rm -f conf$$ conf$$.exe conf$$.file | |
196 echo >conf$$.file | |
197 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
198 # We could just check for DJGPP; but this test a) works b) is more generic | |
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
200 if test -f conf$$.exe; then | |
201 # Don't use ln at all; we don't have any links | |
202 as_ln_s='cp -p' | |
203 else | |
204 as_ln_s='ln -s' | |
205 fi | |
206 elif ln conf$$.file conf$$ 2>/dev/null; then | |
207 as_ln_s=ln | |
208 else | |
209 as_ln_s='cp -p' | |
210 fi | |
211 rm -f conf$$ conf$$.exe conf$$.file | |
212 | |
213 as_executable_p="test -f" | |
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 | 221 |
222 # IFS | |
223 # We need space, tab and new line, in precisely that order. | |
224 as_nl=' | |
225 ' | |
226 IFS=" $as_nl" | |
227 | |
228 # 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
|
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
7d2108cbcd3e
Porting DW 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 | 231 |
232 # Name of the host. | |
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
234 # so uname gets run too. | |
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
236 | |
237 exec 6>&1 | |
238 | |
239 # | |
240 # Initializations. | |
241 # | |
242 ac_default_prefix=/usr/local | |
243 cross_compiling=no | |
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 | 247 SHELL=${CONFIG_SHELL-/bin/sh} |
248 | |
249 # Maximum number of lines to put in a shell here document. | |
250 # This variable seems obsolete. It should probably be removed, and | |
251 # only ac_max_sed_lines should be used. | |
252 : ${ac_max_here_lines=38} | |
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 | 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 | 299 |
300 # Initialize some variables set by options. | |
301 ac_init_help= | |
302 ac_init_version=false | |
303 # The variables have the same names as the options, with | |
304 # dashes changed to underlines. | |
305 cache_file=/dev/null | |
306 exec_prefix=NONE | |
307 no_create= | |
308 no_recursion= | |
309 prefix=NONE | |
310 program_prefix=NONE | |
311 program_suffix=NONE | |
312 program_transform_name=s,x,x, | |
313 silent= | |
314 site= | |
315 srcdir= | |
316 verbose= | |
317 x_includes=NONE | |
318 x_libraries=NONE | |
319 | |
320 # Installation directory options. | |
321 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
322 # and all the variables that are supposed to be based on exec_prefix | |
323 # by default will actually change. | |
324 # Use braces instead of parens because sh, perl, etc. also accept them. | |
325 bindir='${exec_prefix}/bin' | |
326 sbindir='${exec_prefix}/sbin' | |
327 libexecdir='${exec_prefix}/libexec' | |
328 datadir='${prefix}/share' | |
329 sysconfdir='${prefix}/etc' | |
330 sharedstatedir='${prefix}/com' | |
331 localstatedir='${prefix}/var' | |
332 libdir='${exec_prefix}/lib' | |
333 includedir='${prefix}/include' | |
334 oldincludedir='/usr/include' | |
335 infodir='${prefix}/info' | |
336 mandir='${prefix}/man' | |
337 | |
338 ac_prev= | |
339 for ac_option | |
340 do | |
341 # If the previous option needs an argument, assign it. | |
342 if test -n "$ac_prev"; then | |
343 eval "$ac_prev=\$ac_option" | |
344 ac_prev= | |
345 continue | |
346 fi | |
347 | |
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | |
349 | |
350 # Accept the important Cygnus configure options, so we can diagnose typos. | |
351 | |
352 case $ac_option in | |
353 | |
354 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
355 ac_prev=bindir ;; | |
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
357 bindir=$ac_optarg ;; | |
358 | |
359 -build | --build | --buil | --bui | --bu) | |
360 ac_prev=build_alias ;; | |
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
362 build_alias=$ac_optarg ;; | |
363 | |
364 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
366 ac_prev=cache_file ;; | |
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
369 cache_file=$ac_optarg ;; | |
370 | |
371 --config-cache | -C) | |
372 cache_file=config.cache ;; | |
373 | |
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
375 ac_prev=datadir ;; | |
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
377 | --da=*) | |
378 datadir=$ac_optarg ;; | |
379 | |
380 -disable-* | --disable-*) | |
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
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 | 384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
385 { (exit 1); exit 1; }; } | |
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
387 eval "enable_$ac_feature=no" ;; | |
388 | |
389 -enable-* | --enable-*) | |
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
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 | 393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
394 { (exit 1); exit 1; }; } | |
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
396 case $ac_option in | |
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
398 *) ac_optarg=yes ;; | |
399 esac | |
400 eval "enable_$ac_feature='$ac_optarg'" ;; | |
401 | |
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
404 | --exec | --exe | --ex) | |
405 ac_prev=exec_prefix ;; | |
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
408 | --exec=* | --exe=* | --ex=*) | |
409 exec_prefix=$ac_optarg ;; | |
410 | |
411 -gas | --gas | --ga | --g) | |
412 # Obsolete; use --with-gas. | |
413 with_gas=yes ;; | |
414 | |
415 -help | --help | --hel | --he | -h) | |
416 ac_init_help=long ;; | |
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
418 ac_init_help=recursive ;; | |
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
420 ac_init_help=short ;; | |
421 | |
422 -host | --host | --hos | --ho) | |
423 ac_prev=host_alias ;; | |
424 -host=* | --host=* | --hos=* | --ho=*) | |
425 host_alias=$ac_optarg ;; | |
426 | |
427 -includedir | --includedir | --includedi | --included | --include \ | |
428 | --includ | --inclu | --incl | --inc) | |
429 ac_prev=includedir ;; | |
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
431 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
432 includedir=$ac_optarg ;; | |
433 | |
434 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
435 ac_prev=infodir ;; | |
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
437 infodir=$ac_optarg ;; | |
438 | |
439 -libdir | --libdir | --libdi | --libd) | |
440 ac_prev=libdir ;; | |
441 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
442 libdir=$ac_optarg ;; | |
443 | |
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
445 | --libexe | --libex | --libe) | |
446 ac_prev=libexecdir ;; | |
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
448 | --libexe=* | --libex=* | --libe=*) | |
449 libexecdir=$ac_optarg ;; | |
450 | |
451 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
452 | --localstate | --localstat | --localsta | --localst \ | |
453 | --locals | --local | --loca | --loc | --lo) | |
454 ac_prev=localstatedir ;; | |
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
458 localstatedir=$ac_optarg ;; | |
459 | |
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
461 ac_prev=mandir ;; | |
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
463 mandir=$ac_optarg ;; | |
464 | |
465 -nfp | --nfp | --nf) | |
466 # Obsolete; use --without-fp. | |
467 with_fp=no ;; | |
468 | |
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 | 471 no_create=yes ;; |
472 | |
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
475 no_recursion=yes ;; | |
476 | |
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
479 | --oldin | --oldi | --old | --ol | --o) | |
480 ac_prev=oldincludedir ;; | |
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
484 oldincludedir=$ac_optarg ;; | |
485 | |
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
487 ac_prev=prefix ;; | |
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
489 prefix=$ac_optarg ;; | |
490 | |
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
492 | --program-pre | --program-pr | --program-p) | |
493 ac_prev=program_prefix ;; | |
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
496 program_prefix=$ac_optarg ;; | |
497 | |
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
499 | --program-suf | --program-su | --program-s) | |
500 ac_prev=program_suffix ;; | |
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
503 program_suffix=$ac_optarg ;; | |
504 | |
505 -program-transform-name | --program-transform-name \ | |
506 | --program-transform-nam | --program-transform-na \ | |
507 | --program-transform-n | --program-transform- \ | |
508 | --program-transform | --program-transfor \ | |
509 | --program-transfo | --program-transf \ | |
510 | --program-trans | --program-tran \ | |
511 | --progr-tra | --program-tr | --program-t) | |
512 ac_prev=program_transform_name ;; | |
513 -program-transform-name=* | --program-transform-name=* \ | |
514 | --program-transform-nam=* | --program-transform-na=* \ | |
515 | --program-transform-n=* | --program-transform-=* \ | |
516 | --program-transform=* | --program-transfor=* \ | |
517 | --program-transfo=* | --program-transf=* \ | |
518 | --program-trans=* | --program-tran=* \ | |
519 | --progr-tra=* | --program-tr=* | --program-t=*) | |
520 program_transform_name=$ac_optarg ;; | |
521 | |
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
523 | -silent | --silent | --silen | --sile | --sil) | |
524 silent=yes ;; | |
525 | |
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
527 ac_prev=sbindir ;; | |
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
529 | --sbi=* | --sb=*) | |
530 sbindir=$ac_optarg ;; | |
531 | |
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
534 | --sharedst | --shareds | --shared | --share | --shar \ | |
535 | --sha | --sh) | |
536 ac_prev=sharedstatedir ;; | |
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
540 | --sha=* | --sh=*) | |
541 sharedstatedir=$ac_optarg ;; | |
542 | |
543 -site | --site | --sit) | |
544 ac_prev=site ;; | |
545 -site=* | --site=* | --sit=*) | |
546 site=$ac_optarg ;; | |
547 | |
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
549 ac_prev=srcdir ;; | |
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
551 srcdir=$ac_optarg ;; | |
552 | |
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
554 | --syscon | --sysco | --sysc | --sys | --sy) | |
555 ac_prev=sysconfdir ;; | |
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
558 sysconfdir=$ac_optarg ;; | |
559 | |
560 -target | --target | --targe | --targ | --tar | --ta | --t) | |
561 ac_prev=target_alias ;; | |
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
563 target_alias=$ac_optarg ;; | |
564 | |
565 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
566 verbose=yes ;; | |
567 | |
568 -version | --version | --versio | --versi | --vers | -V) | |
569 ac_init_version=: ;; | |
570 | |
571 -with-* | --with-*) | |
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
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 | 575 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
576 { (exit 1); exit 1; }; } | |
577 ac_package=`echo $ac_package| sed 's/-/_/g'` | |
578 case $ac_option in | |
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
580 *) ac_optarg=yes ;; | |
581 esac | |
582 eval "with_$ac_package='$ac_optarg'" ;; | |
583 | |
584 -without-* | --without-*) | |
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
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 | 588 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
589 { (exit 1); exit 1; }; } | |
590 ac_package=`echo $ac_package | sed 's/-/_/g'` | |
591 eval "with_$ac_package=no" ;; | |
592 | |
593 --x) | |
594 # Obsolete; use --with-x. | |
595 with_x=yes ;; | |
596 | |
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
598 | --x-incl | --x-inc | --x-in | --x-i) | |
599 ac_prev=x_includes ;; | |
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
602 x_includes=$ac_optarg ;; | |
603 | |
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
606 ac_prev=x_libraries ;; | |
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
609 x_libraries=$ac_optarg ;; | |
610 | |
611 -*) { echo "$as_me: error: unrecognized option: $ac_option | |
612 Try \`$0 --help' for more information." >&2 | |
613 { (exit 1); exit 1; }; } | |
614 ;; | |
615 | |
616 *=*) | |
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
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 | 620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
621 { (exit 1); exit 1; }; } | |
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
623 eval "$ac_envvar='$ac_optarg'" | |
624 export $ac_envvar ;; | |
625 | |
626 *) | |
627 # FIXME: should be removed in autoconf 3.0. | |
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 | 630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
632 ;; | |
633 | |
634 esac | |
635 done | |
636 | |
637 if test -n "$ac_prev"; then | |
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
639 { echo "$as_me: error: missing argument to $ac_option" >&2 | |
640 { (exit 1); exit 1; }; } | |
641 fi | |
642 | |
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 | 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 | 657 do |
658 eval ac_val=$`echo $ac_var` | |
659 case $ac_val in | |
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 | 662 { (exit 1); exit 1; }; };; |
663 esac | |
664 done | |
665 | |
666 # There might be people who depend on the old broken behavior: `$host' | |
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 | 669 build=$build_alias |
670 host=$host_alias | |
671 target=$target_alias | |
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 | 674 if test "x$host_alias" != x; then |
675 if test "x$build_alias" = x; then | |
676 cross_compiling=maybe | |
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
678 If a cross compiler is detected then cross compile mode will be used." >&2 | |
679 elif test "x$build_alias" != "x$host_alias"; then | |
680 cross_compiling=yes | |
681 fi | |
682 fi | |
683 | |
684 ac_tool_prefix= | |
685 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
686 | |
687 test "$silent" = yes && exec 6>/dev/null | |
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 | 690 # Find the source files, if location was not specified. |
691 if test -z "$srcdir"; then | |
692 ac_srcdir_defaulted=yes | |
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 | 706 srcdir=$ac_confdir |
707 if test ! -r $srcdir/$ac_unique_file; then | |
708 srcdir=.. | |
709 fi | |
710 else | |
711 ac_srcdir_defaulted=no | |
712 fi | |
713 if test ! -r $srcdir/$ac_unique_file; then | |
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 | 716 { (exit 1); exit 1; }; } |
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 | 719 { (exit 1); exit 1; }; } |
720 fi | |
721 fi | |
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | |
723 ac_env_build_alias_set=${build_alias+set} | |
724 ac_env_build_alias_value=$build_alias | |
725 ac_cv_env_build_alias_set=${build_alias+set} | |
726 ac_cv_env_build_alias_value=$build_alias | |
727 ac_env_host_alias_set=${host_alias+set} | |
728 ac_env_host_alias_value=$host_alias | |
729 ac_cv_env_host_alias_set=${host_alias+set} | |
730 ac_cv_env_host_alias_value=$host_alias | |
731 ac_env_target_alias_set=${target_alias+set} | |
732 ac_env_target_alias_value=$target_alias | |
733 ac_cv_env_target_alias_set=${target_alias+set} | |
734 ac_cv_env_target_alias_value=$target_alias | |
735 ac_env_CC_set=${CC+set} | |
736 ac_env_CC_value=$CC | |
737 ac_cv_env_CC_set=${CC+set} | |
738 ac_cv_env_CC_value=$CC | |
739 ac_env_CFLAGS_set=${CFLAGS+set} | |
740 ac_env_CFLAGS_value=$CFLAGS | |
741 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
742 ac_cv_env_CFLAGS_value=$CFLAGS | |
743 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
744 ac_env_LDFLAGS_value=$LDFLAGS | |
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
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 | 751 ac_env_CPP_set=${CPP+set} |
752 ac_env_CPP_value=$CPP | |
753 ac_cv_env_CPP_set=${CPP+set} | |
754 ac_cv_env_CPP_value=$CPP | |
755 | |
756 # | |
757 # Report the --help message. | |
758 # | |
759 if test "$ac_init_help" = "long"; then | |
760 # Omit some internal or obsolete options to make the list less imposing. | |
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 | 763 \`configure' configures this package to adapt to many kinds of systems. |
764 | |
765 Usage: $0 [OPTION]... [VAR=VALUE]... | |
766 | |
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
768 VAR=VALUE. See below for descriptions of some of the useful variables. | |
769 | |
770 Defaults for the options are specified in brackets. | |
771 | |
772 Configuration: | |
773 -h, --help display this help and exit | |
774 --help=short display options specific to this package | |
775 --help=recursive display the short help of all the included packages | |
776 -V, --version display version information and exit | |
777 -q, --quiet, --silent do not print \`checking...' messages | |
778 --cache-file=FILE cache test results in FILE [disabled] | |
779 -C, --config-cache alias for \`--cache-file=config.cache' | |
780 -n, --no-create do not create output files | |
781 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
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 | 786 Installation directories: |
787 --prefix=PREFIX install architecture-independent files in PREFIX | |
788 [$ac_default_prefix] | |
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
790 [PREFIX] | |
791 | |
792 By default, \`make install' will install all the files in | |
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
795 for instance \`--prefix=\$HOME'. | |
796 | |
797 For better control, use the options below. | |
798 | |
799 Fine tuning of the installation directories: | |
800 --bindir=DIR user executables [EPREFIX/bin] | |
801 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
802 --libexecdir=DIR program executables [EPREFIX/libexec] | |
803 --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
807 --libdir=DIR object code libraries [EPREFIX/lib] | |
808 --includedir=DIR C header files [PREFIX/include] | |
809 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
810 --infodir=DIR info documentation [PREFIX/info] | |
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 | 816 fi |
817 | |
818 if test -n "$ac_init_help"; then | |
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 | 821 |
822 Optional Features: | |
823 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
824 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
825 --disable-glibtest Do not try to compile and run a test GLIB program | |
826 --disable-gtktest Do not try to compile and run a test GTK program | |
827 --disable-imlibtest Do not try to compile and run a test IMLIB program | |
828 | |
829 Optional Packages: | |
830 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
831 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
832 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) | |
833 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) | |
834 --with-gtk-prefix=PFX Prefix where GTK is installed (optional) | |
835 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) | |
836 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional) | |
837 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional) | |
838 | |
839 Some influential environment variables: | |
840 CC C compiler command | |
841 CFLAGS C compiler flags | |
842 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
843 nonstandard directory <lib dir> | |
844 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | |
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 | 847 |
848 Use these variables to override the choices made by `configure' or to help | |
849 it to find libraries and programs with nonstandard names/locations. | |
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 | 852 fi |
853 | |
854 if test "$ac_init_help" = "recursive"; then | |
855 # If there are subdirs, report their specific --help. | |
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` |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
887 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && 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
|
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 | 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 | 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 | 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 | 901 echo |
902 $ac_configure --help | |
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 | 905 fi |
906 cd $ac_popdir | |
907 done | |
908 fi | |
909 | |
910 test -n "$ac_init_help" && exit 0 | |
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 | 915 Free Software Foundation, Inc. |
916 This configure script is free software; the Free Software Foundation | |
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 | 919 exit 0 |
920 fi | |
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 | 923 This file contains any messages produced by compilers while |
924 running configure, to aid debugging if configure makes a mistake. | |
925 | |
926 It was created by $as_me, which 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
|
927 generated by GNU Autoconf 2.53. Invocation command line was |
3 | 928 |
929 $ $0 $@ | |
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 | 932 { |
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 | 937 |
938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
939 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
940 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
941 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
942 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
943 | |
944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
945 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
946 | |
947 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
948 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
950 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |
951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
954 | |
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 | 965 } >&5 |
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 | 976 |
977 # Keep a trace of the command line. | |
978 # Strip out --no-create and --no-recursion so they do not pile up. | |
979 # Also quote any args containing shell meta-characters. | |
980 ac_configure_args= | |
981 ac_sep= | |
982 for ac_arg | |
983 do | |
984 case $ac_arg in | |
985 -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
|
986 | --no-cr | --no-c | -n ) continue ;; |
3 | 987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
989 continue ;; |
3 | 990 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
991 ac_arg=`echo "$ac_arg" | 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
|
992 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
|
993 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
|
994 *" '$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
|
995 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
996 ac_sep=" " ;; |
3 | 997 esac |
998 # Get rid of the leading space. | |
999 done | |
1000 | |
1001 # When interrupted or exit'd, cleanup temporary files, and complete | |
1002 # config.log. We remove comments because anyway the quotes in there | |
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 | 1006 trap 'exit_status=$? |
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 | 1017 { |
1018 (set) 2>&1 | | |
1019 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | |
1020 *ac_space=\ *) | |
1021 sed -n \ | |
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 | 1024 ;; |
1025 *) | |
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 | 1028 ;; |
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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1039 sed "/^$/d" 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
|
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 | 1048 exit $exit_status |
1049 ' 0 | |
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 | 1052 done |
1053 ac_signal=0 | |
1054 | |
1055 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1056 rm -rf conftest* confdefs.h | |
1057 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1058 echo >confdefs.h | |
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 | 1087 # Let the site file select an alternate cache file if it wants to. |
1088 # Prefer explicitly selected file to automatically selected ones. | |
1089 if test -z "$CONFIG_SITE"; then | |
1090 if test "x$prefix" != xNONE; then | |
1091 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
1092 else | |
1093 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
1094 fi | |
1095 fi | |
1096 for ac_site_file in $CONFIG_SITE; do | |
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 | 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 | 1101 . "$ac_site_file" |
1102 fi | |
1103 done | |
1104 | |
1105 if test -r "$cache_file"; then | |
1106 # Some versions of bash will fail to source /dev/null (special | |
1107 # files actually), so we avoid doing that. | |
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 | 1110 echo "$as_me: loading cache $cache_file" >&6;} |
1111 case $cache_file in | |
1112 [\\/]* | ?:[\\/]* ) . $cache_file;; | |
1113 *) . ./$cache_file;; | |
1114 esac | |
1115 fi | |
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 | 1118 echo "$as_me: creating cache $cache_file" >&6;} |
1119 >$cache_file | |
1120 fi | |
1121 | |
1122 # Check that the precious variables saved in the cache have kept the same | |
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 | 1125 for ac_var in `(set) 2>&1 | |
1126 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1127 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1128 eval ac_new_set=\$ac_env_${ac_var}_set | |
1129 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | |
1130 eval ac_new_val="\$ac_env_${ac_var}_value" | |
1131 case $ac_old_set,$ac_new_set in | |
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 | 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 | 1140 ,);; |
1141 *) | |
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 | 1150 fi;; |
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 | 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 | 1171 fi |
1172 | |
1173 ac_ext=c | |
1174 ac_cpp='$CPP $CPPFLAGS' | |
1175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1177 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
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 | 1195 |
1196 ac_config_headers="$ac_config_headers config.h" | |
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__ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1205 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1206 |
7d2108cbcd3e
Porting DW 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 |
3 | 1209 INCLUDES="-I." |
1210 | |
1211 ac_ext=c | |
1212 ac_cpp='$CPP $CPPFLAGS' | |
1213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1215 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1216 if test -n "$ac_tool_prefix"; then | |
1217 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
1218 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
|
1219 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1221 if test "${ac_cv_prog_CC+set}" = set; then | |
1222 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1223 else | |
1224 if test -n "$CC"; then | |
1225 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1226 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
|
1227 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
|
1228 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
|
1229 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
|
1230 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
|
1231 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
|
1232 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
|
1233 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
|
1234 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
|
1235 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
|
1236 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
|
1237 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
|
1238 done |
3 | 1239 done |
1240 | |
1241 fi | |
1242 fi | |
1243 CC=$ac_cv_prog_CC | |
1244 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
|
1245 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1246 echo "${ECHO_T}$CC" >&6 |
1247 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
|
1248 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1249 echo "${ECHO_T}no" >&6 |
1250 fi | |
1251 | |
1252 fi | |
1253 if test -z "$ac_cv_prog_CC"; then | |
1254 ac_ct_CC=$CC | |
1255 # Extract the first word of "gcc", so it can be a program name with args. | |
1256 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
|
1257 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1259 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1260 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1261 else | |
1262 if test -n "$ac_ct_CC"; then | |
1263 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1264 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
|
1265 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
|
1266 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
|
1267 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
|
1268 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
|
1269 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
|
1270 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
|
1271 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
|
1272 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
|
1273 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
|
1274 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
|
1275 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
|
1276 done |
3 | 1277 done |
1278 | |
1279 fi | |
1280 fi | |
1281 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1282 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
|
1283 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3 | 1284 echo "${ECHO_T}$ac_ct_CC" >&6 |
1285 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
|
1286 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1287 echo "${ECHO_T}no" >&6 |
1288 fi | |
1289 | |
1290 CC=$ac_ct_CC | |
1291 else | |
1292 CC="$ac_cv_prog_CC" | |
1293 fi | |
1294 | |
1295 if test -z "$CC"; then | |
1296 if test -n "$ac_tool_prefix"; then | |
1297 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
1298 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
|
1299 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1301 if test "${ac_cv_prog_CC+set}" = set; then | |
1302 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1303 else | |
1304 if test -n "$CC"; then | |
1305 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1306 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
|
1307 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
|
1308 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
|
1309 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
|
1310 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
|
1311 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
|
1312 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
|
1313 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
|
1314 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
|
1315 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
|
1316 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
|
1317 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
|
1318 done |
3 | 1319 done |
1320 | |
1321 fi | |
1322 fi | |
1323 CC=$ac_cv_prog_CC | |
1324 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
|
1325 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1326 echo "${ECHO_T}$CC" >&6 |
1327 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
|
1328 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1329 echo "${ECHO_T}no" >&6 |
1330 fi | |
1331 | |
1332 fi | |
1333 if test -z "$ac_cv_prog_CC"; then | |
1334 ac_ct_CC=$CC | |
1335 # Extract the first word of "cc", so it can be a program name with args. | |
1336 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
|
1337 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1339 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1340 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1341 else | |
1342 if test -n "$ac_ct_CC"; then | |
1343 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1344 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
|
1345 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
|
1346 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
|
1347 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
|
1348 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
|
1349 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
|
1350 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
|
1351 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
|
1352 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
|
1353 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
|
1354 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
|
1355 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
|
1356 done |
3 | 1357 done |
1358 | |
1359 fi | |
1360 fi | |
1361 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1362 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
|
1363 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3 | 1364 echo "${ECHO_T}$ac_ct_CC" >&6 |
1365 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
|
1366 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1367 echo "${ECHO_T}no" >&6 |
1368 fi | |
1369 | |
1370 CC=$ac_ct_CC | |
1371 else | |
1372 CC="$ac_cv_prog_CC" | |
1373 fi | |
1374 | |
1375 fi | |
1376 if test -z "$CC"; then | |
1377 # Extract the first word of "cc", so it can be a program name with args. | |
1378 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
|
1379 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1381 if test "${ac_cv_prog_CC+set}" = set; then | |
1382 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1383 else | |
1384 if test -n "$CC"; then | |
1385 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1386 else | |
1387 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
|
1388 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
|
1389 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
|
1390 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
|
1391 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
|
1392 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
|
1393 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
|
1394 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
|
1395 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
|
1396 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
|
1397 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
|
1398 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
|
1399 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
|
1400 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
|
1401 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
|
1402 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
|
1403 done |
3 | 1404 done |
1405 | |
1406 if test $ac_prog_rejected = yes; then | |
1407 # We found a bogon in the path, so make sure we never use it. | |
1408 set dummy $ac_cv_prog_CC | |
1409 shift | |
1410 if test $# != 0; then | |
1411 # We chose a different compiler from the bogus one. | |
1412 # However, it has the same basename, so the bogon will be chosen | |
1413 # first if we set CC to just the basename; use the full file name. | |
1414 shift | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1415 set dummy "$as_dir/$ac_word" ${1+"$@"} |
3 | 1416 shift |
1417 ac_cv_prog_CC="$@" | |
1418 fi | |
1419 fi | |
1420 fi | |
1421 fi | |
1422 CC=$ac_cv_prog_CC | |
1423 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
|
1424 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1425 echo "${ECHO_T}$CC" >&6 |
1426 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
|
1427 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1428 echo "${ECHO_T}no" >&6 |
1429 fi | |
1430 | |
1431 fi | |
1432 if test -z "$CC"; then | |
1433 if test -n "$ac_tool_prefix"; then | |
1434 for ac_prog in cl | |
1435 do | |
1436 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
1437 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
|
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1440 if test "${ac_cv_prog_CC+set}" = set; then | |
1441 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1442 else | |
1443 if test -n "$CC"; then | |
1444 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1445 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
|
1446 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
|
1447 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
|
1448 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
|
1449 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
|
1450 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
|
1451 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
|
1452 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
|
1453 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
|
1454 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
|
1455 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
|
1456 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
|
1457 done |
3 | 1458 done |
1459 | |
1460 fi | |
1461 fi | |
1462 CC=$ac_cv_prog_CC | |
1463 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
|
1464 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1465 echo "${ECHO_T}$CC" >&6 |
1466 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
|
1467 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1468 echo "${ECHO_T}no" >&6 |
1469 fi | |
1470 | |
1471 test -n "$CC" && break | |
1472 done | |
1473 fi | |
1474 if test -z "$CC"; then | |
1475 ac_ct_CC=$CC | |
1476 for ac_prog in cl | |
1477 do | |
1478 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
1479 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
|
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1483 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1484 else | |
1485 if test -n "$ac_ct_CC"; then | |
1486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1487 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
|
1488 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
|
1489 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
|
1490 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
|
1491 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
|
1492 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
|
1493 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
|
1494 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
|
1495 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
|
1496 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
|
1497 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
|
1498 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
|
1499 done |
3 | 1500 done |
1501 | |
1502 fi | |
1503 fi | |
1504 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1505 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
|
1506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3 | 1507 echo "${ECHO_T}$ac_ct_CC" >&6 |
1508 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
|
1509 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1510 echo "${ECHO_T}no" >&6 |
1511 fi | |
1512 | |
1513 test -n "$ac_ct_CC" && break | |
1514 done | |
1515 | |
1516 CC=$ac_ct_CC | |
1517 fi | |
1518 | |
1519 fi | |
1520 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1521 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1522 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$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
|
1523 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
3 | 1524 { (exit 1); exit 1; }; } |
1525 | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1526 # 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
|
1527 echo "$as_me:$LINENO:" \ |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1528 "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
|
1529 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
|
1530 { (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
|
1531 (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
|
1532 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
|
1533 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
|
1534 (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
|
1535 { (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
|
1536 (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
|
1537 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
|
1538 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
|
1539 (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
|
1540 { (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
|
1541 (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
|
1542 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
|
1543 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
|
1544 (exit $ac_status); } |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1545 |
3 | 1546 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
|
1547 #line $LINENO "configure" |
3 | 1548 #include "confdefs.h" |
1549 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1550 #ifdef F77_DUMMY_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
|
1551 # 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
|
1552 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
|
1553 # 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
|
1554 int F77_DUMMY_MAIN() { return 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
|
1555 #endif |
3 | 1556 int |
1557 main () | |
1558 { | |
1559 | |
1560 ; | |
1561 return 0; | |
1562 } | |
1563 _ACEOF | |
1564 ac_clean_files_save=$ac_clean_files | |
1565 ac_clean_files="$ac_clean_files a.out a.exe" | |
1566 # 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
|
1567 # It will help us diagnose broken compilers, and finding out an intuition |
3 | 1568 # 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
|
1569 echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
3 | 1570 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1571 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
|
1572 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
3 | 1573 (eval $ac_link_default) 2>&5 |
1574 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
|
1575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1576 (exit $ac_status); }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1577 # 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
|
1578 # 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
|
1579 # 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
|
1580 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1581 # 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
|
1582 # 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
|
1583 ac_cv_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
|
1584 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1585 ls a.out conftest 2>/dev/null; |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1586 ls a.* conftest.* 2>/dev/null`; do |
3 | 1587 case $ac_file in |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1588 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; |
3 | 1589 a.out ) # We found the default executable, but exeext='' is most |
1590 # certainly right. | |
1591 break;; | |
1592 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1593 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
3 | 1594 export ac_cv_exeext |
1595 break;; | |
1596 * ) break;; | |
1597 esac | |
1598 done | |
1599 else | |
1600 echo "$as_me: failed program was:" >&5 | |
1601 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
|
1602 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
3 | 1603 echo "$as_me: error: C compiler cannot create executables" >&2;} |
1604 { (exit 77); exit 77; }; } | |
1605 fi | |
1606 | |
1607 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
|
1608 echo "$as_me:$LINENO: result: $ac_file" >&5 |
3 | 1609 echo "${ECHO_T}$ac_file" >&6 |
1610 | |
1611 # Check the compiler produces executables we can run. If not, either | |
1612 # 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
|
1613 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3 | 1614 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1615 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
1616 # If not cross compiling, check that we can run a simple program. | |
1617 if test "$cross_compiling" != yes; then | |
1618 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
|
1619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1620 (eval $ac_try) 2>&5 |
1621 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
|
1622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1623 (exit $ac_status); }; }; then |
1624 cross_compiling=no | |
1625 else | |
1626 if test "$cross_compiling" = maybe; then | |
1627 cross_compiling=yes | |
1628 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
|
1629 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
3 | 1630 If you meant to cross compile, use \`--host'." >&5 |
1631 echo "$as_me: error: cannot run C compiled programs. | |
1632 If you meant to cross compile, use \`--host'." >&2;} | |
1633 { (exit 1); exit 1; }; } | |
1634 fi | |
1635 fi | |
1636 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
|
1637 echo "$as_me:$LINENO: result: yes" >&5 |
3 | 1638 echo "${ECHO_T}yes" >&6 |
1639 | |
1640 rm -f a.out a.exe conftest$ac_cv_exeext | |
1641 ac_clean_files=$ac_clean_files_save | |
1642 # Check the compiler produces executables we can run. If not, either | |
1643 # 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
|
1644 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3 | 1645 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
|
1646 echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3 | 1647 echo "${ECHO_T}$cross_compiling" >&6 |
1648 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1649 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
|
1650 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
|
1651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 1652 (eval $ac_link) 2>&5 |
1653 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
|
1654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1655 (exit $ac_status); }; then |
1656 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
1657 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
1658 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
1659 # `rm'. | |
1660 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | |
1661 case $ac_file in | |
1662 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | |
1663 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1664 export ac_cv_exeext | |
1665 break;; | |
1666 * ) break;; | |
1667 esac | |
1668 done | |
1669 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
|
1670 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and 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
|
1671 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
3 | 1672 { (exit 1); exit 1; }; } |
1673 fi | |
1674 | |
1675 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
|
1676 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3 | 1677 echo "${ECHO_T}$ac_cv_exeext" >&6 |
1678 | |
1679 rm -f conftest.$ac_ext | |
1680 EXEEXT=$ac_cv_exeext | |
1681 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
|
1682 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
|
1683 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
3 | 1684 if test "${ac_cv_objext+set}" = set; then |
1685 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1686 else | |
1687 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
|
1688 #line $LINENO "configure" |
3 | 1689 #include "confdefs.h" |
1690 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1691 #ifdef F77_DUMMY_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
|
1692 # 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
|
1693 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
|
1694 # 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
|
1695 int F77_DUMMY_MAIN() { return 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
|
1696 #endif |
3 | 1697 int |
1698 main () | |
1699 { | |
1700 | |
1701 ; | |
1702 return 0; | |
1703 } | |
1704 _ACEOF | |
1705 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
|
1706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1707 (eval $ac_compile) 2>&5 |
1708 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
|
1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1710 (exit $ac_status); }; then |
1711 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | |
1712 case $ac_file in | |
1713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | |
1714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
1715 break;; | |
1716 esac | |
1717 done | |
1718 else | |
1719 echo "$as_me: failed program was:" >&5 | |
1720 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
|
1721 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot 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
|
1722 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
3 | 1723 { (exit 1); exit 1; }; } |
1724 fi | |
1725 | |
1726 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
1727 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
|
1728 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3 | 1729 echo "${ECHO_T}$ac_cv_objext" >&6 |
1730 OBJEXT=$ac_cv_objext | |
1731 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
|
1732 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3 | 1733 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1734 if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
1735 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1736 else | |
1737 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
|
1738 #line $LINENO "configure" |
3 | 1739 #include "confdefs.h" |
1740 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1741 #ifdef F77_DUMMY_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
|
1742 # 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
|
1743 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
|
1744 # 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
|
1745 int F77_DUMMY_MAIN() { return 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
|
1746 #endif |
3 | 1747 int |
1748 main () | |
1749 { | |
1750 #ifndef __GNUC__ | |
1751 choke me | |
1752 #endif | |
1753 | |
1754 ; | |
1755 return 0; | |
1756 } | |
1757 _ACEOF | |
1758 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
|
1759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1760 (eval $ac_compile) 2>&5 |
1761 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
|
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1763 (exit $ac_status); } && |
1764 { 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
|
1765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1766 (eval $ac_try) 2>&5 |
1767 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
|
1768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1769 (exit $ac_status); }; }; then |
1770 ac_compiler_gnu=yes | |
1771 else | |
1772 echo "$as_me: failed program was:" >&5 | |
1773 cat conftest.$ac_ext >&5 | |
1774 ac_compiler_gnu=no | |
1775 fi | |
1776 rm -f conftest.$ac_objext conftest.$ac_ext | |
1777 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
1778 | |
1779 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
|
1780 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3 | 1781 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1782 GCC=`test $ac_compiler_gnu = yes && echo yes` | |
1783 ac_test_CFLAGS=${CFLAGS+set} | |
1784 ac_save_CFLAGS=$CFLAGS | |
1785 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
|
1786 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3 | 1787 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1788 if test "${ac_cv_prog_cc_g+set}" = set; then | |
1789 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1790 else | |
1791 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
|
1792 #line $LINENO "configure" |
3 | 1793 #include "confdefs.h" |
1794 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1795 #ifdef F77_DUMMY_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
|
1796 # 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
|
1797 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
|
1798 # 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
|
1799 int F77_DUMMY_MAIN() { return 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
|
1800 #endif |
3 | 1801 int |
1802 main () | |
1803 { | |
1804 | |
1805 ; | |
1806 return 0; | |
1807 } | |
1808 _ACEOF | |
1809 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
|
1810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1811 (eval $ac_compile) 2>&5 |
1812 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
|
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1814 (exit $ac_status); } && |
1815 { 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
|
1816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1817 (eval $ac_try) 2>&5 |
1818 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
|
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1820 (exit $ac_status); }; }; then |
1821 ac_cv_prog_cc_g=yes | |
1822 else | |
1823 echo "$as_me: failed program was:" >&5 | |
1824 cat conftest.$ac_ext >&5 | |
1825 ac_cv_prog_cc_g=no | |
1826 fi | |
1827 rm -f conftest.$ac_objext conftest.$ac_ext | |
1828 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
|
1829 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3 | 1830 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1831 if test "$ac_test_CFLAGS" = set; then | |
1832 CFLAGS=$ac_save_CFLAGS | |
1833 elif test $ac_cv_prog_cc_g = yes; then | |
1834 if test "$GCC" = yes; then | |
1835 CFLAGS="-g -O2" | |
1836 else | |
1837 CFLAGS="-g" | |
1838 fi | |
1839 else | |
1840 if test "$GCC" = yes; then | |
1841 CFLAGS="-O2" | |
1842 else | |
1843 CFLAGS= | |
1844 fi | |
1845 fi | |
1846 # Some people use a C++ compiler to compile C. Since we use `exit', | |
1847 # in C++ we need to declare it. In case someone uses the same compiler | |
1848 # for both compiling C and C++ we need to have the C++ compiler decide | |
1849 # the declaration of exit, since it's the most demanding environment. | |
1850 cat >conftest.$ac_ext <<_ACEOF | |
1851 #ifndef __cplusplus | |
1852 choke me | |
1853 #endif | |
1854 _ACEOF | |
1855 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
|
1856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1857 (eval $ac_compile) 2>&5 |
1858 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
|
1859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1860 (exit $ac_status); } && |
1861 { 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
|
1862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1863 (eval $ac_try) 2>&5 |
1864 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
|
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1866 (exit $ac_status); }; }; then |
1867 for ac_declaration in \ | |
1868 ''\ | |
1869 '#include <stdlib.h>' \ | |
1870 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
1871 'extern "C" void std::exit (int); using std::exit;' \ | |
1872 'extern "C" void exit (int) throw ();' \ | |
1873 'extern "C" void exit (int);' \ | |
1874 'void exit (int);' | |
1875 do | |
1876 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
|
1877 #line $LINENO "configure" |
3 | 1878 #include "confdefs.h" |
1879 #include <stdlib.h> | |
1880 $ac_declaration | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1881 #ifdef F77_DUMMY_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
|
1882 # 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
|
1883 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
|
1884 # 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
|
1885 int F77_DUMMY_MAIN() { return 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
|
1886 #endif |
3 | 1887 int |
1888 main () | |
1889 { | |
1890 exit (42); | |
1891 ; | |
1892 return 0; | |
1893 } | |
1894 _ACEOF | |
1895 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
|
1896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1897 (eval $ac_compile) 2>&5 |
1898 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
|
1899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1900 (exit $ac_status); } && |
1901 { 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
|
1902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1903 (eval $ac_try) 2>&5 |
1904 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
|
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1906 (exit $ac_status); }; }; then |
1907 : | |
1908 else | |
1909 echo "$as_me: failed program was:" >&5 | |
1910 cat conftest.$ac_ext >&5 | |
1911 continue | |
1912 fi | |
1913 rm -f conftest.$ac_objext conftest.$ac_ext | |
1914 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
|
1915 #line $LINENO "configure" |
3 | 1916 #include "confdefs.h" |
1917 $ac_declaration | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1918 #ifdef F77_DUMMY_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
|
1919 # 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
|
1920 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
|
1921 # 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
|
1922 int F77_DUMMY_MAIN() { return 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
|
1923 #endif |
3 | 1924 int |
1925 main () | |
1926 { | |
1927 exit (42); | |
1928 ; | |
1929 return 0; | |
1930 } | |
1931 _ACEOF | |
1932 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
|
1933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1934 (eval $ac_compile) 2>&5 |
1935 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
|
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1937 (exit $ac_status); } && |
1938 { 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
|
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1940 (eval $ac_try) 2>&5 |
1941 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
|
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1943 (exit $ac_status); }; }; then |
1944 break | |
1945 else | |
1946 echo "$as_me: failed program was:" >&5 | |
1947 cat conftest.$ac_ext >&5 | |
1948 fi | |
1949 rm -f conftest.$ac_objext conftest.$ac_ext | |
1950 done | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1951 rm -f conftest* |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1952 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
|
1953 echo '#ifdef __cplusplus' >>confdefs.h |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1954 echo $ac_declaration >>confdefs.h |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1955 echo '#endif' >>confdefs.h |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1956 fi |
3 | 1957 |
1958 else | |
1959 echo "$as_me: failed program was:" >&5 | |
1960 cat conftest.$ac_ext >&5 | |
1961 fi | |
1962 rm -f conftest.$ac_objext conftest.$ac_ext | |
1963 ac_ext=c | |
1964 ac_cpp='$CPP $CPPFLAGS' | |
1965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1967 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1968 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1969 |
3 | 1970 # Extract the first word of "gmake", so it can be a program name with args. |
1971 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
|
1972 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1974 if test "${ac_cv_prog_MAKE+set}" = set; then | |
1975 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1976 else | |
1977 if test -n "$MAKE"; then | |
1978 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
1979 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
|
1980 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
|
1981 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
|
1982 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
|
1983 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
|
1984 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
|
1985 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
|
1986 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
|
1987 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
|
1988 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
|
1989 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
|
1990 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
|
1991 done |
3 | 1992 done |
1993 | |
1994 fi | |
1995 fi | |
1996 MAKE=$ac_cv_prog_MAKE | |
1997 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
|
1998 echo "$as_me:$LINENO: result: $MAKE" >&5 |
3 | 1999 echo "${ECHO_T}$MAKE" >&6 |
2000 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
|
2001 echo "$as_me:$LINENO: result: no" >&5 |
3 | 2002 echo "${ECHO_T}no" >&6 |
2003 fi | |
2004 | |
2005 if test x"$MAKE" = x; then | |
2006 # Extract the first word of "make", so it can be a program name with args. | |
2007 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
|
2008 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2010 if test "${ac_cv_prog_MAKE+set}" = set; then | |
2011 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2012 else | |
2013 if test -n "$MAKE"; then | |
2014 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
2015 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
|
2016 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
|
2017 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
|
2018 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
|
2019 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
|
2020 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
|
2021 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
|
2022 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
|
2023 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
|
2024 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
|
2025 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
|
2026 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
|
2027 done |
3 | 2028 done |
2029 | |
2030 fi | |
2031 fi | |
2032 MAKE=$ac_cv_prog_MAKE | |
2033 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
|
2034 echo "$as_me:$LINENO: result: $MAKE" >&5 |
3 | 2035 echo "${ECHO_T}$MAKE" >&6 |
2036 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
|
2037 echo "$as_me:$LINENO: result: no" >&5 |
3 | 2038 echo "${ECHO_T}no" >&6 |
2039 fi | |
2040 | |
2041 fi | |
2042 | |
2043 ac_aux_dir= | |
2044 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
2045 if test -f $ac_dir/install-sh; then | |
2046 ac_aux_dir=$ac_dir | |
2047 ac_install_sh="$ac_aux_dir/install-sh -c" | |
2048 break | |
2049 elif test -f $ac_dir/install.sh; then | |
2050 ac_aux_dir=$ac_dir | |
2051 ac_install_sh="$ac_aux_dir/install.sh -c" | |
2052 break | |
2053 elif test -f $ac_dir/shtool; then | |
2054 ac_aux_dir=$ac_dir | |
2055 ac_install_sh="$ac_aux_dir/shtool install -c" | |
2056 break | |
2057 fi | |
2058 done | |
2059 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
|
2060 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
3 | 2061 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2062 { (exit 1); exit 1; }; } | |
2063 fi | |
2064 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | |
2065 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | |
2066 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |
2067 | |
2068 # Find a good install program. We prefer a C program (faster), | |
2069 # so one script is as good as another. But avoid the broken or | |
2070 # incompatible versions: | |
2071 # SysV /etc/install, /usr/sbin/install | |
2072 # SunOS /usr/etc/install | |
2073 # IRIX /sbin/install | |
2074 # AIX /bin/install | |
2075 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
2076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2079 # ./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
|
2080 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
|
2081 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3 | 2082 if test -z "$INSTALL"; then |
2083 if test "${ac_cv_path_install+set}" = set; then | |
2084 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2085 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
|
2086 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
|
2087 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
|
2088 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
|
2089 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
|
2090 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
|
2091 # 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
|
2092 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
|
2093 ./ | .// | /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
|
2094 /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
|
2095 /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
|
2096 *) |
7d2108cbcd3e
Porting DW 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 # 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
|
2098 # 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
|
2099 # 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
|
2100 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
|
2101 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
|
2102 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
|
2103 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
|
2104 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
|
2105 # 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
|
2106 : |
7d2108cbcd3e
Porting DW 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 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
|
2108 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
|
2109 # 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
|
2110 : |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2111 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
|
2112 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
|
2113 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
|
2114 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
|
2115 fi |
3 | 2116 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
|
2117 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
|
2118 ;; |
7d2108cbcd3e
Porting DW 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 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
|
2120 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
|
2121 |
3 | 2122 |
2123 fi | |
2124 if test "${ac_cv_path_install+set}" = set; then | |
2125 INSTALL=$ac_cv_path_install | |
2126 else | |
2127 # As a last resort, use the slow shell script. We don't cache a | |
2128 # path for INSTALL within a source directory, because that will | |
2129 # break other packages using the cache if that directory is | |
2130 # removed, or if the path is relative. | |
2131 INSTALL=$ac_install_sh | |
2132 fi | |
2133 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
|
2134 echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3 | 2135 echo "${ECHO_T}$INSTALL" >&6 |
2136 | |
2137 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2138 # It thinks the first close brace ends the variable substitution. | |
2139 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2140 | |
2141 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2142 | |
2143 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2144 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2145 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2146 |
7d2108cbcd3e
Porting DW 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 |
3 | 2149 ac_ext=c |
2150 ac_cpp='$CPP $CPPFLAGS' | |
2151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2153 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
|
2154 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3 | 2155 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2156 # On Suns, sometimes $CPP names a directory. | |
2157 if test -n "$CPP" && test -d "$CPP"; then | |
2158 CPP= | |
2159 fi | |
2160 if test -z "$CPP"; then | |
2161 if test "${ac_cv_prog_CPP+set}" = set; then | |
2162 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2163 else | |
2164 # Double quotes because CPP needs to be expanded | |
2165 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
2166 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2167 ac_preproc_ok=false |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2168 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
|
2169 do |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2170 # 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
|
2171 # 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
|
2172 # 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
|
2173 # 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
|
2174 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
|
2175 #line $LINENO "configure" |
3 | 2176 #include "confdefs.h" |
2177 #include <assert.h> | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2178 Syntax error |
3 | 2179 _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
|
2180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2182 ac_status=$? | |
2183 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2184 rm -f conftest.er1 | |
2185 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
|
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2187 (exit $ac_status); } >/dev/null; then |
2188 if test -s conftest.err; then | |
2189 ac_cpp_err=$ac_c_preproc_warn_flag | |
2190 else | |
2191 ac_cpp_err= | |
2192 fi | |
2193 else | |
2194 ac_cpp_err=yes | |
2195 fi | |
2196 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
|
2197 : |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2198 else |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2199 echo "$as_me: failed program was:" >&5 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2200 cat conftest.$ac_ext >&5 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2201 # Broken: fails on valid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2202 continue |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2203 fi |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2204 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
|
2205 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2206 # 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
|
2207 # can be detected and how. |
3 | 2208 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
|
2209 #line $LINENO "configure" |
3 | 2210 #include "confdefs.h" |
2211 #include <ac_nonexistent.h> | |
2212 _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
|
2213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2215 ac_status=$? | |
2216 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2217 rm -f conftest.er1 | |
2218 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
|
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2220 (exit $ac_status); } >/dev/null; then |
2221 if test -s conftest.err; then | |
2222 ac_cpp_err=$ac_c_preproc_warn_flag | |
2223 else | |
2224 ac_cpp_err= | |
2225 fi | |
2226 else | |
2227 ac_cpp_err=yes | |
2228 fi | |
2229 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
|
2230 # Broken: success on invalid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2231 continue |
3 | 2232 else |
2233 echo "$as_me: failed program was:" >&5 | |
2234 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
|
2235 # Passes both tests. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2236 ac_preproc_ok=: |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2237 break |
3 | 2238 fi |
2239 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
|
2240 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2241 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2242 # 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
|
2243 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
|
2244 if $ac_preproc_ok; then |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2245 break |
3 | 2246 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2247 |
3 | 2248 done |
2249 ac_cv_prog_CPP=$CPP | |
2250 | |
2251 fi | |
2252 CPP=$ac_cv_prog_CPP | |
2253 else | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2254 ac_cv_prog_CPP=$CPP |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2255 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
|
2256 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
|
2257 echo "${ECHO_T}$CPP" >&6 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2258 ac_preproc_ok=false |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2259 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
|
2260 do |
3 | 2261 # 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
|
2262 # 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
|
2263 # 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
|
2264 # 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
|
2265 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
|
2266 #line $LINENO "configure" |
3 | 2267 #include "confdefs.h" |
2268 #include <assert.h> | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2269 Syntax error |
3 | 2270 _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
|
2271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2273 ac_status=$? | |
2274 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2275 rm -f conftest.er1 | |
2276 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
|
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2278 (exit $ac_status); } >/dev/null; then |
2279 if test -s conftest.err; then | |
2280 ac_cpp_err=$ac_c_preproc_warn_flag | |
2281 else | |
2282 ac_cpp_err= | |
2283 fi | |
2284 else | |
2285 ac_cpp_err=yes | |
2286 fi | |
2287 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
|
2288 : |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2289 else |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2290 echo "$as_me: failed program was:" >&5 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2291 cat conftest.$ac_ext >&5 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2292 # Broken: fails on valid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2293 continue |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2294 fi |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2295 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
|
2296 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2297 # 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
|
2298 # can be detected and how. |
3 | 2299 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
|
2300 #line $LINENO "configure" |
3 | 2301 #include "confdefs.h" |
2302 #include <ac_nonexistent.h> | |
2303 _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
|
2304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2306 ac_status=$? | |
2307 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2308 rm -f conftest.er1 | |
2309 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
|
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2311 (exit $ac_status); } >/dev/null; then |
2312 if test -s conftest.err; then | |
2313 ac_cpp_err=$ac_c_preproc_warn_flag | |
2314 else | |
2315 ac_cpp_err= | |
2316 fi | |
2317 else | |
2318 ac_cpp_err=yes | |
2319 fi | |
2320 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
|
2321 # Broken: success on invalid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2322 continue |
3 | 2323 else |
2324 echo "$as_me: failed program was:" >&5 | |
2325 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
|
2326 # Passes both tests. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2327 ac_preproc_ok=: |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2328 break |
3 | 2329 fi |
2330 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
|
2331 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2332 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3 | 2334 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
|
2335 if $ac_preproc_ok; then |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2336 : |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2337 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
|
2338 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
3 | 2339 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
2340 { (exit 1); exit 1; }; } | |
2341 fi | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2342 |
3 | 2343 ac_ext=c |
2344 ac_cpp='$CPP $CPPFLAGS' | |
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2348 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2349 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2350 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3 | 2351 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
2352 if test "${ac_cv_header_stdc+set}" = set; then | |
2353 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2354 else | |
2355 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
|
2356 #line $LINENO "configure" |
3 | 2357 #include "confdefs.h" |
2358 #include <stdlib.h> | |
2359 #include <stdarg.h> | |
2360 #include <string.h> | |
2361 #include <float.h> | |
2362 | |
2363 _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
|
2364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2366 ac_status=$? | |
2367 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2368 rm -f conftest.er1 | |
2369 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
|
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2371 (exit $ac_status); } >/dev/null; then |
2372 if test -s conftest.err; then | |
2373 ac_cpp_err=$ac_c_preproc_warn_flag | |
2374 else | |
2375 ac_cpp_err= | |
2376 fi | |
2377 else | |
2378 ac_cpp_err=yes | |
2379 fi | |
2380 if test -z "$ac_cpp_err"; then | |
2381 ac_cv_header_stdc=yes | |
2382 else | |
2383 echo "$as_me: failed program was:" >&5 | |
2384 cat conftest.$ac_ext >&5 | |
2385 ac_cv_header_stdc=no | |
2386 fi | |
2387 rm -f conftest.err conftest.$ac_ext | |
2388 | |
2389 if test $ac_cv_header_stdc = yes; then | |
2390 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
2391 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
|
2392 #line $LINENO "configure" |
3 | 2393 #include "confdefs.h" |
2394 #include <string.h> | |
2395 | |
2396 _ACEOF | |
2397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
2398 egrep "memchr" >/dev/null 2>&1; then | |
2399 : | |
2400 else | |
2401 ac_cv_header_stdc=no | |
2402 fi | |
2403 rm -f conftest* | |
2404 | |
2405 fi | |
2406 | |
2407 if test $ac_cv_header_stdc = yes; then | |
2408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
2409 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
|
2410 #line $LINENO "configure" |
3 | 2411 #include "confdefs.h" |
2412 #include <stdlib.h> | |
2413 | |
2414 _ACEOF | |
2415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
2416 egrep "free" >/dev/null 2>&1; then | |
2417 : | |
2418 else | |
2419 ac_cv_header_stdc=no | |
2420 fi | |
2421 rm -f conftest* | |
2422 | |
2423 fi | |
2424 | |
2425 if test $ac_cv_header_stdc = yes; then | |
2426 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
2427 if test "$cross_compiling" = yes; then | |
2428 : | |
2429 else | |
2430 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
|
2431 #line $LINENO "configure" |
3 | 2432 #include "confdefs.h" |
2433 #include <ctype.h> | |
2434 #if ((' ' & 0x0FF) == 0x020) | |
2435 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
2436 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
2437 #else | |
2438 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | |
2439 || ('j' <= (c) && (c) <= 'r') \ | |
2440 || ('s' <= (c) && (c) <= 'z')) | |
2441 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
2442 #endif | |
2443 | |
2444 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
2445 int | |
2446 main () | |
2447 { | |
2448 int i; | |
2449 for (i = 0; i < 256; i++) | |
2450 if (XOR (islower (i), ISLOWER (i)) | |
2451 || toupper (i) != TOUPPER (i)) | |
2452 exit(2); | |
2453 exit (0); | |
2454 } | |
2455 _ACEOF | |
2456 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
|
2457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 2458 (eval $ac_link) 2>&5 |
2459 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
|
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2461 (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
|
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2463 (eval $ac_try) 2>&5 |
2464 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
|
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2466 (exit $ac_status); }; }; then |
2467 : | |
2468 else | |
2469 echo "$as_me: program exited with status $ac_status" >&5 | |
2470 echo "$as_me: failed program was:" >&5 | |
2471 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
|
2472 ( exit $ac_status ) |
3 | 2473 ac_cv_header_stdc=no |
2474 fi | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2475 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3 | 2476 fi |
2477 fi | |
2478 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
|
2479 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3 | 2480 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
2481 if test $ac_cv_header_stdc = yes; then | |
2482 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2483 cat >>confdefs.h <<\_ACEOF |
3 | 2484 #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
|
2485 _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
|
2486 |
7d2108cbcd3e
Porting DW 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 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
|
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 |
7d2108cbcd3e
Porting DW 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 |
3 | 2493 |
2494 ac_header_dirent=no | |
2495 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
|
2496 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
|
2497 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
3 | 2498 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
|
2499 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3 | 2500 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2501 else | |
2502 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
|
2503 #line $LINENO "configure" |
3 | 2504 #include "confdefs.h" |
2505 #include <sys/types.h> | |
2506 #include <$ac_hdr> | |
2507 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2508 #ifdef F77_DUMMY_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
|
2509 # 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
|
2510 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
|
2511 # 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
|
2512 int F77_DUMMY_MAIN() { return 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
|
2513 #endif |
3 | 2514 int |
2515 main () | |
2516 { | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2517 if ((DIR *) 0) |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2518 return 0; |
3 | 2519 ; |
2520 return 0; | |
2521 } | |
2522 _ACEOF | |
2523 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
|
2524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 2525 (eval $ac_compile) 2>&5 |
2526 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
|
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2528 (exit $ac_status); } && |
2529 { 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
|
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2531 (eval $ac_try) 2>&5 |
2532 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
|
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2534 (exit $ac_status); }; }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2535 eval "$as_ac_Header=yes" |
3 | 2536 else |
2537 echo "$as_me: failed program was:" >&5 | |
2538 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
|
2539 eval "$as_ac_Header=no" |
3 | 2540 fi |
2541 rm -f conftest.$ac_objext conftest.$ac_ext | |
2542 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
|
2543 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
|
2544 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
|
2545 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
|
2546 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2547 #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
|
2548 _ACEOF |
3 | 2549 |
2550 ac_header_dirent=$ac_hdr; break | |
2551 fi | |
2552 | |
2553 done | |
2554 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | |
2555 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
|
2556 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
|
2557 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
|
2558 if test "${ac_cv_search_opendir+set}" = set; then |
3 | 2559 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2560 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
|
2561 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
|
2562 ac_cv_search_opendir=no |
3 | 2563 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
|
2564 #line $LINENO "configure" |
3 | 2565 #include "confdefs.h" |
2566 | |
2567 /* Override any gcc2 internal prototype to avoid an error. */ | |
2568 #ifdef __cplusplus | |
2569 extern "C" | |
2570 #endif | |
2571 /* We use char because int might match the return type of a gcc2 | |
2572 builtin and then its argument prototype would still apply. */ | |
2573 char opendir (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2574 #ifdef F77_DUMMY_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
|
2575 # 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
|
2576 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
|
2577 # 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
|
2578 int F77_DUMMY_MAIN() { return 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
|
2579 #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
|
2580 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
|
2581 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
|
2582 { |
7d2108cbcd3e
Porting DW 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 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
|
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 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
|
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 _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
|
2588 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
|
2589 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
|
2590 (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
|
2591 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
|
2592 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
|
2593 (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
|
2594 { 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
|
2595 { (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
|
2596 (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
|
2597 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
|
2598 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
|
2599 (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
|
2600 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
|
2601 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
|
2602 echo "$as_me: failed program was:" >&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
|
2603 cat conftest.$ac_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
|
2604 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
|
2605 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
|
2606 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
|
2607 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
|
2608 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
|
2609 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
|
2610 #line $LINENO "configure" |
7d2108cbcd3e
Porting DW 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 #include "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
|
2612 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2613 /* 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
|
2614 #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
|
2615 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
|
2616 #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
|
2617 /* 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
|
2618 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
|
2619 char 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
|
2620 #ifdef F77_DUMMY_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
|
2621 # 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
|
2622 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
|
2623 # 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
|
2624 int F77_DUMMY_MAIN() { return 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
|
2625 #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
|
2626 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
|
2627 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
|
2628 { |
7d2108cbcd3e
Porting DW 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 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
|
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 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
|
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 _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
|
2634 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
|
2635 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
|
2636 (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
|
2637 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
|
2638 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
|
2639 (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
|
2640 { 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
|
2641 { (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
|
2642 (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
|
2643 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
|
2644 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
|
2645 (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
|
2646 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
|
2647 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
|
2648 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
|
2649 echo "$as_me: failed program was:" >&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
|
2650 cat conftest.$ac_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
|
2651 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
|
2652 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
|
2653 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
|
2654 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
|
2655 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
|
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 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
|
2658 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
|
2659 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
|
2660 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
|
2661 |
7d2108cbcd3e
Porting DW 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 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
|
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 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
|
2665 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
|
2666 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
|
2667 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
|
2668 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
|
2669 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
|
2670 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
|
2671 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
|
2672 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
|
2673 #line $LINENO "configure" |
7d2108cbcd3e
Porting DW 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 #include "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
|
2675 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2676 /* 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
|
2677 #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
|
2678 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
|
2679 #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
|
2680 /* 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
|
2681 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
|
2682 char 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
|
2683 #ifdef F77_DUMMY_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
|
2684 # 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
|
2685 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
|
2686 # 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
|
2687 int F77_DUMMY_MAIN() { return 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
|
2688 #endif |
3 | 2689 int |
2690 main () | |
2691 { | |
2692 opendir (); | |
2693 ; | |
2694 return 0; | |
2695 } | |
2696 _ACEOF | |
2697 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
|
2698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 2699 (eval $ac_link) 2>&5 |
2700 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
|
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2702 (exit $ac_status); } && |
2703 { 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
|
2704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2705 (eval $ac_try) 2>&5 |
2706 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
|
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2708 (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
|
2709 ac_cv_search_opendir="none required" |
3 | 2710 else |
2711 echo "$as_me: failed program was:" >&5 | |
2712 cat conftest.$ac_ext >&5 | |
2713 fi | |
2714 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
|
2715 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
|
2716 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
|
2717 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
|
2718 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
|
2719 #line $LINENO "configure" |
3 | 2720 #include "confdefs.h" |
2721 | |
2722 /* Override any gcc2 internal prototype to avoid an error. */ | |
2723 #ifdef __cplusplus | |
2724 extern "C" | |
2725 #endif | |
2726 /* We use char because int might match the return type of a gcc2 | |
2727 builtin and then its argument prototype would still apply. */ | |
2728 char opendir (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2729 #ifdef F77_DUMMY_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
|
2730 # 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
|
2731 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
|
2732 # 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
|
2733 int F77_DUMMY_MAIN() { return 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
|
2734 #endif |
3 | 2735 int |
2736 main () | |
2737 { | |
2738 opendir (); | |
2739 ; | |
2740 return 0; | |
2741 } | |
2742 _ACEOF | |
2743 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
|
2744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 2745 (eval $ac_link) 2>&5 |
2746 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
|
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2748 (exit $ac_status); } && |
2749 { 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
|
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2751 (eval $ac_try) 2>&5 |
2752 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
|
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2754 (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
|
2755 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
|
2756 break |
3 | 2757 else |
2758 echo "$as_me: failed program was:" >&5 | |
2759 cat conftest.$ac_ext >&5 | |
2760 fi | |
2761 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
|
2762 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
|
2763 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
|
2764 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
|
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 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
|
2767 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
|
2768 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
|
2769 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
|
2770 |
7d2108cbcd3e
Porting DW 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 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
|
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 # 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
|
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 |
7d2108cbcd3e
Porting DW 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 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
|
2786 inttypes.h stdint.h unistd.h |
3 | 2787 do |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2788 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
|
2789 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3 | 2790 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
|
2791 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3 | 2792 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2793 else | |
2794 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
|
2795 #line $LINENO "configure" |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2796 #include "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
|
2797 $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
|
2798 |
7d2108cbcd3e
Porting DW 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 #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
|
2800 _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
|
2801 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
|
2802 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
|
2803 (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
|
2804 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
|
2805 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
|
2806 (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
|
2807 { 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
|
2808 { (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
|
2809 (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
|
2810 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
|
2811 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
|
2812 (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
|
2813 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
|
2814 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
|
2815 echo "$as_me: failed program was:" >&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
|
2816 cat conftest.$ac_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
|
2817 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
|
2818 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
|
2819 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
|
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 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
|
2822 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
|
2823 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
|
2824 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
|
2825 #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
|
2826 _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 |
7d2108cbcd3e
Porting DW 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 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
|
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 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
|
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 |
7d2108cbcd3e
Porting DW 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 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
|
2835 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
|
2836 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
|
2837 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
|
2838 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
|
2839 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
|
2840 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
|
2841 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
|
2842 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
|
2843 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
|
2844 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
|
2845 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
|
2846 # 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
|
2847 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
|
2848 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
|
2849 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
|
2850 #line $LINENO "configure" |
7d2108cbcd3e
Porting DW 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 #include "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
|
2852 $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
|
2853 #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
|
2854 _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
|
2855 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
|
2856 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
|
2857 (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
|
2858 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
|
2859 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
|
2860 (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
|
2861 { 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
|
2862 { (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
|
2863 (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
|
2864 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
|
2865 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
|
2866 (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
|
2867 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
|
2868 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
|
2869 echo "$as_me: failed program was:" >&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
|
2870 cat conftest.$ac_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
|
2871 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
|
2872 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
|
2873 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
|
2874 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
|
2875 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
|
2876 |
7d2108cbcd3e
Porting DW 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 # 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
|
2878 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
|
2879 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
|
2880 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
|
2881 #line $LINENO "configure" |
3 | 2882 #include "confdefs.h" |
2883 #include <$ac_header> | |
2884 _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
|
2885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2887 ac_status=$? | |
2888 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2889 rm -f conftest.er1 | |
2890 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
|
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2892 (exit $ac_status); } >/dev/null; then |
2893 if test -s conftest.err; then | |
2894 ac_cpp_err=$ac_c_preproc_warn_flag | |
2895 else | |
2896 ac_cpp_err= | |
2897 fi | |
2898 else | |
2899 ac_cpp_err=yes | |
2900 fi | |
2901 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
|
2902 ac_header_preproc=yes |
3 | 2903 else |
2904 echo "$as_me: failed program was:" >&5 | |
2905 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
|
2906 ac_header_preproc=no |
3 | 2907 fi |
2908 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
|
2909 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
|
2910 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
|
2911 |
7d2108cbcd3e
Porting DW 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 # 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
|
2913 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
|
2914 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
|
2915 { 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
|
2916 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
|
2917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&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: proceeding with the preprocessor's result" >&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 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
|
2920 { 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
|
2921 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
|
2922 { 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
|
2923 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
|
2924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&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: proceeding with the preprocessor's result" >&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 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
|
2927 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
|
2928 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
|
2929 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
|
2930 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
|
2931 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
|
2932 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
|
2933 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
|
2934 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
|
2935 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
|
2936 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2937 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2938 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
|
2939 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2940 #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
|
2941 _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
|
2942 |
7d2108cbcd3e
Porting DW 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 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
|
2944 |
3 | 2945 done |
2946 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2947 |
3 | 2948 for ac_header in sys/stat.h |
2949 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2950 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
|
2951 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
|
2952 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3 | 2953 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
|
2954 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3 | 2955 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
|
2956 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
|
2957 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
|
2958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3 | 2959 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
|
2960 # 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
|
2961 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
|
2962 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
|
2963 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
|
2964 #line $LINENO "configure" |
7d2108cbcd3e
Porting DW 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 #include "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
|
2966 $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
|
2967 #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
|
2968 _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
|
2969 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
|
2970 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
|
2971 (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
|
2972 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
|
2973 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
|
2974 (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
|
2975 { 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
|
2976 { (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
|
2977 (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
|
2978 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
|
2979 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
|
2980 (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
|
2981 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
|
2982 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
|
2983 echo "$as_me: failed program was:" >&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
|
2984 cat conftest.$ac_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
|
2985 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
|
2986 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
|
2987 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
|
2988 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
|
2989 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
|
2990 |
7d2108cbcd3e
Porting DW 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 # 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
|
2992 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
|
2993 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
|
2994 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
|
2995 #line $LINENO "configure" |
3 | 2996 #include "confdefs.h" |
2997 #include <$ac_header> | |
2998 _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
|
2999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 3000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3001 ac_status=$? | |
3002 egrep -v '^ *\+' conftest.er1 >conftest.err | |
3003 rm -f conftest.er1 | |
3004 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
|
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3006 (exit $ac_status); } >/dev/null; then |
3007 if test -s conftest.err; then | |
3008 ac_cpp_err=$ac_c_preproc_warn_flag | |
3009 else | |
3010 ac_cpp_err= | |
3011 fi | |
3012 else | |
3013 ac_cpp_err=yes | |
3014 fi | |
3015 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
|
3016 ac_header_preproc=yes |
3 | 3017 else |
3018 echo "$as_me: failed program was:" >&5 | |
3019 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
|
3020 ac_header_preproc=no |
3 | 3021 fi |
3022 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
|
3023 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
|
3024 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
|
3025 |
7d2108cbcd3e
Porting DW 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 # 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
|
3027 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
|
3028 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
|
3029 { 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
|
3030 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
|
3031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&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: proceeding with the preprocessor's result" >&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 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
|
3034 { 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
|
3035 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
|
3036 { 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
|
3037 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
|
3038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&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: proceeding with the preprocessor's result" >&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 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
|
3041 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
|
3042 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
|
3043 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
|
3044 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
|
3045 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
|
3046 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
|
3047 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
|
3048 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
|
3049 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
|
3050 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3051 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3052 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
|
3053 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3054 #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
|
3055 _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
|
3056 |
7d2108cbcd3e
Porting DW 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 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
|
3058 |
3 | 3059 done |
3060 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3061 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3062 |
3 | 3063 for ac_func in pipe |
3064 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3065 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
|
3066 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3 | 3067 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
|
3068 if eval "test \"\${$as_ac_var+set}\" = set"; then |
3 | 3069 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3070 else | |
3071 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
|
3072 #line $LINENO "configure" |
3 | 3073 #include "confdefs.h" |
3074 /* System header to define __stub macros and hopefully few prototypes, | |
3075 which can conflict with char $ac_func (); below. */ | |
3076 #include <assert.h> | |
3077 /* Override any gcc2 internal prototype to avoid an error. */ | |
3078 #ifdef __cplusplus | |
3079 extern "C" | |
3080 #endif | |
3081 /* We use char because int might match the return type of a gcc2 | |
3082 builtin and then its argument prototype would still apply. */ | |
3083 char $ac_func (); | |
3084 char (*f) (); | |
3085 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3086 #ifdef F77_DUMMY_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
|
3087 # 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
|
3088 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
|
3089 # 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
|
3090 int F77_DUMMY_MAIN() { return 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
|
3091 #endif |
3 | 3092 int |
3093 main () | |
3094 { | |
3095 /* The GNU C library defines this for functions which it implements | |
3096 to always fail with ENOSYS. Some functions are actually named | |
3097 something starting with __ and the normal name is an alias. */ | |
3098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3099 choke me | |
3100 #else | |
3101 f = $ac_func; | |
3102 #endif | |
3103 | |
3104 ; | |
3105 return 0; | |
3106 } | |
3107 _ACEOF | |
3108 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
|
3109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3110 (eval $ac_link) 2>&5 |
3111 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
|
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3113 (exit $ac_status); } && |
3114 { 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
|
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3116 (eval $ac_try) 2>&5 |
3117 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
|
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3119 (exit $ac_status); }; }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3120 eval "$as_ac_var=yes" |
3 | 3121 else |
3122 echo "$as_me: failed program was:" >&5 | |
3123 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
|
3124 eval "$as_ac_var=no" |
3 | 3125 fi |
3126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3127 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
|
3128 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
|
3129 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
|
3130 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
|
3131 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3132 #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
|
3133 _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
|
3134 |
7d2108cbcd3e
Porting DW 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 cat >>confdefs.h <<\_ACEOF |
3 | 3136 #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
|
3137 _ACEOF |
3 | 3138 |
3139 fi | |
3140 done | |
3141 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3142 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3143 |
3 | 3144 for ac_func in connect |
3145 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3146 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
|
3147 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3 | 3148 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
|
3149 if eval "test \"\${$as_ac_var+set}\" = set"; then |
3 | 3150 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3151 else | |
3152 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
|
3153 #line $LINENO "configure" |
3 | 3154 #include "confdefs.h" |
3155 /* System header to define __stub macros and hopefully few prototypes, | |
3156 which can conflict with char $ac_func (); below. */ | |
3157 #include <assert.h> | |
3158 /* Override any gcc2 internal prototype to avoid an error. */ | |
3159 #ifdef __cplusplus | |
3160 extern "C" | |
3161 #endif | |
3162 /* We use char because int might match the return type of a gcc2 | |
3163 builtin and then its argument prototype would still apply. */ | |
3164 char $ac_func (); | |
3165 char (*f) (); | |
3166 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3167 #ifdef F77_DUMMY_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
|
3168 # 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
|
3169 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
|
3170 # 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
|
3171 int F77_DUMMY_MAIN() { return 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
|
3172 #endif |
3 | 3173 int |
3174 main () | |
3175 { | |
3176 /* The GNU C library defines this for functions which it implements | |
3177 to always fail with ENOSYS. Some functions are actually named | |
3178 something starting with __ and the normal name is an alias. */ | |
3179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3180 choke me | |
3181 #else | |
3182 f = $ac_func; | |
3183 #endif | |
3184 | |
3185 ; | |
3186 return 0; | |
3187 } | |
3188 _ACEOF | |
3189 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
|
3190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3191 (eval $ac_link) 2>&5 |
3192 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
|
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3194 (exit $ac_status); } && |
3195 { 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
|
3196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3197 (eval $ac_try) 2>&5 |
3198 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
|
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3200 (exit $ac_status); }; }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3201 eval "$as_ac_var=yes" |
3 | 3202 else |
3203 echo "$as_me: failed program was:" >&5 | |
3204 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
|
3205 eval "$as_ac_var=no" |
3 | 3206 fi |
3207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3208 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
|
3209 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
|
3210 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
|
3211 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
|
3212 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3213 #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
|
3214 _ACEOF |
3 | 3215 |
3216 fi | |
3217 done | |
3218 | |
3219 if test x"$ac_cv_func_connect" = x"no"; then | |
3220 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
|
3221 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3 | 3222 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3223 if test "${ac_cv_lib_socket_socket+set}" = set; then | |
3224 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3225 else | |
3226 ac_check_lib_save_LIBS=$LIBS | |
3227 LIBS="-lsocket $LIBS" | |
3228 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
|
3229 #line $LINENO "configure" |
3 | 3230 #include "confdefs.h" |
3231 | |
3232 /* Override any gcc2 internal prototype to avoid an error. */ | |
3233 #ifdef __cplusplus | |
3234 extern "C" | |
3235 #endif | |
3236 /* We use char because int might match the return type of a gcc2 | |
3237 builtin and then its argument prototype would still apply. */ | |
3238 char socket (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3239 #ifdef F77_DUMMY_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
|
3240 # 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
|
3241 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
|
3242 # 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
|
3243 int F77_DUMMY_MAIN() { return 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
|
3244 #endif |
3 | 3245 int |
3246 main () | |
3247 { | |
3248 socket (); | |
3249 ; | |
3250 return 0; | |
3251 } | |
3252 _ACEOF | |
3253 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
|
3254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3255 (eval $ac_link) 2>&5 |
3256 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
|
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3258 (exit $ac_status); } && |
3259 { 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
|
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3261 (eval $ac_try) 2>&5 |
3262 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
|
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3264 (exit $ac_status); }; }; then |
3265 ac_cv_lib_socket_socket=yes | |
3266 else | |
3267 echo "$as_me: failed program was:" >&5 | |
3268 cat conftest.$ac_ext >&5 | |
3269 ac_cv_lib_socket_socket=no | |
3270 fi | |
3271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3272 LIBS=$ac_check_lib_save_LIBS | |
3273 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
|
3274 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
3 | 3275 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3276 if test $ac_cv_lib_socket_socket = yes; then | |
3277 LIBS="$LIBS -lsocket" | |
3278 fi | |
3279 | |
3280 fi | |
3281 | |
3282 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
|
3283 echo "$as_me:$LINENO: checking for socket in -linet" >&5 |
3 | 3284 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 |
3285 if test "${ac_cv_lib_inet_socket+set}" = set; then | |
3286 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3287 else | |
3288 ac_check_lib_save_LIBS=$LIBS | |
3289 LIBS="-linet $LIBS" | |
3290 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
|
3291 #line $LINENO "configure" |
3 | 3292 #include "confdefs.h" |
3293 | |
3294 /* Override any gcc2 internal prototype to avoid an error. */ | |
3295 #ifdef __cplusplus | |
3296 extern "C" | |
3297 #endif | |
3298 /* We use char because int might match the return type of a gcc2 | |
3299 builtin and then its argument prototype would still apply. */ | |
3300 char socket (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3301 #ifdef F77_DUMMY_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
|
3302 # 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
|
3303 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
|
3304 # 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
|
3305 int F77_DUMMY_MAIN() { return 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
|
3306 #endif |
3 | 3307 int |
3308 main () | |
3309 { | |
3310 socket (); | |
3311 ; | |
3312 return 0; | |
3313 } | |
3314 _ACEOF | |
3315 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
|
3316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3317 (eval $ac_link) 2>&5 |
3318 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
|
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3320 (exit $ac_status); } && |
3321 { 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
|
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3323 (eval $ac_try) 2>&5 |
3324 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
|
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3326 (exit $ac_status); }; }; then |
3327 ac_cv_lib_inet_socket=yes | |
3328 else | |
3329 echo "$as_me: failed program was:" >&5 | |
3330 cat conftest.$ac_ext >&5 | |
3331 ac_cv_lib_inet_socket=no | |
3332 fi | |
3333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3334 LIBS=$ac_check_lib_save_LIBS | |
3335 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
|
3336 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 |
3 | 3337 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 |
3338 if test $ac_cv_lib_inet_socket = yes; then | |
3339 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | |
3340 fi | |
3341 | |
3342 fi | |
3343 | |
3344 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
|
3345 echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 |
3 | 3346 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6 |
3347 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then | |
3348 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3349 else | |
3350 ac_check_lib_save_LIBS=$LIBS | |
3351 LIBS="-lnsl $LIBS" | |
3352 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
|
3353 #line $LINENO "configure" |
3 | 3354 #include "confdefs.h" |
3355 | |
3356 /* Override any gcc2 internal prototype to avoid an error. */ | |
3357 #ifdef __cplusplus | |
3358 extern "C" | |
3359 #endif | |
3360 /* We use char because int might match the return type of a gcc2 | |
3361 builtin and then its argument prototype would still apply. */ | |
3362 char gethostname (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3363 #ifdef F77_DUMMY_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
|
3364 # 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
|
3365 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
|
3366 # 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
|
3367 int F77_DUMMY_MAIN() { return 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
|
3368 #endif |
3 | 3369 int |
3370 main () | |
3371 { | |
3372 gethostname (); | |
3373 ; | |
3374 return 0; | |
3375 } | |
3376 _ACEOF | |
3377 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
|
3378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3379 (eval $ac_link) 2>&5 |
3380 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
|
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3382 (exit $ac_status); } && |
3383 { 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
|
3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3385 (eval $ac_try) 2>&5 |
3386 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
|
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3388 (exit $ac_status); }; }; then |
3389 ac_cv_lib_nsl_gethostname=yes | |
3390 else | |
3391 echo "$as_me: failed program was:" >&5 | |
3392 cat conftest.$ac_ext >&5 | |
3393 ac_cv_lib_nsl_gethostname=no | |
3394 fi | |
3395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3396 LIBS=$ac_check_lib_save_LIBS | |
3397 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
|
3398 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 |
3 | 3399 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6 |
3400 if test $ac_cv_lib_nsl_gethostname = yes; then | |
3401 LIBS="$LIBS -lnsl" | |
3402 fi | |
3403 | |
3404 fi | |
3405 fi | |
3406 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3407 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 |
3 | 3408 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 |
3409 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then | |
3410 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3411 else | |
3412 ac_check_lib_save_LIBS=$LIBS | |
3413 LIBS="-lsun $LIBS" | |
3414 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
|
3415 #line $LINENO "configure" |
3 | 3416 #include "confdefs.h" |
3417 | |
3418 /* Override any gcc2 internal prototype to avoid an error. */ | |
3419 #ifdef __cplusplus | |
3420 extern "C" | |
3421 #endif | |
3422 /* We use char because int might match the return type of a gcc2 | |
3423 builtin and then its argument prototype would still apply. */ | |
3424 char getpwnam (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3425 #ifdef F77_DUMMY_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
|
3426 # 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
|
3427 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
|
3428 # 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
|
3429 int F77_DUMMY_MAIN() { return 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
|
3430 #endif |
3 | 3431 int |
3432 main () | |
3433 { | |
3434 getpwnam (); | |
3435 ; | |
3436 return 0; | |
3437 } | |
3438 _ACEOF | |
3439 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
|
3440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3441 (eval $ac_link) 2>&5 |
3442 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
|
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3444 (exit $ac_status); } && |
3445 { 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
|
3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3447 (eval $ac_try) 2>&5 |
3448 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
|
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3450 (exit $ac_status); }; }; then |
3451 ac_cv_lib_sun_getpwnam=yes | |
3452 else | |
3453 echo "$as_me: failed program was:" >&5 | |
3454 cat conftest.$ac_ext >&5 | |
3455 ac_cv_lib_sun_getpwnam=no | |
3456 fi | |
3457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3458 LIBS=$ac_check_lib_save_LIBS | |
3459 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
|
3460 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 |
3 | 3461 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 |
3462 if test $ac_cv_lib_sun_getpwnam = yes; then | |
3463 LIBS="$LIBS -lsun" | |
3464 fi | |
3465 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3466 echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 |
3 | 3467 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6 |
3468 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then | |
3469 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3470 else | |
3471 ac_check_lib_save_LIBS=$LIBS | |
3472 LIBS="-ldgc $LIBS" | |
3473 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
|
3474 #line $LINENO "configure" |
3 | 3475 #include "confdefs.h" |
3476 | |
3477 /* Override any gcc2 internal prototype to avoid an error. */ | |
3478 #ifdef __cplusplus | |
3479 extern "C" | |
3480 #endif | |
3481 /* We use char because int might match the return type of a gcc2 | |
3482 builtin and then its argument prototype would still apply. */ | |
3483 char inet_addr (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3484 #ifdef F77_DUMMY_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
|
3485 # 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
|
3486 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
|
3487 # 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
|
3488 int F77_DUMMY_MAIN() { return 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
|
3489 #endif |
3 | 3490 int |
3491 main () | |
3492 { | |
3493 inet_addr (); | |
3494 ; | |
3495 return 0; | |
3496 } | |
3497 _ACEOF | |
3498 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
|
3499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3500 (eval $ac_link) 2>&5 |
3501 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
|
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3503 (exit $ac_status); } && |
3504 { 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
|
3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3506 (eval $ac_try) 2>&5 |
3507 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
|
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3509 (exit $ac_status); }; }; then |
3510 ac_cv_lib_dgc_inet_addr=yes | |
3511 else | |
3512 echo "$as_me: failed program was:" >&5 | |
3513 cat conftest.$ac_ext >&5 | |
3514 ac_cv_lib_dgc_inet_addr=no | |
3515 fi | |
3516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3517 LIBS=$ac_check_lib_save_LIBS | |
3518 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
|
3519 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 |
3 | 3520 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6 |
3521 if test $ac_cv_lib_dgc_inet_addr = yes; then | |
3522 LIBS="$LIBS -ldgc" | |
3523 fi | |
3524 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3525 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 |
3 | 3526 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6 |
3527 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then | |
3528 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3529 else | |
3530 ac_check_lib_save_LIBS=$LIBS | |
3531 LIBS="-lresolv $LIBS" | |
3532 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
|
3533 #line $LINENO "configure" |
3 | 3534 #include "confdefs.h" |
3535 | |
3536 /* Override any gcc2 internal prototype to avoid an error. */ | |
3537 #ifdef __cplusplus | |
3538 extern "C" | |
3539 #endif | |
3540 /* We use char because int might match the return type of a gcc2 | |
3541 builtin and then its argument prototype would still apply. */ | |
3542 char gethostbyname (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3543 #ifdef F77_DUMMY_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
|
3544 # 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
|
3545 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
|
3546 # 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
|
3547 int F77_DUMMY_MAIN() { return 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
|
3548 #endif |
3 | 3549 int |
3550 main () | |
3551 { | |
3552 gethostbyname (); | |
3553 ; | |
3554 return 0; | |
3555 } | |
3556 _ACEOF | |
3557 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
|
3558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3559 (eval $ac_link) 2>&5 |
3560 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
|
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3562 (exit $ac_status); } && |
3563 { 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
|
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3565 (eval $ac_try) 2>&5 |
3566 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
|
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3568 (exit $ac_status); }; }; then |
3569 ac_cv_lib_resolv_gethostbyname=yes | |
3570 else | |
3571 echo "$as_me: failed program was:" >&5 | |
3572 cat conftest.$ac_ext >&5 | |
3573 ac_cv_lib_resolv_gethostbyname=no | |
3574 fi | |
3575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3576 LIBS=$ac_check_lib_save_LIBS | |
3577 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
|
3578 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
3 | 3579 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6 |
3580 if test $ac_cv_lib_resolv_gethostbyname = yes; then | |
3581 LIBS="$LIBS -lresolv" | |
3582 fi | |
3583 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3584 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3585 OPSYSTEM=`uname -s` |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3586 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3587 if test $OPSYSTEM = "Darwin"; then |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3588 DW_SRC=mac |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3589 DW_DEFINE=__MAC__ |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3590 else |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3591 # 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
|
3592 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
|
3593 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
|
3594 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
|
3595 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
|
3596 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
|
3597 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
|
3598 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
|
3599 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
|
3600 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
|
3601 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
|
3602 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
|
3603 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
|
3604 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
|
3605 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
|
3606 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
|
3607 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
|
3608 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
|
3609 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
|
3610 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
|
3611 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
|
3612 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
|
3613 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
|
3614 |
7d2108cbcd3e
Porting DW 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 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
|
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 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
|
3618 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
|
3619 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
|
3620 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
|
3621 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
|
3622 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
|
3623 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
|
3624 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
|
3625 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3626 if test x"$PKG_CFG" != x; then |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3627 GTK_LIBS=`$PKG_CFG --silence-errors --libs gtk+-2.0 gthread-2.0` |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3628 fi |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3629 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3630 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
|
3631 |
3 | 3632 # Check whether --with-glib-prefix or --without-glib-prefix was given. |
3633 if test "${with_glib_prefix+set}" = set; then | |
3634 withval="$with_glib_prefix" | |
3635 glib_config_prefix="$withval" | |
3636 else | |
3637 glib_config_prefix="" | |
3638 fi; | |
3639 | |
3640 # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given. | |
3641 if test "${with_glib_exec_prefix+set}" = set; then | |
3642 withval="$with_glib_exec_prefix" | |
3643 glib_config_exec_prefix="$withval" | |
3644 else | |
3645 glib_config_exec_prefix="" | |
3646 fi; | |
3647 # Check whether --enable-glibtest or --disable-glibtest was given. | |
3648 if test "${enable_glibtest+set}" = set; then | |
3649 enableval="$enable_glibtest" | |
3650 | |
3651 else | |
3652 enable_glibtest=yes | |
3653 fi; | |
3654 | |
3655 if test x$glib_config_exec_prefix != x ; then | |
3656 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" | |
3657 if test x${GLIB_CONFIG+set} != xset ; then | |
3658 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config | |
3659 fi | |
3660 fi | |
3661 if test x$glib_config_prefix != x ; then | |
3662 glib_config_args="$glib_config_args --prefix=$glib_config_prefix" | |
3663 if test x${GLIB_CONFIG+set} != xset ; then | |
3664 GLIB_CONFIG=$glib_config_prefix/bin/glib-config | |
3665 fi | |
3666 fi | |
3667 | |
3668 for module in . | |
3669 do | |
3670 case "$module" in | |
3671 gmodule) | |
3672 glib_config_args="$glib_config_args gmodule" | |
3673 ;; | |
3674 gthread) | |
3675 glib_config_args="$glib_config_args gthread" | |
3676 ;; | |
3677 esac | |
3678 done | |
3679 | |
3680 # Extract the first word of "glib-config", so it can be a program name with args. | |
3681 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
|
3682 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 3683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3684 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then | |
3685 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3686 else | |
3687 case $GLIB_CONFIG in | |
3688 [\\/]* | ?:[\\/]*) | |
3689 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | |
3690 ;; | |
3691 *) | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3692 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
|
3693 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
|
3694 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
|
3695 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
|
3696 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
|
3697 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
|
3698 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
|
3699 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
|
3700 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
|
3701 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
|
3702 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
|
3703 done |
3 | 3704 done |
3705 | |
3706 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | |
3707 ;; | |
3708 esac | |
3709 fi | |
3710 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | |
3711 | |
3712 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
|
3713 echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 |
3 | 3714 echo "${ECHO_T}$GLIB_CONFIG" >&6 |
3715 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
|
3716 echo "$as_me:$LINENO: result: no" >&5 |
3 | 3717 echo "${ECHO_T}no" >&6 |
3718 fi | |
3719 | |
3720 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
|
3721 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 |
3 | 3722 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6 |
3723 no_glib="" | |
3724 if test "$GLIB_CONFIG" = "no" ; then | |
3725 no_glib=yes | |
3726 else | |
3727 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` | |
3728 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` | |
3729 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
3730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
3731 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
3732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
3733 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
3734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
3735 if test "x$enable_glibtest" = "xyes" ; then | |
3736 ac_save_CFLAGS="$CFLAGS" | |
3737 ac_save_LIBS="$LIBS" | |
3738 CFLAGS="$CFLAGS $GLIB_CFLAGS" | |
3739 LIBS="$GLIB_LIBS $LIBS" | |
3740 rm -f conf.glibtest | |
3741 if test "$cross_compiling" = yes; then | |
3742 echo $ac_n "cross compiling; assumed OK... $ac_c" | |
3743 else | |
3744 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
|
3745 #line $LINENO "configure" |
3 | 3746 #include "confdefs.h" |
3747 | |
3748 #include <glib.h> | |
3749 #include <stdio.h> | |
3750 #include <stdlib.h> | |
3751 | |
3752 int | |
3753 main () | |
3754 { | |
3755 int major, minor, micro; | |
3756 char *tmp_version; | |
3757 | |
3758 system ("touch conf.glibtest"); | |
3759 | |
3760 /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
3761 tmp_version = g_strdup("$min_glib_version"); | |
3762 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
3763 printf("%s, bad version string\n", "$min_glib_version"); | |
3764 exit(1); | |
3765 } | |
3766 | |
3767 if ((glib_major_version != $glib_config_major_version) || | |
3768 (glib_minor_version != $glib_config_minor_version) || | |
3769 (glib_micro_version != $glib_config_micro_version)) | |
3770 { | |
3771 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", | |
3772 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, | |
3773 glib_major_version, glib_minor_version, glib_micro_version); | |
3774 printf ("*** was found! If glib-config was correct, then it is best\n"); | |
3775 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n"); | |
3776 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
3777 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
3778 printf("*** required on your system.\n"); | |
3779 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); | |
3780 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n"); | |
3781 printf("*** before re-running configure\n"); | |
3782 } | |
3783 else if ((glib_major_version != GLIB_MAJOR_VERSION) || | |
3784 (glib_minor_version != GLIB_MINOR_VERSION) || | |
3785 (glib_micro_version != GLIB_MICRO_VERSION)) | |
3786 { | |
3787 printf("*** GLIB header files (version %d.%d.%d) do not match\n", | |
3788 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); | |
3789 printf("*** library (version %d.%d.%d)\n", | |
3790 glib_major_version, glib_minor_version, glib_micro_version); | |
3791 } | |
3792 else | |
3793 { | |
3794 if ((glib_major_version > major) || | |
3795 ((glib_major_version == major) && (glib_minor_version > minor)) || | |
3796 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) | |
3797 { | |
3798 return 0; | |
3799 } | |
3800 else | |
3801 { | |
3802 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", | |
3803 glib_major_version, glib_minor_version, glib_micro_version); | |
3804 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", | |
3805 major, minor, micro); | |
3806 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); | |
3807 printf("***\n"); | |
3808 printf("*** If you have already installed a sufficiently new version, this error\n"); | |
3809 printf("*** probably means that the wrong copy of the glib-config shell script is\n"); | |
3810 printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
3811 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n"); | |
3812 printf("*** correct copy of glib-config. (In this case, you will have to\n"); | |
3813 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
3814 printf("*** so that the correct libraries are found at run-time))\n"); | |
3815 } | |
3816 } | |
3817 return 1; | |
3818 } | |
3819 | |
3820 _ACEOF | |
3821 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
|
3822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3823 (eval $ac_link) 2>&5 |
3824 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
|
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3826 (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
|
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3828 (eval $ac_try) 2>&5 |
3829 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
|
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3831 (exit $ac_status); }; }; then |
3832 : | |
3833 else | |
3834 echo "$as_me: program exited with status $ac_status" >&5 | |
3835 echo "$as_me: failed program was:" >&5 | |
3836 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
|
3837 ( exit $ac_status ) |
3 | 3838 no_glib=yes |
3839 fi | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3840 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3 | 3841 fi |
3842 CFLAGS="$ac_save_CFLAGS" | |
3843 LIBS="$ac_save_LIBS" | |
3844 fi | |
3845 fi | |
3846 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
|
3847 echo "$as_me:$LINENO: result: yes" >&5 |
3 | 3848 echo "${ECHO_T}yes" >&6 |
3849 : | |
3850 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
|
3851 echo "$as_me:$LINENO: result: no" >&5 |
3 | 3852 echo "${ECHO_T}no" >&6 |
3853 if test "$GLIB_CONFIG" = "no" ; then | |
3854 echo "*** The glib-config script installed by GLIB could not be found" | |
3855 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | |
3856 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | |
3857 echo "*** full path to glib-config." | |
3858 else | |
3859 if test -f conf.glibtest ; then | |
3860 : | |
3861 else | |
3862 echo "*** Could not run GLIB test program, checking why..." | |
3863 CFLAGS="$CFLAGS $GLIB_CFLAGS" | |
3864 LIBS="$LIBS $GLIB_LIBS" | |
3865 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
|
3866 #line $LINENO "configure" |
3 | 3867 #include "confdefs.h" |
3868 | |
3869 #include <glib.h> | |
3870 #include <stdio.h> | |
3871 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3872 #ifdef F77_DUMMY_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
|
3873 # 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
|
3874 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
|
3875 # 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
|
3876 int F77_DUMMY_MAIN() { return 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
|
3877 #endif |
3 | 3878 int |
3879 main () | |
3880 { | |
3881 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | |
3882 ; | |
3883 return 0; | |
3884 } | |
3885 _ACEOF | |
3886 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
|
3887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3888 (eval $ac_link) 2>&5 |
3889 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
|
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3891 (exit $ac_status); } && |
3892 { 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
|
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3894 (eval $ac_try) 2>&5 |
3895 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
|
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3897 (exit $ac_status); }; }; then |
3898 echo "*** The test program compiled, but did not run. This usually means" | |
3899 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | |
3900 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | |
3901 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
3902 echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
3903 echo "*** is required on your system" | |
3904 echo "***" | |
3905 echo "*** If you have an old version installed, it is best to remove it, although" | |
3906 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
3907 else | |
3908 echo "$as_me: failed program was:" >&5 | |
3909 cat conftest.$ac_ext >&5 | |
3910 echo "*** The test program failed to compile or link. See the file config.log for the" | |
3911 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" | |
3912 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" | |
3913 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" | |
3914 fi | |
3915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3916 CFLAGS="$ac_save_CFLAGS" | |
3917 LIBS="$ac_save_LIBS" | |
3918 fi | |
3919 fi | |
3920 GLIB_CFLAGS="" | |
3921 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
|
3922 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
3 | 3923 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
3924 { (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
|
3925 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
3 | 3926 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
3927 { (exit 1); exit 1; }; }" >&2;} | |
3928 { (exit 1); exit 1; }; } | |
3929 fi | |
3930 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3931 |
3 | 3932 rm -f conf.glibtest |
3933 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3934 |
3 | 3935 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. |
3936 if test "${with_gtk_prefix+set}" = set; then | |
3937 withval="$with_gtk_prefix" | |
3938 gtk_config_prefix="$withval" | |
3939 else | |
3940 gtk_config_prefix="" | |
3941 fi; | |
3942 | |
3943 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | |
3944 if test "${with_gtk_exec_prefix+set}" = set; then | |
3945 withval="$with_gtk_exec_prefix" | |
3946 gtk_config_exec_prefix="$withval" | |
3947 else | |
3948 gtk_config_exec_prefix="" | |
3949 fi; | |
3950 # Check whether --enable-gtktest or --disable-gtktest was given. | |
3951 if test "${enable_gtktest+set}" = set; then | |
3952 enableval="$enable_gtktest" | |
3953 | |
3954 else | |
3955 enable_gtktest=yes | |
3956 fi; | |
3957 | |
3958 for module in . gthread | |
3959 do | |
3960 case "$module" in | |
3961 gthread) | |
3962 gtk_config_args="$gtk_config_args gthread" | |
3963 ;; | |
3964 esac | |
3965 done | |
3966 | |
3967 if test x$gtk_config_exec_prefix != x ; then | |
3968 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
3969 if test x${GTK_CONFIG+set} != xset ; then | |
3970 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
3971 fi | |
3972 fi | |
3973 if test x$gtk_config_prefix != x ; then | |
3974 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
3975 if test x${GTK_CONFIG+set} != xset ; then | |
3976 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
3977 fi | |
3978 fi | |
3979 | |
3980 # Extract the first word of "gtk-config", so it can be a program name with args. | |
3981 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
|
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3984 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | |
3985 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3986 else | |
3987 case $GTK_CONFIG in | |
3988 [\\/]* | ?:[\\/]*) | |
3989 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | |
3990 ;; | |
3991 *) | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3992 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
|
3993 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
|
3994 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
|
3995 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
|
3996 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
|
3997 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
|
3998 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
|
3999 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
|
4000 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
|
4001 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
|
4002 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
|
4003 done |
3 | 4004 done |
4005 | |
4006 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | |
4007 ;; | |
4008 esac | |
4009 fi | |
4010 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | |
4011 | |
4012 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
|
4013 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
3 | 4014 echo "${ECHO_T}$GTK_CONFIG" >&6 |
4015 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
|
4016 echo "$as_me:$LINENO: result: no" >&5 |
3 | 4017 echo "${ECHO_T}no" >&6 |
4018 fi | |
4019 | |
4020 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
|
4021 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 |
3 | 4022 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 |
4023 no_gtk="" | |
4024 if test "$GTK_CONFIG" = "no" ; then | |
4025 no_gtk=yes | |
4026 else | |
4027 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | |
4028 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` | |
4029 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
4030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
4031 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
4032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
4033 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
4034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
4035 if test "x$enable_gtktest" = "xyes" ; then | |
4036 ac_save_CFLAGS="$CFLAGS" | |
4037 ac_save_LIBS="$LIBS" | |
4038 CFLAGS="$CFLAGS $GTK_CFLAGS" | |
4039 LIBS="$GTK_LIBS $LIBS" | |
4040 rm -f conf.gtktest | |
4041 if test "$cross_compiling" = yes; then | |
4042 echo $ac_n "cross compiling; assumed OK... $ac_c" | |
4043 else | |
4044 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
|
4045 #line $LINENO "configure" |
3 | 4046 #include "confdefs.h" |
4047 | |
4048 #include <gtk/gtk.h> | |
4049 #include <stdio.h> | |
4050 #include <stdlib.h> | |
4051 | |
4052 int | |
4053 main () | |
4054 { | |
4055 int major, minor, micro; | |
4056 char *tmp_version; | |
4057 | |
4058 system ("touch conf.gtktest"); | |
4059 | |
4060 /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
4061 tmp_version = g_strdup("$min_gtk_version"); | |
4062 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
4063 printf("%s, bad version string\n", "$min_gtk_version"); | |
4064 exit(1); | |
4065 } | |
4066 | |
4067 if ((gtk_major_version != $gtk_config_major_version) || | |
4068 (gtk_minor_version != $gtk_config_minor_version) || | |
4069 (gtk_micro_version != $gtk_config_micro_version)) | |
4070 { | |
4071 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", | |
4072 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, | |
4073 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
4074 printf ("*** was found! If gtk-config was correct, then it is best\n"); | |
4075 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | |
4076 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
4077 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
4078 printf("*** required on your system.\n"); | |
4079 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); | |
4080 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); | |
4081 printf("*** before re-running configure\n"); | |
4082 } | |
4083 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) | |
4084 else if ((gtk_major_version != GTK_MAJOR_VERSION) || | |
4085 (gtk_minor_version != GTK_MINOR_VERSION) || | |
4086 (gtk_micro_version != GTK_MICRO_VERSION)) | |
4087 { | |
4088 printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | |
4089 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | |
4090 printf("*** library (version %d.%d.%d)\n", | |
4091 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
4092 } | |
4093 #endif /* defined (GTK_MAJOR_VERSION) ... */ | |
4094 else | |
4095 { | |
4096 if ((gtk_major_version > major) || | |
4097 ((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
4098 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | |
4099 { | |
4100 return 0; | |
4101 } | |
4102 else | |
4103 { | |
4104 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | |
4105 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
4106 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | |
4107 major, minor, micro); | |
4108 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | |
4109 printf("***\n"); | |
4110 printf("*** If you have already installed a sufficiently new version, this error\n"); | |
4111 printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); | |
4112 printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
4113 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); | |
4114 printf("*** correct copy of gtk-config. (In this case, you will have to\n"); | |
4115 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
4116 printf("*** so that the correct libraries are found at run-time))\n"); | |
4117 } | |
4118 } | |
4119 return 1; | |
4120 } | |
4121 | |
4122 _ACEOF | |
4123 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
|
4124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4125 (eval $ac_link) 2>&5 |
4126 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
|
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4128 (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
|
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4130 (eval $ac_try) 2>&5 |
4131 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
|
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4133 (exit $ac_status); }; }; then |
4134 : | |
4135 else | |
4136 echo "$as_me: program exited with status $ac_status" >&5 | |
4137 echo "$as_me: failed program was:" >&5 | |
4138 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
|
4139 ( exit $ac_status ) |
3 | 4140 no_gtk=yes |
4141 fi | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4142 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3 | 4143 fi |
4144 CFLAGS="$ac_save_CFLAGS" | |
4145 LIBS="$ac_save_LIBS" | |
4146 fi | |
4147 fi | |
4148 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
|
4149 echo "$as_me:$LINENO: result: yes" >&5 |
3 | 4150 echo "${ECHO_T}yes" >&6 |
4151 : | |
4152 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
|
4153 echo "$as_me:$LINENO: result: no" >&5 |
3 | 4154 echo "${ECHO_T}no" >&6 |
4155 if test "$GTK_CONFIG" = "no" ; then | |
4156 echo "*** The gtk-config script installed by GTK could not be found" | |
4157 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | |
4158 echo "*** your path, or set the GTK_CONFIG environment variable to the" | |
4159 echo "*** full path to gtk-config." | |
4160 else | |
4161 if test -f conf.gtktest ; then | |
4162 : | |
4163 else | |
4164 echo "*** Could not run GTK test program, checking why..." | |
4165 CFLAGS="$CFLAGS $GTK_CFLAGS" | |
4166 LIBS="$LIBS $GTK_LIBS" | |
4167 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
|
4168 #line $LINENO "configure" |
3 | 4169 #include "confdefs.h" |
4170 | |
4171 #include <gtk/gtk.h> | |
4172 #include <stdio.h> | |
4173 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4174 #ifdef F77_DUMMY_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
|
4175 # 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
|
4176 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
|
4177 # 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
|
4178 int F77_DUMMY_MAIN() { return 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
|
4179 #endif |
3 | 4180 int |
4181 main () | |
4182 { | |
4183 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | |
4184 ; | |
4185 return 0; | |
4186 } | |
4187 _ACEOF | |
4188 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
|
4189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4190 (eval $ac_link) 2>&5 |
4191 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
|
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4193 (exit $ac_status); } && |
4194 { 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
|
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4196 (eval $ac_try) 2>&5 |
4197 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
|
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4199 (exit $ac_status); }; }; then |
4200 echo "*** The test program compiled, but did not run. This usually means" | |
4201 echo "*** that the run-time linker is not finding GTK or finding the wrong" | |
4202 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | |
4203 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
4204 echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
4205 echo "*** is required on your system" | |
4206 echo "***" | |
4207 echo "*** If you have an old version installed, it is best to remove it, although" | |
4208 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
4209 else | |
4210 echo "$as_me: failed program was:" >&5 | |
4211 cat conftest.$ac_ext >&5 | |
4212 echo "*** The test program failed to compile or link. See the file config.log for the" | |
4213 echo "*** exact error that occured. This usually means GTK was incorrectly installed" | |
4214 echo "*** or that you have moved GTK since it was installed. In the latter case, you" | |
4215 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" | |
4216 fi | |
4217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
4218 CFLAGS="$ac_save_CFLAGS" | |
4219 LIBS="$ac_save_LIBS" | |
4220 fi | |
4221 fi | |
4222 GTK_CFLAGS="" | |
4223 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
|
4224 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
3 | 4225 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
4226 { (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
|
4227 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
3 | 4228 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
4229 { (exit 1); exit 1; }; }" >&2;} | |
4230 { (exit 1); exit 1; }; } | |
4231 fi | |
4232 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4233 |
3 | 4234 rm -f conf.gtktest |
4235 | |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4236 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4237 # 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
|
4238 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
|
4239 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
|
4240 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
|
4241 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4242 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
|
4243 fi; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4244 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4245 # 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
|
4246 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
|
4247 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
|
4248 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
|
4249 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4250 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
|
4251 fi; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4252 # 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
|
4253 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
|
4254 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
|
4255 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4256 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4257 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
|
4258 fi; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4259 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4260 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
|
4261 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
|
4262 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
|
4263 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
|
4264 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4265 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4266 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
|
4267 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
|
4268 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
|
4269 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
|
4270 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4271 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4272 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4273 # 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
|
4274 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
|
4275 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
|
4276 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
|
4277 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
|
4278 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
|
4279 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4280 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
|
4281 [\\/]* | ?:[\\/]*) |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4282 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
|
4283 ;; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4284 *) |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4285 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
|
4286 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
|
4287 do |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4288 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
|
4289 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
|
4290 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
|
4291 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
|
4292 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
|
4293 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
|
4294 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
|
4295 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4296 done |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4297 done |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4298 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4299 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
|
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 esac |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4302 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4303 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
|
4304 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4305 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
|
4306 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
|
4307 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
|
4308 else |
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: 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
|
4310 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
|
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 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4313 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
|
4314 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
|
4315 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
|
4316 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
|
4317 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
|
4318 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
|
4319 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4320 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
|
4321 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
|
4322 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4323 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
|
4324 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
|
4325 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
|
4326 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
|
4327 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
|
4328 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
|
4329 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
|
4330 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
|
4331 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
|
4332 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
|
4333 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
|
4334 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
|
4335 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
|
4336 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
|
4337 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4338 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
|
4339 #line $LINENO "configure" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4340 #include "confdefs.h" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4341 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4342 #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
|
4343 #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
|
4344 #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
|
4345 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4346 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
|
4347 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4348 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
|
4349 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
|
4350 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4351 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
|
4352 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4353 /* 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
|
4354 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
|
4355 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4356 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
|
4357 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
|
4358 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4359 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4360 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
|
4361 (($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
|
4362 (($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
|
4363 ($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
|
4364 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4365 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
|
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 else |
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 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
|
4370 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
|
4371 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
|
4372 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
|
4373 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
|
4374 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
|
4375 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
|
4376 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4377 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4378 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4379 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4380 _ACEOF |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4381 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
|
4382 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
|
4383 (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
|
4384 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
|
4385 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
|
4386 (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
|
4387 { (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
|
4388 (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
|
4389 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
|
4390 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
|
4391 (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
|
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 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4394 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
|
4395 echo "$as_me: failed program was:" >&5 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4396 cat conftest.$ac_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
|
4397 ( 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
|
4398 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
|
4399 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4400 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 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
|
4401 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4402 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
|
4403 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
|
4404 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4405 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4406 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
|
4407 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
|
4408 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
|
4409 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
|
4410 #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
|
4411 _ACEOF |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4412 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4413 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4414 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
|
4415 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
|
4416 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
|
4417 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
|
4418 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
|
4419 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
|
4420 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
|
4421 else |
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 -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
|
4423 : |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4424 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4425 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
|
4426 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
|
4427 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
|
4428 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
|
4429 #line $LINENO "configure" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4430 #include "confdefs.h" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4431 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4432 #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
|
4433 #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
|
4434 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4435 #ifdef F77_DUMMY_MAIN |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4436 # ifdef __cplusplus |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4437 extern "C" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4438 # endif |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4439 int F77_DUMMY_MAIN() { 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
|
4440 #endif |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4441 int |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4442 main () |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4443 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4444 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
|
4445 ; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4446 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
|
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 _ACEOF |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4449 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
|
4450 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
|
4451 (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
|
4452 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
|
4453 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
|
4454 (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
|
4455 { 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
|
4456 { (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
|
4457 (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
|
4458 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
|
4459 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
|
4460 (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
|
4461 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
|
4462 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
|
4463 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
|
4464 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
|
4465 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
|
4466 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
|
4467 echo "***" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4468 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
|
4469 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
|
4470 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4471 echo "$as_me: failed program was:" >&5 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4472 cat conftest.$ac_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
|
4473 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
|
4474 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
|
4475 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
|
4476 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
|
4477 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4478 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
|
4479 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
|
4480 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
|
4481 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4482 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4483 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
|
4484 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
|
4485 { { 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
|
4486 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
|
4487 { (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
|
4488 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4489 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4490 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4491 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
|
4492 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4493 else |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4494 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4495 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4496 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
|
4497 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
|
4498 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4499 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
|
4500 echo "$as_me:$LINENO: checking for pthread.h" >&5 |
3 | 4501 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 |
4502 if test "${ac_cv_header_pthread_h+set}" = set; then | |
4503 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
|
4504 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
|
4505 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
|
4506 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 |
3 | 4507 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
|
4508 # 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
|
4509 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
|
4510 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
|
4511 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
|
4512 #line $LINENO "configure" |
7d2108cbcd3e
Porting DW 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 #include "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
|
4514 $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
|
4515 #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
|
4516 _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
|
4517 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
|
4518 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
|
4519 (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
|
4520 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
|
4521 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
|
4522 (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
|
4523 { 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
|
4524 { (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
|
4525 (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
|
4526 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
|
4527 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
|
4528 (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
|
4529 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
|
4530 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
|
4531 echo "$as_me: failed program was:" >&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
|
4532 cat conftest.$ac_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
|
4533 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
|
4534 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
|
4535 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
|
4536 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
|
4537 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
|
4538 |
7d2108cbcd3e
Porting DW 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 # 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
|
4540 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
|
4541 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
|
4542 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
|
4543 #line $LINENO "configure" |
3 | 4544 #include "confdefs.h" |
4545 #include <pthread.h> | |
4546 _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
|
4547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 4548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4549 ac_status=$? | |
4550 egrep -v '^ *\+' conftest.er1 >conftest.err | |
4551 rm -f conftest.er1 | |
4552 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
|
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4554 (exit $ac_status); } >/dev/null; then |
4555 if test -s conftest.err; then | |
4556 ac_cpp_err=$ac_c_preproc_warn_flag | |
4557 else | |
4558 ac_cpp_err= | |
4559 fi | |
4560 else | |
4561 ac_cpp_err=yes | |
4562 fi | |
4563 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
|
4564 ac_header_preproc=yes |
3 | 4565 else |
4566 echo "$as_me: failed program was:" >&5 | |
4567 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
|
4568 ac_header_preproc=no |
3 | 4569 fi |
4570 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
|
4571 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
|
4572 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
|
4573 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4574 # 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
|
4575 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
|
4576 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
|
4577 { 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
|
4578 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
|
4579 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&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
|
4580 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&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
|
4581 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
|
4582 { 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
|
4583 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
|
4584 { 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
|
4585 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
|
4586 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&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
|
4587 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&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
|
4588 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
|
4589 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
|
4590 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
|
4591 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
|
4592 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
|
4593 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
|
4594 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
|
4595 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
|
4596 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 |
3 | 4597 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
|
4598 |
7d2108cbcd3e
Porting DW 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 fi |
3 | 4600 if test $ac_cv_header_pthread_h = yes; then |
4601 : | |
4602 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
|
4603 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5 |
3 | 4604 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} |
4605 { (exit 1); exit 1; }; } | |
4606 fi | |
4607 | |
120
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5 |
3 | 4610 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6 |
4611 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then | |
4612 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4613 else | |
4614 ac_check_lib_save_LIBS=$LIBS | |
4615 LIBS="-lpthread $LIBS" | |
4616 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
|
4617 #line $LINENO "configure" |
3 | 4618 #include "confdefs.h" |
4619 | |
4620 /* Override any gcc2 internal prototype to avoid an error. */ | |
4621 #ifdef __cplusplus | |
4622 extern "C" | |
4623 #endif | |
4624 /* We use char because int might match the return type of a gcc2 | |
4625 builtin and then its argument prototype would still apply. */ | |
4626 char pthread_attr_init (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4627 #ifdef F77_DUMMY_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
|
4628 # 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
|
4629 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
|
4630 # 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
|
4631 int F77_DUMMY_MAIN() { return 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
|
4632 #endif |
3 | 4633 int |
4634 main () | |
4635 { | |
4636 pthread_attr_init (); | |
4637 ; | |
4638 return 0; | |
4639 } | |
4640 _ACEOF | |
4641 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
|
4642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4643 (eval $ac_link) 2>&5 |
4644 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
|
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4646 (exit $ac_status); } && |
4647 { 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
|
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4649 (eval $ac_try) 2>&5 |
4650 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
|
4651 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
|
4652 (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
|
4653 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
|
4654 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
|
4655 echo "$as_me: failed program was:" >&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
|
4656 cat conftest.$ac_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
|
4657 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
|
4658 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
|
4659 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
|
4660 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
|
4661 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
|
4662 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
|
4663 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
|
4664 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
|
4665 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
|
4666 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
|
4667 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
|
4668 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
|
4669 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
|
4670 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
|
4671 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
|
4672 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
|
4673 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
|
4674 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
|
4675 #line $LINENO "configure" |
7d2108cbcd3e
Porting DW 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 #include "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
|
4677 |
7d2108cbcd3e
Porting DW 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 /* 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
|
4679 #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
|
4680 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
|
4681 #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
|
4682 /* 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
|
4683 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
|
4684 char 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
|
4685 #ifdef F77_DUMMY_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
|
4686 # 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
|
4687 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
|
4688 # 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
|
4689 int F77_DUMMY_MAIN() { return 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
|
4690 #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
|
4691 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
|
4692 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
|
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 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
|
4695 ; |
7d2108cbcd3e
Porting DW 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 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
|
4697 } |
7d2108cbcd3e
Porting DW 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 _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
|
4699 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
|
4700 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
|
4701 (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
|
4702 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
|
4703 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
|
4704 (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
|
4705 { 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
|
4706 { (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
|
4707 (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
|
4708 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
|
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4710 (exit $ac_status); }; }; then |
4711 ac_cv_lib_pthreads_pthread_attr_init=yes | |
4712 else | |
4713 echo "$as_me: failed program was:" >&5 | |
4714 cat conftest.$ac_ext >&5 | |
4715 ac_cv_lib_pthreads_pthread_attr_init=no | |
4716 fi | |
4717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
4718 LIBS=$ac_check_lib_save_LIBS | |
4719 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
|
4720 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
3 | 4721 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6 |
4722 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then | |
4723 PTHREAD_LIBS="-lpthreads" | |
4724 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
|
4725 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 |
3 | 4726 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6 |
4727 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then | |
4728 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4729 else | |
4730 ac_check_lib_save_LIBS=$LIBS | |
4731 LIBS="-lc_r $LIBS" | |
4732 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
|
4733 #line $LINENO "configure" |
3 | 4734 #include "confdefs.h" |
4735 | |
4736 /* Override any gcc2 internal prototype to avoid an error. */ | |
4737 #ifdef __cplusplus | |
4738 extern "C" | |
4739 #endif | |
4740 /* We use char because int might match the return type of a gcc2 | |
4741 builtin and then its argument prototype would still apply. */ | |
4742 char pthread_attr_init (); | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4743 #ifdef F77_DUMMY_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
|
4744 # 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
|
4745 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
|
4746 # 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
|
4747 int F77_DUMMY_MAIN() { return 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
|
4748 #endif |
3 | 4749 int |
4750 main () | |
4751 { | |
4752 pthread_attr_init (); | |
4753 ; | |
4754 return 0; | |
4755 } | |
4756 _ACEOF | |
4757 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
|
4758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4759 (eval $ac_link) 2>&5 |
4760 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
|
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4762 (exit $ac_status); } && |
4763 { 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
|
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4765 (eval $ac_try) 2>&5 |
4766 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
|
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4768 (exit $ac_status); }; }; then |
4769 ac_cv_lib_c_r_pthread_attr_init=yes | |
4770 else | |
4771 echo "$as_me: failed program was:" >&5 | |
4772 cat conftest.$ac_ext >&5 | |
4773 ac_cv_lib_c_r_pthread_attr_init=no | |
4774 fi | |
4775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
4776 LIBS=$ac_check_lib_save_LIBS | |
4777 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
|
4778 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
3 | 4779 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6 |
4780 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then | |
4781 PTHREAD_LIBS="-lc_r" | |
4782 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
|
4783 { { echo "$as_me:$LINENO: error: pthread library not found. HandyFTP cannot build without it. |
3 | 4784 " >&5 |
4785 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it. | |
4786 " >&2;} | |
4787 { (exit 1); exit 1; }; } | |
4788 | |
4789 fi | |
4790 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4791 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4792 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
|
4793 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4795 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
|
4796 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4797 |
3 | 4798 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS" |
4799 LIBS="$LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS" | |
4800 | |
4801 RM="rm -f" | |
4802 LN="ln -s" | |
4803 CP="cp" | |
4804 MV="mv" | |
4805 MKDIR="mkdir" | |
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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4814 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4815 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4816 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4817 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4818 ac_config_files="$ac_config_files Makefile dw-config" |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4819 |
3 | 4820 cat >confcache <<\_ACEOF |
4821 # This file is a shell script that caches the results of configure | |
4822 # tests run on this system so they can be shared between configure | |
4823 # scripts and configure runs, see configure's option --config-cache. | |
4824 # It is not useful on other systems. If it contains results you don't | |
4825 # want to keep, you may remove or edit it. | |
4826 # | |
4827 # config.status only pays attention to the cache file if you give it | |
4828 # the --recheck option to rerun configure. | |
4829 # | |
4830 # `ac_cv_env_foo' variables (set or unset) will be overriden when | |
4831 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
4832 # following values. | |
4833 | |
4834 _ACEOF | |
4835 | |
4836 # The following way of writing the cache mishandles newlines in values, | |
4837 # but we know of no workaround that is simple, portable, and efficient. | |
4838 # So, don't put newlines in cache variables' values. | |
4839 # Ultrix sh set writes to stderr and can't be redirected directly, | |
4840 # and sets the high bit in the cache file unless we assign to the vars. | |
4841 { | |
4842 (set) 2>&1 | | |
4843 case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
4844 *ac_space=\ *) | |
4845 # `set' does not quote correctly, so add quotes (double-quote | |
4846 # substitution turns \\\\ into \\, and sed turns \\ into \). | |
4847 sed -n \ | |
4848 "s/'/'\\\\''/g; | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3 | 4850 ;; |
4851 *) | |
4852 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
4853 sed -n \ | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
4854 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3 | 4855 ;; |
4856 esac; | |
4857 } | | |
4858 sed ' | |
4859 t clear | |
4860 : clear | |
4861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
4862 t end | |
4863 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
4864 : end' >>confcache | |
4865 if cmp -s $cache_file confcache; then :; else | |
4866 if test -w $cache_file; then | |
4867 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | |
4868 cat confcache >$cache_file | |
4869 else | |
4870 echo "not updating unwritable cache $cache_file" | |
4871 fi | |
4872 fi | |
4873 rm -f confcache | |
4874 | |
4875 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
4876 # Let make expand exec_prefix. | |
4877 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
4878 | |
4879 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
4880 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
4881 # trailing colons and then remove the whole line if VPATH becomes empty | |
4882 # (actually we leave an empty line to preserve line numbers). | |
4883 if test "x$srcdir" = x.; then | |
4884 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
4885 s/:*\$(srcdir):*/:/; | |
4886 s/:*\${srcdir}:*/:/; | |
4887 s/:*@srcdir@:*/:/; | |
4888 s/^\([^=]*=[ ]*\):*/\1/; | |
4889 s/:*$//; | |
4890 s/^[^=]*=[ ]*$//; | |
4891 }' | |
4892 fi | |
4893 | |
4894 DEFS=-DHAVE_CONFIG_H | |
4895 | |
120
7d2108cbcd3e
Porting DW 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 |
3 | 4897 : ${CONFIG_STATUS=./config.status} |
4898 ac_clean_files_save=$ac_clean_files | |
4899 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
|
4900 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
3 | 4901 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
4902 cat >$CONFIG_STATUS <<_ACEOF | |
4903 #! $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
|
4904 # Generated by $as_me. |
3 | 4905 # Run this file to recreate the current configuration. |
4906 # Compiler output produced by configure, useful for debugging | |
4907 # configure, is in config.log if it exists. | |
4908 | |
4909 debug=false | |
4910 SHELL=\${CONFIG_SHELL-$SHELL} | |
4911 _ACEOF | |
4912 | |
4913 cat >>$CONFIG_STATUS <<\_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
|
4914 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4915 ## --------------------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4916 ## 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
|
4917 ## --------------------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4918 |
3 | 4919 # Be Bourne compatible |
4920 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
4921 emulate sh | |
4922 NULLCMD=: | |
4923 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
4924 set -o posix | |
4925 fi | |
4926 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4927 # NLS nuisances. |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4928 # 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
|
4929 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
|
4930 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
|
4931 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
|
4932 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
|
4933 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
|
4934 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4935 (set +x; test -n "`(LANG=C; export LANG) 2>&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
|
4936 { $as_unset LANG || test "${LANG+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4937 { LANG=C; export LANG; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4938 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&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
|
4939 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4940 { LC_ALL=C; export LC_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
|
4941 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&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
|
4942 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4943 { LC_TIME=C; export LC_TIME; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4944 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&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
|
4945 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4946 { LC_CTYPE=C; export LC_CTYPE; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4947 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&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
|
4948 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4949 { LANGUAGE=C; export LANGUAGE; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4950 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&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
|
4951 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4952 { LC_COLLATE=C; export LC_COLLATE; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4953 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&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
|
4954 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4955 { LC_NUMERIC=C; export LC_NUMERIC; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4956 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&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
|
4957 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4958 { LC_MESSAGES=C; export LC_MESSAGES; } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4959 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4960 |
3 | 4961 # Name of the executable. |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4962 as_me=`(basename "$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
|
4963 $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
|
4964 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
|
4965 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
|
4966 . : '\(.\)' 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
|
4967 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
|
4968 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
|
4969 /^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
|
4970 /^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
|
4971 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
|
4972 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4973 # 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
|
4974 # 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
|
4975 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
|
4976 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
|
4977 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
|
4978 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
|
4979 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
|
4980 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4981 # 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
|
4982 if test "${PATH_SEPARATOR+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
|
4983 echo "#! /bin/sh" >conftest.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
|
4984 echo "exit 0" >>conftest.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
|
4985 chmod +x conftest.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
|
4986 if (PATH=".;."; conftest.sh) >/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
|
4987 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
|
4988 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
|
4989 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
|
4990 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
|
4991 rm -f conftest.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
|
4992 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
|
4993 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4994 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4995 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
|
4996 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
|
4997 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
|
4998 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
|
4999 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
|
5000 # 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
|
5001 # 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
|
5002 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
|
5003 *[\\/]* ) 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
|
5004 *) 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
|
5005 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
|
5006 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
|
5007 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
|
5008 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
|
5009 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
|
5010 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
|
5011 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5012 ;; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5013 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
|
5014 # 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
|
5015 # 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
|
5016 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
|
5017 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
|
5018 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
|
5019 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
|
5020 { { 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
|
5021 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
|
5022 { (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
|
5023 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
|
5024 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
|
5025 '') |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5026 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
|
5027 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
|
5028 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
|
5029 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
|
5030 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
|
5031 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
|
5032 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
|
5033 /*) |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5034 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
|
5035 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
|
5036 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
|
5037 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
|
5038 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
|
5039 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
|
5040 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
|
5041 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
|
5042 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
|
5043 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
|
5044 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
|
5045 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
|
5046 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
|
5047 ;; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5048 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
|
5049 |
7d2108cbcd3e
Porting DW 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 # 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
|
5051 # 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
|
5052 # 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
|
5053 # 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
|
5054 # 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
|
5055 # 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
|
5056 # (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
|
5057 # 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
|
5058 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
|
5059 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
|
5060 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
|
5061 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
|
5062 : 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
|
5063 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
|
5064 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
|
5065 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
|
5066 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
|
5067 ' >$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
|
5068 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
|
5069 { { 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
|
5070 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
|
5071 { (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
|
5072 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5073 # 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
|
5074 # (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
|
5075 # 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
|
5076 . ./$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
|
5077 # 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
|
5078 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
|
5079 } |
7d2108cbcd3e
Porting DW 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 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
|
5083 *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
|
5084 ' 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
|
5085 *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
|
5086 *) 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
|
5087 esac |
3 | 5088 |
5089 if expr a : '\(a\)' >/dev/null 2>&1; then | |
5090 as_expr=expr | |
5091 else | |
5092 as_expr=false | |
5093 fi | |
5094 | |
5095 rm -f conf$$ conf$$.exe conf$$.file | |
5096 echo >conf$$.file | |
5097 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
5098 # We could just check for DJGPP; but this test a) works b) is more generic | |
5099 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
5100 if test -f conf$$.exe; then | |
5101 # Don't use ln at all; we don't have any links | |
5102 as_ln_s='cp -p' | |
5103 else | |
5104 as_ln_s='ln -s' | |
5105 fi | |
5106 elif ln conf$$.file conf$$ 2>/dev/null; then | |
5107 as_ln_s=ln | |
5108 else | |
5109 as_ln_s='cp -p' | |
5110 fi | |
5111 rm -f conf$$ conf$$.exe conf$$.file | |
5112 | |
5113 as_executable_p="test -f" | |
5114 | |
120
7d2108cbcd3e
Porting DW 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 # 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
|
5116 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
|
5117 |
7d2108cbcd3e
Porting DW 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 # 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
|
5119 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
|
5120 |
3 | 5121 |
5122 # IFS | |
5123 # We need space, tab and new line, in precisely that order. | |
5124 as_nl=' | |
5125 ' | |
5126 IFS=" $as_nl" | |
5127 | |
5128 # 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
|
5129 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
3 | 5130 |
5131 exec 6>&1 | |
5132 | |
120
7d2108cbcd3e
Porting DW 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 # 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
|
5134 # 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
|
5135 # 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
|
5136 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
|
5137 { |
7d2108cbcd3e
Porting DW 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 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
|
5139 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
|
5140 ## 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
|
5141 _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
|
5142 } >&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
|
5143 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
|
5144 |
7d2108cbcd3e
Porting DW 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 This file was extended by $as_me, which was |
7d2108cbcd3e
Porting DW 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 generated by GNU Autoconf 2.53. Invocation command line was |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 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
|
5149 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
|
5150 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
|
5151 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
|
5152 $ $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
|
5153 |
7d2108cbcd3e
Porting DW 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 _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
|
5155 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
|
5156 echo >&5 |
3 | 5157 _ACEOF |
5158 | |
5159 # Files that config.status was made for. | |
5160 if test -n "$ac_config_files"; then | |
5161 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
5162 fi | |
5163 | |
5164 if test -n "$ac_config_headers"; then | |
5165 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
5166 fi | |
5167 | |
5168 if test -n "$ac_config_links"; then | |
5169 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
5170 fi | |
5171 | |
5172 if test -n "$ac_config_commands"; then | |
5173 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
5174 fi | |
5175 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5176 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5177 |
5178 ac_cs_usage="\ | |
5179 \`$as_me' instantiates files from templates according to the | |
5180 current configuration. | |
5181 | |
5182 Usage: $0 [OPTIONS] [FILE]... | |
5183 | |
5184 -h, --help print this help, then exit | |
5185 -V, --version print version number, then exit | |
5186 -d, --debug don't remove temporary files | |
5187 --recheck update $as_me by reconfiguring in the same conditions | |
5188 --file=FILE[:TEMPLATE] | |
5189 instantiate the configuration file FILE | |
5190 --header=FILE[:TEMPLATE] | |
5191 instantiate the configuration header FILE | |
5192 | |
5193 Configuration files: | |
5194 $config_files | |
5195 | |
5196 Configuration headers: | |
5197 $config_headers | |
5198 | |
5199 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
|
5200 _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
|
5201 |
7d2108cbcd3e
Porting DW 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 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 5203 ac_cs_version="\\ |
5204 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
|
5205 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
|
5206 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
3 | 5207 |
5208 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
5209 Free Software Foundation, Inc. | |
5210 This config.status script is free software; the Free Software Foundation | |
5211 gives unlimited permission to copy, distribute and modify it." | |
5212 srcdir=$srcdir | |
5213 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
|
5214 _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
|
5215 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5216 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5217 # If no file are specified by the user, then we need to provide default |
5218 # value. By we need to know if files were specified by the user. | |
5219 ac_need_defaults=: | |
5220 while test $# != 0 | |
5221 do | |
5222 case $1 in | |
5223 --*=*) | |
5224 ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
5225 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
5226 shift | |
5227 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | |
5228 shift | |
5229 ;; | |
5230 -*);; | |
5231 *) # This is not an option, so the user has probably given explicit | |
5232 # arguments. | |
5233 ac_need_defaults=false;; | |
5234 esac | |
5235 | |
5236 case $1 in | |
5237 # 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
|
5238 _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
|
5239 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 5240 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
5241 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | |
5242 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | |
120
7d2108cbcd3e
Porting DW 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 _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
|
5244 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5245 --version | --vers* | -V ) |
5246 echo "$ac_cs_version"; exit 0 ;; | |
5247 --he | --h) | |
5248 # 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
|
5249 { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
3 | 5250 Try \`$0 --help' for more information." >&5 |
5251 echo "$as_me: error: ambiguous option: $1 | |
5252 Try \`$0 --help' for more information." >&2;} | |
5253 { (exit 1); exit 1; }; };; | |
5254 --help | --hel | -h ) | |
5255 echo "$ac_cs_usage"; exit 0 ;; | |
5256 --debug | --d* | -d ) | |
5257 debug=: ;; | |
5258 --file | --fil | --fi | --f ) | |
5259 shift | |
5260 CONFIG_FILES="$CONFIG_FILES $1" | |
5261 ac_need_defaults=false;; | |
5262 --header | --heade | --head | --hea ) | |
5263 shift | |
5264 CONFIG_HEADERS="$CONFIG_HEADERS $1" | |
5265 ac_need_defaults=false;; | |
5266 | |
5267 # 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
|
5268 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
3 | 5269 Try \`$0 --help' for more information." >&5 |
5270 echo "$as_me: error: unrecognized option: $1 | |
5271 Try \`$0 --help' for more information." >&2;} | |
5272 { (exit 1); exit 1; }; } ;; | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5273 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5274 *) 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
|
5275 |
3 | 5276 esac |
5277 shift | |
5278 done | |
5279 | |
5280 _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
|
5281 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5282 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5283 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5284 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5285 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5286 cat >>$CONFIG_STATUS <<\_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5287 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
|
5288 do |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5289 case "$ac_config_target" in |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5290 # Handling of arguments. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5291 "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
|
5292 "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
|
5293 "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
|
5294 *) { { 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
|
5295 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
|
5296 { (exit 1); exit 1; }; };; |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5297 esac |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5298 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5299 |
3 | 5300 # If the user did not use the arguments to specify the items to instantiate, |
5301 # then the envvar interface is used. Set only those that are not. | |
5302 # We use the long form for the default assignment because of an extremely | |
5303 # bizarre bug on SunOS 4.1.3. | |
5304 if $ac_need_defaults; then | |
5305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
5306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
5307 fi | |
5308 | |
5309 # Create a temporary directory, and hook for its removal unless debugging. | |
5310 $debug || | |
5311 { | |
5312 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
|
5313 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
3 | 5314 } |
5315 | |
5316 # Create a (secure) tmp directory for tmp files. | |
5317 : ${TMPDIR=/tmp} | |
5318 { | |
5319 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | |
5320 test -n "$tmp" && test -d "$tmp" | |
5321 } || | |
5322 { | |
5323 tmp=$TMPDIR/cs$$-$RANDOM | |
5324 (umask 077 && mkdir $tmp) | |
5325 } || | |
5326 { | |
5327 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | |
5328 { (exit 1); exit 1; } | |
5329 } | |
5330 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5331 _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
|
5332 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5333 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 5334 |
5335 # | |
5336 # CONFIG_FILES section. | |
5337 # | |
5338 | |
5339 # No need to generate the scripts if there are no CONFIG_FILES. | |
5340 # This happens for instance when ./config.status config.h | |
5341 if test -n "\$CONFIG_FILES"; then | |
5342 # Protect against being on the right side of a sed subst in config.status. | |
5343 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | |
5344 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | |
5345 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
|
5346 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
|
5347 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
|
5348 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
|
5349 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
|
5350 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
|
5351 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
3 | 5352 s,@exec_prefix@,$exec_prefix,;t t |
5353 s,@prefix@,$prefix,;t t | |
5354 s,@program_transform_name@,$program_transform_name,;t t | |
5355 s,@bindir@,$bindir,;t t | |
5356 s,@sbindir@,$sbindir,;t t | |
5357 s,@libexecdir@,$libexecdir,;t t | |
5358 s,@datadir@,$datadir,;t t | |
5359 s,@sysconfdir@,$sysconfdir,;t t | |
5360 s,@sharedstatedir@,$sharedstatedir,;t t | |
5361 s,@localstatedir@,$localstatedir,;t t | |
5362 s,@libdir@,$libdir,;t t | |
5363 s,@includedir@,$includedir,;t t | |
5364 s,@oldincludedir@,$oldincludedir,;t t | |
5365 s,@infodir@,$infodir,;t t | |
5366 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
|
5367 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
|
5368 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
|
5369 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
|
5370 s,@DEFS@,$DEFS,;t t |
3 | 5371 s,@ECHO_C@,$ECHO_C,;t t |
5372 s,@ECHO_N@,$ECHO_N,;t t | |
5373 s,@ECHO_T@,$ECHO_T,;t t | |
5374 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
|
5375 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
|
5376 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
|
5377 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t |
3 | 5378 s,@CC@,$CC,;t t |
5379 s,@CFLAGS@,$CFLAGS,;t t | |
5380 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
|
5381 s,@CPPFLAGS@,$CPPFLAGS,;t t |
3 | 5382 s,@ac_ct_CC@,$ac_ct_CC,;t t |
5383 s,@EXEEXT@,$EXEEXT,;t t | |
5384 s,@OBJEXT@,$OBJEXT,;t t | |
5385 s,@MAKE@,$MAKE,;t t | |
5386 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | |
5387 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | |
5388 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | |
5389 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
|
5390 s,@PKG_CFG@,$PKG_CFG,;t t |
3 | 5391 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t |
5392 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t | |
5393 s,@GLIB_LIBS@,$GLIB_LIBS,;t t | |
5394 s,@GTK_CONFIG@,$GTK_CONFIG,;t t | |
5395 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t | |
5396 s,@GTK_LIBS@,$GTK_LIBS,;t t | |
5397 s,@IMLIB_CONFIG@,$IMLIB_CONFIG,;t t | |
5398 s,@GDK_IMLIB_CFLAGS@,$GDK_IMLIB_CFLAGS,;t t | |
5399 s,@GDK_IMLIB_LIBS@,$GDK_IMLIB_LIBS,;t t | |
5400 s,@INCLUDES@,$INCLUDES,;t t | |
5401 s,@RM@,$RM,;t t | |
5402 s,@LN@,$LN,;t t | |
5403 s,@CP@,$CP,;t t | |
5404 s,@MV@,$MV,;t t | |
5405 s,@MKDIR@,$MKDIR,;t t | |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5406 s,@DW_SRC@,$DW_SRC,;t t |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5407 s,@DW_DEFINE@,$DW_DEFINE,;t t |
3 | 5408 CEOF |
5409 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5410 _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
|
5411 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5412 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5413 # Split the substitutions into bite-sized pieces for seds with |
5414 # small command number limits, like on Digital OSF/1 and HP-UX. | |
5415 ac_max_sed_lines=48 | |
5416 ac_sed_frag=1 # Number of current file. | |
5417 ac_beg=1 # First line for current file. | |
5418 ac_end=$ac_max_sed_lines # Line after last line for current file. | |
5419 ac_more_lines=: | |
5420 ac_sed_cmds= | |
5421 while $ac_more_lines; do | |
5422 if test $ac_beg -gt 1; then | |
5423 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
5424 else | |
5425 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
5426 fi | |
5427 if test ! -s $tmp/subs.frag; then | |
5428 ac_more_lines=false | |
5429 else | |
5430 # The purpose of the label and of the branching condition is to | |
5431 # speed up the sed processing (if there are no `@' at all, there | |
5432 # is no need to browse any of the substitutions). | |
5433 # These are the two extra sed commands mentioned above. | |
5434 (echo ':t | |
5435 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
5436 if test -z "$ac_sed_cmds"; then | |
5437 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
5438 else | |
5439 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
5440 fi | |
5441 ac_sed_frag=`expr $ac_sed_frag + 1` | |
5442 ac_beg=$ac_end | |
5443 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
5444 fi | |
5445 done | |
5446 if test -z "$ac_sed_cmds"; then | |
5447 ac_sed_cmds=cat | |
5448 fi | |
5449 fi # test -n "$CONFIG_FILES" | |
5450 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5451 _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
|
5452 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5453 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
5454 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
5455 case $ac_file in | |
5456 - | *:- | *:-:* ) # input from stdin | |
5457 cat >$tmp/stdin | |
5458 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5459 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5460 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5461 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5462 * ) ac_file_in=$ac_file.in ;; | |
5463 esac | |
5464 | |
5465 # 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
|
5466 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
|
5467 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3 | 5468 X"$ac_file" : 'X\(//\)[^/]' \| \ |
5469 X"$ac_file" : 'X\(//\)$' \| \ | |
5470 X"$ac_file" : 'X\(/\)' \| \ | |
5471 . : '\(.\)' 2>/dev/null || | |
5472 echo X"$ac_file" | | |
5473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5474 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5475 /^X\(\/\/\)$/{ s//\1/; q; } | |
5476 /^X\(\/\).*/{ s//\1/; q; } | |
5477 s/.*/./; q'` | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5478 { case "$ac_dir" in |
3 | 5479 [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
5480 *) as_incr_dir=.;; | |
5481 esac | |
5482 as_dummy="$ac_dir" | |
5483 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
5484 case $as_mkdir_dir in | |
5485 # Skip DOS drivespec | |
5486 ?:) as_incr_dir=$as_mkdir_dir ;; | |
5487 *) | |
5488 as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5489 test -d "$as_incr_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
|
5490 mkdir "$as_incr_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
|
5491 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&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
|
5492 echo "$as_me: error: cannot create \"$ac_dir\"" >&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
|
5493 { (exit 1); exit 1; }; } |
3 | 5494 ;; |
5495 esac | |
5496 done; } | |
5497 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5498 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
|
5499 |
7d2108cbcd3e
Porting DW 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 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
|
5501 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
|
5502 # 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
|
5503 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
|
5504 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
|
5505 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
|
5506 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
|
5507 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5508 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
|
5509 .) # 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
|
5510 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
|
5511 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
|
5512 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
|
5513 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
|
5514 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
|
5515 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
|
5516 [\\/]* | ?:[\\/]* ) # 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
|
5517 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
|
5518 ac_top_srcdir=$srcdir ;; |
3 | 5519 *) # 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
|
5520 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
|
5521 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
|
5522 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
|
5523 # 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
|
5524 # 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
|
5525 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && 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
|
5526 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && 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
|
5527 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
|
5528 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
|
5529 |
3 | 5530 |
5531 case $INSTALL in | |
5532 [\\/$]* | ?:[\\/]* ) 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
|
5533 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
3 | 5534 esac |
5535 | |
5536 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
|
5537 { echo "$as_me:$LINENO: creating $ac_file" >&5 |
3 | 5538 echo "$as_me: creating $ac_file" >&6;} |
5539 rm -f "$ac_file" | |
5540 fi | |
5541 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5542 # 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
|
5543 # /* 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
|
5544 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
|
5545 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
|
5546 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
|
5547 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
|
5548 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
|
5549 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
|
5550 sed 's,.*/,,'` by configure." |
3 | 5551 |
5552 # First look for the input files in the build tree, otherwise in the | |
5553 # src tree. | |
5554 ac_file_inputs=`IFS=: | |
5555 for f in $ac_file_in; do | |
5556 case $f in | |
5557 -) echo $tmp/stdin ;; | |
5558 [\\/$]*) | |
5559 # 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
|
5560 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 5561 echo "$as_me: error: cannot find input file: $f" >&2;} |
5562 { (exit 1); exit 1; }; } | |
5563 echo $f;; | |
5564 *) # Relative | |
5565 if test -f "$f"; then | |
5566 # Build tree | |
5567 echo $f | |
5568 elif test -f "$srcdir/$f"; then | |
5569 # Source tree | |
5570 echo $srcdir/$f | |
5571 else | |
5572 # /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
|
5573 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 5574 echo "$as_me: error: cannot find input file: $f" >&2;} |
5575 { (exit 1); exit 1; }; } | |
5576 fi;; | |
5577 esac | |
5578 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
|
5579 _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
|
5580 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 5581 sed "$ac_vpsub |
5582 $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
|
5583 _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
|
5584 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5585 :t |
5586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
5587 s,@configure_input@,$configure_input,;t t | |
5588 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
|
5589 s,@abs_srcdir@,$ac_abs_srcdir,;t t |
3 | 5590 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
|
5591 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
|
5592 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
|
5593 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
|
5594 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
|
5595 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
3 | 5596 s,@INSTALL@,$ac_INSTALL,;t t |
5597 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | |
5598 rm -f $tmp/stdin | |
5599 if test x"$ac_file" != x-; then | |
5600 mv $tmp/out $ac_file | |
5601 else | |
5602 cat $tmp/out | |
5603 rm -f $tmp/out | |
5604 fi | |
5605 | |
5606 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
|
5607 _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
|
5608 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5609 |
5610 # | |
5611 # CONFIG_HEADER section. | |
5612 # | |
5613 | |
5614 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
5615 # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
5616 # | |
5617 # ac_d sets the value in "#define NAME VALUE" lines. | |
5618 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | |
5619 ac_dB='[ ].*$,\1#\2' | |
5620 ac_dC=' ' | |
5621 ac_dD=',;t' | |
5622 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
5623 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
5624 ac_uB='$,\1#\2define\3' | |
5625 ac_uC=' ' | |
5626 ac_uD=',;t' | |
5627 | |
5628 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |
5629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
5630 case $ac_file in | |
5631 - | *:- | *:-:* ) # input from stdin | |
5632 cat >$tmp/stdin | |
5633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5637 * ) ac_file_in=$ac_file.in ;; | |
5638 esac | |
5639 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5640 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
3 | 5641 echo "$as_me: creating $ac_file" >&6;} |
5642 | |
5643 # First look for the input files in the build tree, otherwise in the | |
5644 # src tree. | |
5645 ac_file_inputs=`IFS=: | |
5646 for f in $ac_file_in; do | |
5647 case $f in | |
5648 -) echo $tmp/stdin ;; | |
5649 [\\/$]*) | |
5650 # 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
|
5651 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 5652 echo "$as_me: error: cannot find input file: $f" >&2;} |
5653 { (exit 1); exit 1; }; } | |
5654 echo $f;; | |
5655 *) # Relative | |
5656 if test -f "$f"; then | |
5657 # Build tree | |
5658 echo $f | |
5659 elif test -f "$srcdir/$f"; then | |
5660 # Source tree | |
5661 echo $srcdir/$f | |
5662 else | |
5663 # /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
|
5664 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 5665 echo "$as_me: error: cannot find input file: $f" >&2;} |
5666 { (exit 1); exit 1; }; } | |
5667 fi;; | |
5668 esac | |
5669 done` || { (exit 1); exit 1; } | |
5670 # Remove the trailing spaces. | |
5671 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
5672 | |
120
7d2108cbcd3e
Porting DW 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 _ACEOF |
3 | 5674 |
5675 # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
5676 # `conftest.undefs', that substitutes the proper values into | |
5677 # config.h.in to produce config.h. The first handles `#define' | |
5678 # templates, and the second `#undef' templates. | |
5679 # And first: Protect against being on the right side of a sed subst in | |
5680 # config.status. Protect against being in an unquoted here document | |
5681 # in config.status. | |
5682 rm -f conftest.defines conftest.undefs | |
5683 # Using a here document instead of a string reduces the quoting nightmare. | |
5684 # Putting comments in sed scripts is not portable. | |
5685 # | |
5686 # `end' is used to avoid that the second main sed command (meant for | |
5687 # 0-ary CPP macros) applies to n-ary macro definitions. | |
5688 # 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
|
5689 cat >confdef2sed.sed <<\_ACEOF |
3 | 5690 s/[\\&,]/\\&/g |
5691 s,[\\$`],\\&,g | |
5692 t clear | |
5693 : 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
|
5694 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
3 | 5695 t end |
5696 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
5697 : 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
|
5698 _ACEOF |
3 | 5699 # If some macros were called several times there might be several times |
5700 # the same #defines, which is useless. Nevertheless, we may not want to | |
5701 # sort them, since we want the *last* AC-DEFINE to be honored. | |
5702 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
5703 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
5704 rm -f confdef2sed.sed | |
5705 | |
5706 # This sed command replaces #undef with comments. This is necessary, for | |
5707 # example, in the case of _POSIX_SOURCE, which is predefined and required | |
5708 # 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
|
5709 cat >>conftest.undefs <<\_ACEOF |
3 | 5710 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
|
5711 _ACEOF |
3 | 5712 |
5713 # Break up conftest.defines because some shells have a limit on the size | |
5714 # of here documents, and old seds have small limits too (100 cmds). | |
5715 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | |
5716 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | |
5717 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | |
5718 echo ' :' >>$CONFIG_STATUS | |
5719 rm -f conftest.tail | |
5720 while grep . conftest.defines >/dev/null | |
5721 do | |
5722 # Write a limited-size here document to $tmp/defines.sed. | |
5723 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | |
5724 # Speed up: don't consider the non `#define' lines. | |
5725 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | |
5726 # Work around the forget-to-reset-the-flag bug. | |
5727 echo 't clr' >>$CONFIG_STATUS | |
5728 echo ': clr' >>$CONFIG_STATUS | |
5729 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | |
5730 echo 'CEOF | |
5731 sed -f $tmp/defines.sed $tmp/in >$tmp/out | |
5732 rm -f $tmp/in | |
5733 mv $tmp/out $tmp/in | |
5734 ' >>$CONFIG_STATUS | |
5735 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
5736 rm -f conftest.defines | |
5737 mv conftest.tail conftest.defines | |
5738 done | |
5739 rm -f conftest.defines | |
5740 echo ' fi # egrep' >>$CONFIG_STATUS | |
5741 echo >>$CONFIG_STATUS | |
5742 | |
5743 # Break up conftest.undefs because some shells have a limit on the size | |
5744 # of here documents, and old seds have small limits too (100 cmds). | |
5745 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
5746 rm -f conftest.tail | |
5747 while grep . conftest.undefs >/dev/null | |
5748 do | |
5749 # Write a limited-size here document to $tmp/undefs.sed. | |
5750 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
5751 # Speed up: don't consider the non `#undef' | |
5752 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
5753 # Work around the forget-to-reset-the-flag bug. | |
5754 echo 't clr' >>$CONFIG_STATUS | |
5755 echo ': clr' >>$CONFIG_STATUS | |
5756 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
5757 echo 'CEOF | |
5758 sed -f $tmp/undefs.sed $tmp/in >$tmp/out | |
5759 rm -f $tmp/in | |
5760 mv $tmp/out $tmp/in | |
5761 ' >>$CONFIG_STATUS | |
5762 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
5763 rm -f conftest.undefs | |
5764 mv conftest.tail conftest.undefs | |
5765 done | |
5766 rm -f conftest.undefs | |
5767 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5768 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5769 # Let's still pretend it is `configure' which instantiates (i.e., don't |
5770 # 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
|
5771 # /* config.h. Generated by config.status. */ |
3 | 5772 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
|
5773 echo "/* Generated by configure. */" >$tmp/config.h |
3 | 5774 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
|
5775 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
3 | 5776 fi |
5777 cat $tmp/in >>$tmp/config.h | |
5778 rm -f $tmp/in | |
5779 if test x"$ac_file" != x-; then | |
5780 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
|
5781 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
3 | 5782 echo "$as_me: $ac_file is unchanged" >&6;} |
5783 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
|
5784 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
|
5785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3 | 5786 X"$ac_file" : 'X\(//\)[^/]' \| \ |
5787 X"$ac_file" : 'X\(//\)$' \| \ | |
5788 X"$ac_file" : 'X\(/\)' \| \ | |
5789 . : '\(.\)' 2>/dev/null || | |
5790 echo X"$ac_file" | | |
5791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5792 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5793 /^X\(\/\/\)$/{ s//\1/; q; } | |
5794 /^X\(\/\).*/{ s//\1/; q; } | |
5795 s/.*/./; q'` | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5796 { case "$ac_dir" in |
3 | 5797 [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
5798 *) as_incr_dir=.;; | |
5799 esac | |
5800 as_dummy="$ac_dir" | |
5801 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
5802 case $as_mkdir_dir in | |
5803 # Skip DOS drivespec | |
5804 ?:) as_incr_dir=$as_mkdir_dir ;; | |
5805 *) | |
5806 as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5807 test -d "$as_incr_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
|
5808 mkdir "$as_incr_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
|
5809 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&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
|
5810 echo "$as_me: error: cannot create \"$ac_dir\"" >&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
|
5811 { (exit 1); exit 1; }; } |
3 | 5812 ;; |
5813 esac | |
5814 done; } | |
5815 | |
5816 rm -f $ac_file | |
5817 mv $tmp/config.h $ac_file | |
5818 fi | |
5819 else | |
5820 cat $tmp/config.h | |
5821 rm -f $tmp/config.h | |
5822 fi | |
5823 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
|
5824 _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
|
5825 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5826 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5827 |
5828 { (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
|
5829 _ACEOF |
3 | 5830 chmod +x $CONFIG_STATUS |
5831 ac_clean_files=$ac_clean_files_save | |
5832 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5833 |
3 | 5834 # configure is writing to config.log, and then calls config.status. |
5835 # config.status does its own redirection, appending to config.log. | |
5836 # Unfortunately, on DOS this fails, as config.log is still kept open | |
5837 # by configure, so config.status won't be able to write to it; its | |
5838 # output is simply discarded. So we exec the FD to /dev/null, | |
5839 # effectively closing config.log, so it can be properly (re)opened and | |
5840 # appended to by config.status. When coming back to configure, we | |
5841 # need to make the FD available again. | |
5842 if test "$no_create" != yes; then | |
5843 ac_cs_success=: | |
5844 exec 5>/dev/null | |
5845 $SHELL $CONFIG_STATUS || ac_cs_success=false | |
5846 exec 5>>config.log | |
5847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
5848 # would make configure fail if this is the last instruction. | |
5849 $ac_cs_success || { (exit 1); exit 1; } | |
5850 fi | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5851 |