Mercurial > dwindows
annotate configure @ 544:536b32eb0cb0
Committed Icon code from Mark.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 04 Apr 2004 01:58:48 +0000 |
parents | 0b52875e1588 |
children | 9e81f23b57ae |
rev | line source |
---|---|
3 | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3 # Generated by GNU Autoconf 2.57. |
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. | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
9 ## --------------------- ## |
7d2108cbcd3e
Porting DW 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 ## 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
|
11 ## --------------------- ## |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
12 |
3 | 13 # Be Bourne compatible |
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
15 emulate sh | |
16 NULLCMD=: | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
18 # is contrary to our usage. Disable this feature. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
19 alias -g '${1+"$@"}'='"$@"' |
3 | 20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 set -o posix | |
22 fi | |
23 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
24 # 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
|
25 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
|
26 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
|
27 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
|
28 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
|
29 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
|
30 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
31 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
32 # Work around bugs in pre-3.0 UWIN ksh. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
33 $as_unset ENV MAIL MAILPATH |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
34 PS1='$ ' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
35 PS2='> ' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
36 PS4='+ ' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
37 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
38 # NLS nuisances. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
39 for as_var in \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
42 LC_TELEPHONE LC_TIME |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
43 do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
45 eval $as_var=C; export $as_var |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
46 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
47 $as_unset $as_var |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
48 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
49 done |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
50 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
51 # Required to use basename. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
52 if expr a : '\(a\)' >/dev/null 2>&1; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
53 as_expr=expr |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
54 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
55 as_expr=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
56 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
57 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
59 as_basename=basename |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
60 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
61 as_basename=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
62 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
|
63 |
7d2108cbcd3e
Porting DW 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 |
3 | 65 # Name of the executable. |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
66 as_me=`$as_basename "$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
|
67 $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
|
68 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
|
69 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
|
70 . : '\(.\)' 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
|
71 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
|
72 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
|
73 /^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
|
74 /^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
|
75 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
|
76 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
77 |
120
7d2108cbcd3e
Porting DW 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 # 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
|
79 # 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
|
80 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
|
81 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
|
82 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
|
83 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
|
84 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
|
85 |
7d2108cbcd3e
Porting DW 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 # 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
|
87 if test "${PATH_SEPARATOR+set}" != set; then |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
88 echo "#! /bin/sh" >conf$$.sh |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
89 echo "exit 0" >>conf$$.sh |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
90 chmod +x conf$$.sh |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
92 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
|
93 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
|
94 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
|
95 fi |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
96 rm -f conf$$.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
|
97 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
|
98 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 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
|
101 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
|
102 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
|
103 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
|
104 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
|
105 # 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
|
106 # 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
|
107 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
|
108 *[\\/]* ) 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
|
109 *) 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
|
110 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
|
111 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
|
112 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
|
113 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
|
114 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
|
115 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
|
116 |
7d2108cbcd3e
Porting DW 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 ;; |
7d2108cbcd3e
Porting DW 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 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
|
119 # 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
|
120 # 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
|
121 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
|
122 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
|
123 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
|
124 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
|
125 { 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
|
126 { (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
|
127 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
|
128 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
|
129 '') |
7d2108cbcd3e
Porting DW 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 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
|
131 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
|
132 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 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
|
134 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
|
135 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
|
136 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
|
137 /*) |
7d2108cbcd3e
Porting DW 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 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
|
139 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
|
140 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
|
141 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
|
142 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
|
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
120
7d2108cbcd3e
Porting DW 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 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
|
147 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
|
148 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
|
149 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
|
150 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
|
151 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
|
152 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
|
153 ;; |
7d2108cbcd3e
Porting DW 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 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
|
155 |
7d2108cbcd3e
Porting DW 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 # 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
|
157 # 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
|
158 # 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
|
159 # 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
|
160 # 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
|
161 # 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
|
162 # (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
|
163 # 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
|
164 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
|
165 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
|
166 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
|
167 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
|
168 : 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
|
169 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
|
170 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
|
171 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
|
172 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
|
173 ' >$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
|
174 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
|
175 { 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
|
176 { (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
|
177 |
7d2108cbcd3e
Porting DW 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 # 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
|
179 # (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
|
180 # 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
|
181 . ./$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
|
182 # 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
|
183 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
|
184 } |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 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
|
188 *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
|
189 ' 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
|
190 *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
|
191 *) 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
|
192 esac |
3 | 193 |
194 if expr a : '\(a\)' >/dev/null 2>&1; then | |
195 as_expr=expr | |
196 else | |
197 as_expr=false | |
198 fi | |
199 | |
200 rm -f conf$$ conf$$.exe conf$$.file | |
201 echo >conf$$.file | |
202 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
203 # We could just check for DJGPP; but this test a) works b) is more generic | |
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
205 if test -f conf$$.exe; then | |
206 # Don't use ln at all; we don't have any links | |
207 as_ln_s='cp -p' | |
208 else | |
209 as_ln_s='ln -s' | |
210 fi | |
211 elif ln conf$$.file conf$$ 2>/dev/null; then | |
212 as_ln_s=ln | |
213 else | |
214 as_ln_s='cp -p' | |
215 fi | |
216 rm -f conf$$ conf$$.exe conf$$.file | |
217 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
218 if mkdir -p . 2>/dev/null; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
219 as_mkdir_p=: |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
220 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
221 as_mkdir_p=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
222 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
223 |
3 | 224 as_executable_p="test -f" |
225 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
226 # 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
|
227 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
|
228 |
7d2108cbcd3e
Porting DW 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 # 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
|
230 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
|
231 |
3 | 232 |
233 # IFS | |
234 # We need space, tab and new line, in precisely that order. | |
235 as_nl=' | |
236 ' | |
237 IFS=" $as_nl" | |
238 | |
239 # CDPATH. | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
240 $as_unset 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
|
241 |
3 | 242 |
243 # Name of the host. | |
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
245 # so uname gets run too. | |
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
247 | |
248 exec 6>&1 | |
249 | |
250 # | |
251 # Initializations. | |
252 # | |
253 ac_default_prefix=/usr/local | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
254 ac_config_libobj_dir=. |
3 | 255 cross_compiling=no |
256 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
|
257 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
|
258 MAKEFLAGS= |
3 | 259 SHELL=${CONFIG_SHELL-/bin/sh} |
260 | |
261 # Maximum number of lines to put in a shell here document. | |
262 # This variable seems obsolete. It should probably be removed, and | |
263 # only ac_max_sed_lines should be used. | |
264 : ${ac_max_here_lines=38} | |
265 | |
120
7d2108cbcd3e
Porting DW 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 # 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
|
267 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
|
268 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
|
269 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
|
270 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
|
271 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
|
272 |
3 | 273 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
|
274 # 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
|
275 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
|
276 #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
|
277 #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
|
278 # 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
|
279 #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
|
280 #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
|
281 # 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
|
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 #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
|
284 # 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
|
285 # 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
|
286 #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
|
287 # 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
|
288 # 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
|
289 # 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
|
290 #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
|
291 #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
|
292 # 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
|
293 # 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
|
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 # 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
|
296 #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
|
297 #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
|
298 # 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
|
299 #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
|
300 #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
|
301 # 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
|
302 #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
|
303 # 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
|
304 # 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
|
305 # 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
|
306 #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
|
307 #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
|
308 # 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
|
309 #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
|
310 |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS DW_MAJOR_VERSION DW_MINOR_VERSION DW_SUB_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP PKG_CFG GLIB_CONFIG GLIB_CFLAGS GLIB_LIBS GTK_CONFIG GTK_CFLAGS GTK_LIBS IMLIB_CONFIG GDK_IMLIB_CFLAGS GDK_IMLIB_LIBS INCLUDES RM LN CP MV MKDIR SHAREDFLAG SOSUFFIX DW_SRC DW_DEFINE LIBOBJS LTLIBOBJS' |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
312 ac_subst_files='' |
3 | 313 |
314 # Initialize some variables set by options. | |
315 ac_init_help= | |
316 ac_init_version=false | |
317 # The variables have the same names as the options, with | |
318 # dashes changed to underlines. | |
319 cache_file=/dev/null | |
320 exec_prefix=NONE | |
321 no_create= | |
322 no_recursion= | |
323 prefix=NONE | |
324 program_prefix=NONE | |
325 program_suffix=NONE | |
326 program_transform_name=s,x,x, | |
327 silent= | |
328 site= | |
329 srcdir= | |
330 verbose= | |
331 x_includes=NONE | |
332 x_libraries=NONE | |
333 | |
334 # Installation directory options. | |
335 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
336 # and all the variables that are supposed to be based on exec_prefix | |
337 # by default will actually change. | |
338 # Use braces instead of parens because sh, perl, etc. also accept them. | |
339 bindir='${exec_prefix}/bin' | |
340 sbindir='${exec_prefix}/sbin' | |
341 libexecdir='${exec_prefix}/libexec' | |
342 datadir='${prefix}/share' | |
343 sysconfdir='${prefix}/etc' | |
344 sharedstatedir='${prefix}/com' | |
345 localstatedir='${prefix}/var' | |
346 libdir='${exec_prefix}/lib' | |
347 includedir='${prefix}/include' | |
348 oldincludedir='/usr/include' | |
349 infodir='${prefix}/info' | |
350 mandir='${prefix}/man' | |
351 | |
352 ac_prev= | |
353 for ac_option | |
354 do | |
355 # If the previous option needs an argument, assign it. | |
356 if test -n "$ac_prev"; then | |
357 eval "$ac_prev=\$ac_option" | |
358 ac_prev= | |
359 continue | |
360 fi | |
361 | |
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | |
363 | |
364 # Accept the important Cygnus configure options, so we can diagnose typos. | |
365 | |
366 case $ac_option in | |
367 | |
368 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
369 ac_prev=bindir ;; | |
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
371 bindir=$ac_optarg ;; | |
372 | |
373 -build | --build | --buil | --bui | --bu) | |
374 ac_prev=build_alias ;; | |
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
376 build_alias=$ac_optarg ;; | |
377 | |
378 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
380 ac_prev=cache_file ;; | |
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
383 cache_file=$ac_optarg ;; | |
384 | |
385 --config-cache | -C) | |
386 cache_file=config.cache ;; | |
387 | |
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
389 ac_prev=datadir ;; | |
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
391 | --da=*) | |
392 datadir=$ac_optarg ;; | |
393 | |
394 -disable-* | --disable-*) | |
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
396 # 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
|
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
3 | 398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
399 { (exit 1); exit 1; }; } | |
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
401 eval "enable_$ac_feature=no" ;; | |
402 | |
403 -enable-* | --enable-*) | |
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
405 # 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
|
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
3 | 407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
408 { (exit 1); exit 1; }; } | |
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
410 case $ac_option in | |
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
412 *) ac_optarg=yes ;; | |
413 esac | |
414 eval "enable_$ac_feature='$ac_optarg'" ;; | |
415 | |
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
418 | --exec | --exe | --ex) | |
419 ac_prev=exec_prefix ;; | |
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
422 | --exec=* | --exe=* | --ex=*) | |
423 exec_prefix=$ac_optarg ;; | |
424 | |
425 -gas | --gas | --ga | --g) | |
426 # Obsolete; use --with-gas. | |
427 with_gas=yes ;; | |
428 | |
429 -help | --help | --hel | --he | -h) | |
430 ac_init_help=long ;; | |
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
432 ac_init_help=recursive ;; | |
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
434 ac_init_help=short ;; | |
435 | |
436 -host | --host | --hos | --ho) | |
437 ac_prev=host_alias ;; | |
438 -host=* | --host=* | --hos=* | --ho=*) | |
439 host_alias=$ac_optarg ;; | |
440 | |
441 -includedir | --includedir | --includedi | --included | --include \ | |
442 | --includ | --inclu | --incl | --inc) | |
443 ac_prev=includedir ;; | |
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
445 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
446 includedir=$ac_optarg ;; | |
447 | |
448 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
449 ac_prev=infodir ;; | |
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
451 infodir=$ac_optarg ;; | |
452 | |
453 -libdir | --libdir | --libdi | --libd) | |
454 ac_prev=libdir ;; | |
455 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
456 libdir=$ac_optarg ;; | |
457 | |
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
459 | --libexe | --libex | --libe) | |
460 ac_prev=libexecdir ;; | |
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
462 | --libexe=* | --libex=* | --libe=*) | |
463 libexecdir=$ac_optarg ;; | |
464 | |
465 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
466 | --localstate | --localstat | --localsta | --localst \ | |
467 | --locals | --local | --loca | --loc | --lo) | |
468 ac_prev=localstatedir ;; | |
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
472 localstatedir=$ac_optarg ;; | |
473 | |
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
475 ac_prev=mandir ;; | |
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
477 mandir=$ac_optarg ;; | |
478 | |
479 -nfp | --nfp | --nf) | |
480 # Obsolete; use --without-fp. | |
481 with_fp=no ;; | |
482 | |
483 -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
|
484 | --no-cr | --no-c | -n) |
3 | 485 no_create=yes ;; |
486 | |
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
489 no_recursion=yes ;; | |
490 | |
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
493 | --oldin | --oldi | --old | --ol | --o) | |
494 ac_prev=oldincludedir ;; | |
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
498 oldincludedir=$ac_optarg ;; | |
499 | |
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
501 ac_prev=prefix ;; | |
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
503 prefix=$ac_optarg ;; | |
504 | |
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
506 | --program-pre | --program-pr | --program-p) | |
507 ac_prev=program_prefix ;; | |
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
510 program_prefix=$ac_optarg ;; | |
511 | |
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
513 | --program-suf | --program-su | --program-s) | |
514 ac_prev=program_suffix ;; | |
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
517 program_suffix=$ac_optarg ;; | |
518 | |
519 -program-transform-name | --program-transform-name \ | |
520 | --program-transform-nam | --program-transform-na \ | |
521 | --program-transform-n | --program-transform- \ | |
522 | --program-transform | --program-transfor \ | |
523 | --program-transfo | --program-transf \ | |
524 | --program-trans | --program-tran \ | |
525 | --progr-tra | --program-tr | --program-t) | |
526 ac_prev=program_transform_name ;; | |
527 -program-transform-name=* | --program-transform-name=* \ | |
528 | --program-transform-nam=* | --program-transform-na=* \ | |
529 | --program-transform-n=* | --program-transform-=* \ | |
530 | --program-transform=* | --program-transfor=* \ | |
531 | --program-transfo=* | --program-transf=* \ | |
532 | --program-trans=* | --program-tran=* \ | |
533 | --progr-tra=* | --program-tr=* | --program-t=*) | |
534 program_transform_name=$ac_optarg ;; | |
535 | |
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
537 | -silent | --silent | --silen | --sile | --sil) | |
538 silent=yes ;; | |
539 | |
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
541 ac_prev=sbindir ;; | |
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
543 | --sbi=* | --sb=*) | |
544 sbindir=$ac_optarg ;; | |
545 | |
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
548 | --sharedst | --shareds | --shared | --share | --shar \ | |
549 | --sha | --sh) | |
550 ac_prev=sharedstatedir ;; | |
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
554 | --sha=* | --sh=*) | |
555 sharedstatedir=$ac_optarg ;; | |
556 | |
557 -site | --site | --sit) | |
558 ac_prev=site ;; | |
559 -site=* | --site=* | --sit=*) | |
560 site=$ac_optarg ;; | |
561 | |
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
563 ac_prev=srcdir ;; | |
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
565 srcdir=$ac_optarg ;; | |
566 | |
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
568 | --syscon | --sysco | --sysc | --sys | --sy) | |
569 ac_prev=sysconfdir ;; | |
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
572 sysconfdir=$ac_optarg ;; | |
573 | |
574 -target | --target | --targe | --targ | --tar | --ta | --t) | |
575 ac_prev=target_alias ;; | |
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
577 target_alias=$ac_optarg ;; | |
578 | |
579 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
580 verbose=yes ;; | |
581 | |
582 -version | --version | --versio | --versi | --vers | -V) | |
583 ac_init_version=: ;; | |
584 | |
585 -with-* | --with-*) | |
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
587 # 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
|
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
3 | 589 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
590 { (exit 1); exit 1; }; } | |
591 ac_package=`echo $ac_package| sed 's/-/_/g'` | |
592 case $ac_option in | |
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
594 *) ac_optarg=yes ;; | |
595 esac | |
596 eval "with_$ac_package='$ac_optarg'" ;; | |
597 | |
598 -without-* | --without-*) | |
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
600 # 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
|
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
3 | 602 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
603 { (exit 1); exit 1; }; } | |
604 ac_package=`echo $ac_package | sed 's/-/_/g'` | |
605 eval "with_$ac_package=no" ;; | |
606 | |
607 --x) | |
608 # Obsolete; use --with-x. | |
609 with_x=yes ;; | |
610 | |
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
612 | --x-incl | --x-inc | --x-in | --x-i) | |
613 ac_prev=x_includes ;; | |
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
616 x_includes=$ac_optarg ;; | |
617 | |
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
620 ac_prev=x_libraries ;; | |
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
623 x_libraries=$ac_optarg ;; | |
624 | |
625 -*) { echo "$as_me: error: unrecognized option: $ac_option | |
626 Try \`$0 --help' for more information." >&2 | |
627 { (exit 1); exit 1; }; } | |
628 ;; | |
629 | |
630 *=*) | |
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
632 # 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
|
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
3 | 634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
635 { (exit 1); exit 1; }; } | |
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
637 eval "$ac_envvar='$ac_optarg'" | |
638 export $ac_envvar ;; | |
639 | |
640 *) | |
641 # FIXME: should be removed in autoconf 3.0. | |
642 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
|
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
3 | 644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
646 ;; | |
647 | |
648 esac | |
649 done | |
650 | |
651 if test -n "$ac_prev"; then | |
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
653 { echo "$as_me: error: missing argument to $ac_option" >&2 | |
654 { (exit 1); exit 1; }; } | |
655 fi | |
656 | |
657 # 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
|
658 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
|
659 do |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
660 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
|
661 case $ac_val in |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
662 [\\/$]* | ?:[\\/]* | 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
|
663 *) { 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
|
664 { (exit 1); exit 1; }; };; |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
665 esac |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
666 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
667 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
668 # Be sure to have absolute paths. |
3 | 669 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
|
670 localstatedir libdir includedir oldincludedir infodir mandir |
3 | 671 do |
672 eval ac_val=$`echo $ac_var` | |
673 case $ac_val in | |
674 [\\/$]* | ?:[\\/]* ) ;; | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
3 | 676 { (exit 1); exit 1; }; };; |
677 esac | |
678 done | |
679 | |
680 # There might be people who depend on the old broken behavior: `$host' | |
681 # 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
|
682 # FIXME: To remove some day. |
3 | 683 build=$build_alias |
684 host=$host_alias | |
685 target=$target_alias | |
686 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
687 # FIXME: To remove some day. |
3 | 688 if test "x$host_alias" != x; then |
689 if test "x$build_alias" = x; then | |
690 cross_compiling=maybe | |
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
692 If a cross compiler is detected then cross compile mode will be used." >&2 | |
693 elif test "x$build_alias" != "x$host_alias"; then | |
694 cross_compiling=yes | |
695 fi | |
696 fi | |
697 | |
698 ac_tool_prefix= | |
699 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
700 | |
701 test "$silent" = yes && exec 6>/dev/null | |
702 | |
120
7d2108cbcd3e
Porting DW 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 |
3 | 704 # Find the source files, if location was not specified. |
705 if test -z "$srcdir"; then | |
706 ac_srcdir_defaulted=yes | |
707 # 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
|
708 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
|
709 $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
|
710 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
|
711 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
|
712 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
|
713 . : '\(.\)' 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
|
714 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
|
715 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
|
716 /^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
|
717 /^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
|
718 /^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
|
719 s/.*/./; q'` |
3 | 720 srcdir=$ac_confdir |
721 if test ! -r $srcdir/$ac_unique_file; then | |
722 srcdir=.. | |
723 fi | |
724 else | |
725 ac_srcdir_defaulted=no | |
726 fi | |
727 if test ! -r $srcdir/$ac_unique_file; then | |
728 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
|
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
3 | 730 { (exit 1); exit 1; }; } |
731 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
|
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
3 | 733 { (exit 1); exit 1; }; } |
734 fi | |
735 fi | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
738 { (exit 1); exit 1; }; } |
3 | 739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
740 ac_env_build_alias_set=${build_alias+set} | |
741 ac_env_build_alias_value=$build_alias | |
742 ac_cv_env_build_alias_set=${build_alias+set} | |
743 ac_cv_env_build_alias_value=$build_alias | |
744 ac_env_host_alias_set=${host_alias+set} | |
745 ac_env_host_alias_value=$host_alias | |
746 ac_cv_env_host_alias_set=${host_alias+set} | |
747 ac_cv_env_host_alias_value=$host_alias | |
748 ac_env_target_alias_set=${target_alias+set} | |
749 ac_env_target_alias_value=$target_alias | |
750 ac_cv_env_target_alias_set=${target_alias+set} | |
751 ac_cv_env_target_alias_value=$target_alias | |
752 ac_env_CC_set=${CC+set} | |
753 ac_env_CC_value=$CC | |
754 ac_cv_env_CC_set=${CC+set} | |
755 ac_cv_env_CC_value=$CC | |
756 ac_env_CFLAGS_set=${CFLAGS+set} | |
757 ac_env_CFLAGS_value=$CFLAGS | |
758 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
759 ac_cv_env_CFLAGS_value=$CFLAGS | |
760 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
761 ac_env_LDFLAGS_value=$LDFLAGS | |
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
763 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
|
764 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
|
765 ac_env_CPPFLAGS_value=$CPPFLAGS |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
766 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
|
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
3 | 768 ac_env_CPP_set=${CPP+set} |
769 ac_env_CPP_value=$CPP | |
770 ac_cv_env_CPP_set=${CPP+set} | |
771 ac_cv_env_CPP_value=$CPP | |
772 | |
773 # | |
774 # Report the --help message. | |
775 # | |
776 if test "$ac_init_help" = "long"; then | |
777 # Omit some internal or obsolete options to make the list less imposing. | |
778 # 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
|
779 cat <<_ACEOF |
3 | 780 \`configure' configures this package to adapt to many kinds of systems. |
781 | |
782 Usage: $0 [OPTION]... [VAR=VALUE]... | |
783 | |
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
785 VAR=VALUE. See below for descriptions of some of the useful variables. | |
786 | |
787 Defaults for the options are specified in brackets. | |
788 | |
789 Configuration: | |
790 -h, --help display this help and exit | |
791 --help=short display options specific to this package | |
792 --help=recursive display the short help of all the included packages | |
793 -V, --version display version information and exit | |
794 -q, --quiet, --silent do not print \`checking...' messages | |
795 --cache-file=FILE cache test results in FILE [disabled] | |
796 -C, --config-cache alias for \`--cache-file=config.cache' | |
797 -n, --no-create do not create output files | |
798 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
799 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
800 _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
|
801 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
802 cat <<_ACEOF |
3 | 803 Installation directories: |
804 --prefix=PREFIX install architecture-independent files in PREFIX | |
805 [$ac_default_prefix] | |
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
807 [PREFIX] | |
808 | |
809 By default, \`make install' will install all the files in | |
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
812 for instance \`--prefix=\$HOME'. | |
813 | |
814 For better control, use the options below. | |
815 | |
816 Fine tuning of the installation directories: | |
817 --bindir=DIR user executables [EPREFIX/bin] | |
818 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
819 --libexecdir=DIR program executables [EPREFIX/libexec] | |
820 --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
824 --libdir=DIR object code libraries [EPREFIX/lib] | |
825 --includedir=DIR C header files [PREFIX/include] | |
826 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
827 --infodir=DIR info documentation [PREFIX/info] | |
828 --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
|
829 _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
|
830 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
831 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
|
832 _ACEOF |
3 | 833 fi |
834 | |
835 if test -n "$ac_init_help"; then | |
836 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
837 cat <<\_ACEOF |
3 | 838 |
839 Optional Features: | |
840 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
841 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
842 --disable-glibtest Do not try to compile and run a test GLIB program | |
843 --disable-gtktest Do not try to compile and run a test GTK program | |
844 --disable-imlibtest Do not try to compile and run a test IMLIB program | |
845 | |
846 Optional Packages: | |
847 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
848 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
849 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) | |
850 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) | |
851 --with-gtk-prefix=PFX Prefix where GTK is installed (optional) | |
852 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) | |
853 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional) | |
854 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional) | |
855 | |
856 Some influential environment variables: | |
857 CC C compiler command | |
858 CFLAGS C compiler flags | |
859 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
860 nonstandard directory <lib dir> | |
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | |
862 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
|
863 CPP C preprocessor |
3 | 864 |
865 Use these variables to override the choices made by `configure' or to help | |
866 it to find libraries and programs with nonstandard names/locations. | |
867 | |
120
7d2108cbcd3e
Porting DW 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 _ACEOF |
3 | 869 fi |
870 | |
871 if test "$ac_init_help" = "recursive"; then | |
872 # If there are subdirs, report their specific --help. | |
873 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
|
874 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
|
875 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
|
876 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
|
877 |
7d2108cbcd3e
Porting DW 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 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
|
879 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
|
880 # 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
|
881 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
|
882 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
|
883 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
|
884 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
|
885 |
7d2108cbcd3e
Porting DW 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 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
|
887 .) # 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
|
888 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
|
889 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
|
890 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
|
891 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
|
892 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
|
893 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
|
894 [\\/]* | ?:[\\/]* ) # 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
|
895 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
|
896 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
|
897 *) # 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
|
898 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
|
899 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
|
900 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
|
901 # 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
|
902 # 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
|
903 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
904 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
905 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
|
906 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
|
907 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
908 cd $ac_dir |
3 | 909 # 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
|
910 if test -f $ac_srcdir/configure.gnu; then |
3 | 911 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
|
912 $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
|
913 elif test -f $ac_srcdir/configure; then |
3 | 914 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
|
915 $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
|
916 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
|
917 test -f $ac_srcdir/configure.in; then |
3 | 918 echo |
919 $ac_configure --help | |
920 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
|
921 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
3 | 922 fi |
923 cd $ac_popdir | |
924 done | |
925 fi | |
926 | |
927 test -n "$ac_init_help" && exit 0 | |
928 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
|
929 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
|
930 |
7d2108cbcd3e
Porting DW 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 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
3 | 932 Free Software Foundation, Inc. |
933 This configure script is free software; the Free Software Foundation | |
934 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
|
935 _ACEOF |
3 | 936 exit 0 |
937 fi | |
938 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
|
939 cat >&5 <<_ACEOF |
3 | 940 This file contains any messages produced by compilers while |
941 running configure, to aid debugging if configure makes a mistake. | |
942 | |
943 It was created by $as_me, which was | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
944 generated by GNU Autoconf 2.57. Invocation command line was |
3 | 945 |
946 $ $0 $@ | |
947 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
948 _ACEOF |
3 | 949 { |
950 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
|
951 ## --------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
952 ## 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
|
953 ## --------- ## |
3 | 954 |
955 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
956 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
957 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
958 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
959 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
960 | |
961 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
962 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
963 | |
964 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
965 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
966 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
967 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |
968 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
969 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
970 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
971 | |
972 _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
|
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 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
|
975 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
|
976 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
|
977 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
|
978 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
|
979 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
|
980 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
|
981 |
3 | 982 } >&5 |
983 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
984 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
|
985 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
987 ## ----------- ## |
7d2108cbcd3e
Porting DW 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 ## 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
|
989 ## ----------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
990 |
7d2108cbcd3e
Porting DW 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 _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
|
992 |
3 | 993 |
994 # Keep a trace of the command line. | |
995 # Strip out --no-create and --no-recursion so they do not pile up. | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
996 # Strip out --silent because we don't want to record it for future runs. |
3 | 997 # Also quote any args containing shell meta-characters. |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
998 # Make two passes to allow for proper duplicate-argument suppression. |
3 | 999 ac_configure_args= |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1000 ac_configure_args0= |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1001 ac_configure_args1= |
3 | 1002 ac_sep= |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1003 ac_must_keep_next=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1004 for ac_pass in 1 2 |
3 | 1005 do |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1006 for ac_arg |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1007 do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1008 case $ac_arg in |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1009 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1011 | -silent | --silent | --silen | --sile | --sil) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1012 continue ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1013 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1014 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1015 esac |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1016 case $ac_pass in |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1017 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1018 2) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1019 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1020 if test $ac_must_keep_next = true; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1021 ac_must_keep_next=false # Got value, back to normal. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1022 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1023 case $ac_arg in |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1024 *=* | --config-cache | -C | -disable-* | --disable-* \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1025 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1026 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1027 | -with-* | --with-* | -without-* | --without-* | --x) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1028 case "$ac_configure_args0 " in |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1029 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1030 esac |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1031 ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1032 -* ) ac_must_keep_next=true ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1033 esac |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1034 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1035 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1036 # Get rid of the leading space. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1037 ac_sep=" " |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1038 ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1039 esac |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1040 done |
3 | 1041 done |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1042 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1043 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
3 | 1044 |
1045 # When interrupted or exit'd, cleanup temporary files, and complete | |
1046 # config.log. We remove comments because anyway the quotes in there | |
1047 # 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
|
1048 # 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
|
1049 # such as our DU 5.0 friend, will then `close' the trap. |
3 | 1050 trap 'exit_status=$? |
1051 # 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
|
1052 { |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1053 echo |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1054 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1055 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
|
1056 ## ---------------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1057 ## 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
|
1058 ## ---------------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1059 _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
|
1060 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
|
1061 # The following way of writing the cache mishandles newlines in values, |
3 | 1062 { |
1063 (set) 2>&1 | | |
1064 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | |
1065 *ac_space=\ *) | |
1066 sed -n \ | |
1067 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
3 | 1069 ;; |
1070 *) | |
1071 sed -n \ | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1072 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3 | 1073 ;; |
1074 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
|
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 echo |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1077 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1078 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1079 ## ----------------- ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1080 ## Output variables. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1081 ## ----------------- ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1082 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1083 echo |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1084 for ac_var in $ac_subst_vars |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1085 do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1086 eval ac_val=$`echo $ac_var` |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1087 echo "$ac_var='"'"'$ac_val'"'"'" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1088 done | sort |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1089 echo |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1090 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1091 if test -n "$ac_subst_files"; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1092 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1093 ## ------------- ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1094 ## Output files. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1095 ## ------------- ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1096 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1097 echo |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1098 for ac_var in $ac_subst_files |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1099 do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1100 eval ac_val=$`echo $ac_var` |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1101 echo "$ac_var='"'"'$ac_val'"'"'" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1102 done | sort |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1103 echo |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1104 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1105 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1106 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
|
1107 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
|
1108 ## ----------- ## |
7d2108cbcd3e
Porting DW 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 ## 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
|
1110 ## ----------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1111 _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
|
1112 echo |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1113 sed "/^$/d" confdefs.h | sort |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1114 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
|
1115 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
|
1116 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
|
1117 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
|
1118 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
|
1119 } >&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
|
1120 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
|
1121 rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
3 | 1122 exit $exit_status |
1123 ' 0 | |
1124 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
|
1125 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
3 | 1126 done |
1127 ac_signal=0 | |
1128 | |
1129 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1130 rm -rf conftest* confdefs.h | |
1131 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1132 echo >confdefs.h | |
1133 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1134 # 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
|
1135 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1136 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
|
1137 #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
|
1138 _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
|
1139 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1140 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1141 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
|
1142 #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
|
1143 _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
|
1144 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1146 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
|
1147 #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
|
1148 _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
|
1149 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1150 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1151 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
|
1152 #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
|
1153 _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
|
1154 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1155 |
7d2108cbcd3e
Porting DW 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 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
|
1157 #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
|
1158 _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
|
1159 |
7d2108cbcd3e
Porting DW 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 |
3 | 1161 # Let the site file select an alternate cache file if it wants to. |
1162 # Prefer explicitly selected file to automatically selected ones. | |
1163 if test -z "$CONFIG_SITE"; then | |
1164 if test "x$prefix" != xNONE; then | |
1165 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
1166 else | |
1167 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
1168 fi | |
1169 fi | |
1170 for ac_site_file in $CONFIG_SITE; do | |
1171 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
|
1172 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
3 | 1173 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
|
1174 sed 's/^/| /' "$ac_site_file" >&5 |
3 | 1175 . "$ac_site_file" |
1176 fi | |
1177 done | |
1178 | |
1179 if test -r "$cache_file"; then | |
1180 # Some versions of bash will fail to source /dev/null (special | |
1181 # files actually), so we avoid doing that. | |
1182 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
|
1183 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
3 | 1184 echo "$as_me: loading cache $cache_file" >&6;} |
1185 case $cache_file in | |
1186 [\\/]* | ?:[\\/]* ) . $cache_file;; | |
1187 *) . ./$cache_file;; | |
1188 esac | |
1189 fi | |
1190 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
|
1191 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
3 | 1192 echo "$as_me: creating cache $cache_file" >&6;} |
1193 >$cache_file | |
1194 fi | |
1195 | |
1196 # Check that the precious variables saved in the cache have kept the same | |
1197 # value. | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1198 ac_cache_corrupted=false |
3 | 1199 for ac_var in `(set) 2>&1 | |
1200 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1201 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1202 eval ac_new_set=\$ac_env_${ac_var}_set | |
1203 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | |
1204 eval ac_new_val="\$ac_env_${ac_var}_value" | |
1205 case $ac_old_set,$ac_new_set in | |
1206 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
|
1207 { 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
|
1208 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
|
1209 ac_cache_corrupted=: ;; |
3 | 1210 ,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
|
1211 { 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
|
1212 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
|
1213 ac_cache_corrupted=: ;; |
3 | 1214 ,);; |
1215 *) | |
1216 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
|
1217 { 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
|
1218 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
|
1219 { 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
|
1220 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
|
1221 { 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
|
1222 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
|
1223 ac_cache_corrupted=: |
3 | 1224 fi;; |
1225 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
|
1226 # 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
|
1227 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
|
1228 case $ac_new_val in |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1229 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
120
7d2108cbcd3e
Porting DW 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 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
|
1231 *) 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
|
1232 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
|
1233 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
|
1234 *" '$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
|
1235 *) 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
|
1236 esac |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1237 fi |
3 | 1238 done |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1239 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
|
1240 { 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
|
1241 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
|
1242 { { 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
|
1243 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
|
1244 { (exit 1); exit 1; }; } |
3 | 1245 fi |
1246 | |
1247 ac_ext=c | |
1248 ac_cpp='$CPP $CPPFLAGS' | |
1249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1251 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1252 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1253 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1254 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1255 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1256 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1258 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1259 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1260 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1261 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1262 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1263 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1264 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
3 | 1269 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1270 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1271 ac_config_headers="$ac_config_headers config.h" |
3 | 1272 |
120
7d2108cbcd3e
Porting DW 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 |
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
|
1274 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
|
1275 DW_MINOR_VERSION=0 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1276 DW_SUB_VERSION=0 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1277 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
1278 DW_SRC=gtk |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
1279 DW_DEFINE=__UNIX__ |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1280 SHAREDFLAG=-shared |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
1281 SOSUFFIX=so |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1282 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1284 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1285 |
3 | 1286 INCLUDES="-I." |
1287 | |
1288 ac_ext=c | |
1289 ac_cpp='$CPP $CPPFLAGS' | |
1290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1292 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1293 if test -n "$ac_tool_prefix"; then | |
1294 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
1295 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
|
1296 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1298 if test "${ac_cv_prog_CC+set}" = set; then | |
1299 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1300 else | |
1301 if test -n "$CC"; then | |
1302 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1303 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
|
1304 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
|
1305 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
|
1306 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
|
1307 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
|
1308 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
|
1309 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
|
1310 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
|
1311 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
|
1312 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
|
1313 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
|
1314 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
|
1315 done |
3 | 1316 done |
1317 | |
1318 fi | |
1319 fi | |
1320 CC=$ac_cv_prog_CC | |
1321 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
|
1322 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1323 echo "${ECHO_T}$CC" >&6 |
1324 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
|
1325 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1326 echo "${ECHO_T}no" >&6 |
1327 fi | |
1328 | |
1329 fi | |
1330 if test -z "$ac_cv_prog_CC"; then | |
1331 ac_ct_CC=$CC | |
1332 # Extract the first word of "gcc", so it can be a program name with args. | |
1333 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
|
1334 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1337 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1338 else | |
1339 if test -n "$ac_ct_CC"; then | |
1340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1341 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
|
1342 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
|
1343 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
|
1344 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
|
1345 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
|
1346 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
|
1347 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
|
1348 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
|
1349 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
|
1350 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
|
1351 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
|
1352 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
|
1353 done |
3 | 1354 done |
1355 | |
1356 fi | |
1357 fi | |
1358 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1359 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
|
1360 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3 | 1361 echo "${ECHO_T}$ac_ct_CC" >&6 |
1362 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
|
1363 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1364 echo "${ECHO_T}no" >&6 |
1365 fi | |
1366 | |
1367 CC=$ac_ct_CC | |
1368 else | |
1369 CC="$ac_cv_prog_CC" | |
1370 fi | |
1371 | |
1372 if test -z "$CC"; then | |
1373 if test -n "$ac_tool_prefix"; then | |
1374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
1375 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
|
1376 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1378 if test "${ac_cv_prog_CC+set}" = set; then | |
1379 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1380 else | |
1381 if test -n "$CC"; then | |
1382 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1383 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
|
1384 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
|
1385 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
|
1386 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
|
1387 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
|
1388 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
|
1389 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
|
1390 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
|
1391 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
|
1392 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
|
1393 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
|
1394 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
|
1395 done |
3 | 1396 done |
1397 | |
1398 fi | |
1399 fi | |
1400 CC=$ac_cv_prog_CC | |
1401 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
|
1402 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1403 echo "${ECHO_T}$CC" >&6 |
1404 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
|
1405 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1406 echo "${ECHO_T}no" >&6 |
1407 fi | |
1408 | |
1409 fi | |
1410 if test -z "$ac_cv_prog_CC"; then | |
1411 ac_ct_CC=$CC | |
1412 # Extract the first word of "cc", so it can be a program name with args. | |
1413 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
|
1414 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1416 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1417 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1418 else | |
1419 if test -n "$ac_ct_CC"; then | |
1420 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1421 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
|
1422 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
|
1423 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
|
1424 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
|
1425 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
|
1426 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
|
1427 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
|
1428 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
|
1429 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
|
1430 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
|
1431 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
|
1432 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
|
1433 done |
3 | 1434 done |
1435 | |
1436 fi | |
1437 fi | |
1438 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1439 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
|
1440 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3 | 1441 echo "${ECHO_T}$ac_ct_CC" >&6 |
1442 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
|
1443 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1444 echo "${ECHO_T}no" >&6 |
1445 fi | |
1446 | |
1447 CC=$ac_ct_CC | |
1448 else | |
1449 CC="$ac_cv_prog_CC" | |
1450 fi | |
1451 | |
1452 fi | |
1453 if test -z "$CC"; then | |
1454 # Extract the first word of "cc", so it can be a program name with args. | |
1455 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
|
1456 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1458 if test "${ac_cv_prog_CC+set}" = set; then | |
1459 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1460 else | |
1461 if test -n "$CC"; then | |
1462 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1463 else | |
1464 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
|
1465 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
|
1466 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
|
1467 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
|
1468 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
|
1469 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
|
1470 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
|
1471 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
|
1472 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
|
1473 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
|
1474 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
|
1475 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
|
1476 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
|
1477 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
|
1478 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
|
1479 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
|
1480 done |
3 | 1481 done |
1482 | |
1483 if test $ac_prog_rejected = yes; then | |
1484 # We found a bogon in the path, so make sure we never use it. | |
1485 set dummy $ac_cv_prog_CC | |
1486 shift | |
1487 if test $# != 0; then | |
1488 # We chose a different compiler from the bogus one. | |
1489 # However, it has the same basename, so the bogon will be chosen | |
1490 # first if we set CC to just the basename; use the full file name. | |
1491 shift | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1492 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3 | 1493 fi |
1494 fi | |
1495 fi | |
1496 fi | |
1497 CC=$ac_cv_prog_CC | |
1498 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
|
1499 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1500 echo "${ECHO_T}$CC" >&6 |
1501 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
|
1502 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1503 echo "${ECHO_T}no" >&6 |
1504 fi | |
1505 | |
1506 fi | |
1507 if test -z "$CC"; then | |
1508 if test -n "$ac_tool_prefix"; then | |
1509 for ac_prog in cl | |
1510 do | |
1511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
1512 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
|
1513 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1515 if test "${ac_cv_prog_CC+set}" = set; then | |
1516 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1517 else | |
1518 if test -n "$CC"; then | |
1519 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1520 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
|
1521 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
|
1522 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
|
1523 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
|
1524 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
|
1525 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
|
1526 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
|
1527 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
|
1528 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
|
1529 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
|
1530 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
|
1531 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
|
1532 done |
3 | 1533 done |
1534 | |
1535 fi | |
1536 fi | |
1537 CC=$ac_cv_prog_CC | |
1538 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
|
1539 echo "$as_me:$LINENO: result: $CC" >&5 |
3 | 1540 echo "${ECHO_T}$CC" >&6 |
1541 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
|
1542 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1543 echo "${ECHO_T}no" >&6 |
1544 fi | |
1545 | |
1546 test -n "$CC" && break | |
1547 done | |
1548 fi | |
1549 if test -z "$CC"; then | |
1550 ac_ct_CC=$CC | |
1551 for ac_prog in cl | |
1552 do | |
1553 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
1554 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
|
1555 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1558 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1559 else | |
1560 if test -n "$ac_ct_CC"; then | |
1561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1562 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
|
1563 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
|
1564 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
|
1565 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
|
1566 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
|
1567 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
|
1568 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
|
1569 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
|
1570 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
|
1571 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
|
1572 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
|
1573 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
|
1574 done |
3 | 1575 done |
1576 | |
1577 fi | |
1578 fi | |
1579 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1580 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
|
1581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3 | 1582 echo "${ECHO_T}$ac_ct_CC" >&6 |
1583 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
|
1584 echo "$as_me:$LINENO: result: no" >&5 |
3 | 1585 echo "${ECHO_T}no" >&6 |
1586 fi | |
1587 | |
1588 test -n "$ac_ct_CC" && break | |
1589 done | |
1590 | |
1591 CC=$ac_ct_CC | |
1592 fi | |
1593 | |
1594 fi | |
1595 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1596 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1597 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1598 See \`config.log' for more details." >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1599 echo "$as_me: error: no acceptable C compiler found in \$PATH |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1600 See \`config.log' for more details." >&2;} |
3 | 1601 { (exit 1); exit 1; }; } |
1602 | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1603 # 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
|
1604 echo "$as_me:$LINENO:" \ |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1605 "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
|
1606 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
|
1607 { (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
|
1608 (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
|
1609 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
|
1610 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
|
1611 (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
|
1612 { (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
|
1613 (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
|
1614 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
|
1615 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
|
1616 (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
|
1617 { (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
|
1618 (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
|
1619 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
|
1620 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
|
1621 (exit $ac_status); } |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1622 |
3 | 1623 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
|
1624 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1625 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1626 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1627 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1628 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1629 /* end confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1630 |
3 | 1631 int |
1632 main () | |
1633 { | |
1634 | |
1635 ; | |
1636 return 0; | |
1637 } | |
1638 _ACEOF | |
1639 ac_clean_files_save=$ac_clean_files | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1640 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
3 | 1641 # 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
|
1642 # It will help us diagnose broken compilers, and finding out an intuition |
3 | 1643 # 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
|
1644 echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
3 | 1645 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1646 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
|
1647 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
3 | 1648 (eval $ac_link_default) 2>&5 |
1649 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
|
1650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1651 (exit $ac_status); }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
1652 # 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
|
1653 # 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
|
1654 # 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
|
1655 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1656 # 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
|
1657 # 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
|
1658 ac_cv_exeext= |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1659 # b.out is created by i960 compilers. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1660 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1661 do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1662 test -f "$ac_file" || continue |
3 | 1663 case $ac_file in |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1665 ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1666 conftest.$ac_ext ) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1667 # This is the source file. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1668 ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1669 [ab].out ) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1670 # We found the default executable, but exeext='' is most |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1671 # certainly right. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1672 break;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1673 *.* ) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1674 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1675 # FIXME: I believe we export ac_cv_exeext for Libtool, |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1676 # but it would be cool to find out if it's true. Does anybody |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1677 # maintain Libtool? --akim. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1678 export ac_cv_exeext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1679 break;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1680 * ) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1681 break;; |
3 | 1682 esac |
1683 done | |
1684 else | |
1685 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1686 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1687 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1688 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1689 See \`config.log' for more details." >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1690 echo "$as_me: error: C compiler cannot create executables |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1691 See \`config.log' for more details." >&2;} |
3 | 1692 { (exit 77); exit 77; }; } |
1693 fi | |
1694 | |
1695 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
|
1696 echo "$as_me:$LINENO: result: $ac_file" >&5 |
3 | 1697 echo "${ECHO_T}$ac_file" >&6 |
1698 | |
1699 # Check the compiler produces executables we can run. If not, either | |
1700 # 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
|
1701 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3 | 1702 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1703 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
1704 # If not cross compiling, check that we can run a simple program. | |
1705 if test "$cross_compiling" != yes; then | |
1706 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
|
1707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1708 (eval $ac_try) 2>&5 |
1709 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
|
1710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1711 (exit $ac_status); }; }; then |
1712 cross_compiling=no | |
1713 else | |
1714 if test "$cross_compiling" = maybe; then | |
1715 cross_compiling=yes | |
1716 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
|
1717 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1718 If you meant to cross compile, use \`--host'. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1719 See \`config.log' for more details." >&5 |
3 | 1720 echo "$as_me: error: cannot run C compiled programs. |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1721 If you meant to cross compile, use \`--host'. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1722 See \`config.log' for more details." >&2;} |
3 | 1723 { (exit 1); exit 1; }; } |
1724 fi | |
1725 fi | |
1726 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
|
1727 echo "$as_me:$LINENO: result: yes" >&5 |
3 | 1728 echo "${ECHO_T}yes" >&6 |
1729 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1730 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3 | 1731 ac_clean_files=$ac_clean_files_save |
1732 # Check the compiler produces executables we can run. If not, either | |
1733 # 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
|
1734 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3 | 1735 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
|
1736 echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3 | 1737 echo "${ECHO_T}$cross_compiling" >&6 |
1738 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
1739 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
|
1740 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
|
1741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 1742 (eval $ac_link) 2>&5 |
1743 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
|
1744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1745 (exit $ac_status); }; then |
1746 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
1747 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
1748 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
1749 # `rm'. | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1750 for ac_file in conftest.exe conftest conftest.*; do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1751 test -f "$ac_file" || continue |
3 | 1752 case $ac_file in |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
3 | 1754 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1755 export ac_cv_exeext | |
1756 break;; | |
1757 * ) break;; | |
1758 esac | |
1759 done | |
1760 else | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1761 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1762 See \`config.log' for more details." >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1763 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1764 See \`config.log' for more details." >&2;} |
3 | 1765 { (exit 1); exit 1; }; } |
1766 fi | |
1767 | |
1768 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
|
1769 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3 | 1770 echo "${ECHO_T}$ac_cv_exeext" >&6 |
1771 | |
1772 rm -f conftest.$ac_ext | |
1773 EXEEXT=$ac_cv_exeext | |
1774 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
|
1775 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
|
1776 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
3 | 1777 if test "${ac_cv_objext+set}" = set; then |
1778 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1779 else | |
1780 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
|
1781 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1782 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1783 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1784 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1785 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1786 /* end confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1787 |
3 | 1788 int |
1789 main () | |
1790 { | |
1791 | |
1792 ; | |
1793 return 0; | |
1794 } | |
1795 _ACEOF | |
1796 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
|
1797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1798 (eval $ac_compile) 2>&5 |
1799 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
|
1800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1801 (exit $ac_status); }; then |
1802 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | |
1803 case $ac_file in | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
3 | 1805 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1806 break;; | |
1807 esac | |
1808 done | |
1809 else | |
1810 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1811 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1812 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1813 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1814 See \`config.log' for more details." >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1815 echo "$as_me: error: cannot compute suffix of object files: cannot compile |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1816 See \`config.log' for more details." >&2;} |
3 | 1817 { (exit 1); exit 1; }; } |
1818 fi | |
1819 | |
1820 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
1821 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
|
1822 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3 | 1823 echo "${ECHO_T}$ac_cv_objext" >&6 |
1824 OBJEXT=$ac_cv_objext | |
1825 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
|
1826 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3 | 1827 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1828 if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
1829 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1830 else | |
1831 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
|
1832 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1833 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1834 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1835 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1836 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1837 /* end confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1838 |
3 | 1839 int |
1840 main () | |
1841 { | |
1842 #ifndef __GNUC__ | |
1843 choke me | |
1844 #endif | |
1845 | |
1846 ; | |
1847 return 0; | |
1848 } | |
1849 _ACEOF | |
1850 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
|
1851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1852 (eval $ac_compile) 2>&5 |
1853 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
|
1854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1855 (exit $ac_status); } && |
1856 { 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
|
1857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1858 (eval $ac_try) 2>&5 |
1859 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
|
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1861 (exit $ac_status); }; }; then |
1862 ac_compiler_gnu=yes | |
1863 else | |
1864 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1865 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1866 |
3 | 1867 ac_compiler_gnu=no |
1868 fi | |
1869 rm -f conftest.$ac_objext conftest.$ac_ext | |
1870 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
1871 | |
1872 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
|
1873 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3 | 1874 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1875 GCC=`test $ac_compiler_gnu = yes && echo yes` | |
1876 ac_test_CFLAGS=${CFLAGS+set} | |
1877 ac_save_CFLAGS=$CFLAGS | |
1878 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
|
1879 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3 | 1880 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1881 if test "${ac_cv_prog_cc_g+set}" = set; then | |
1882 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1883 else | |
1884 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
|
1885 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1886 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1887 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1888 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1889 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1890 /* end confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1891 |
3 | 1892 int |
1893 main () | |
1894 { | |
1895 | |
1896 ; | |
1897 return 0; | |
1898 } | |
1899 _ACEOF | |
1900 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
|
1901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 1902 (eval $ac_compile) 2>&5 |
1903 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
|
1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1905 (exit $ac_status); } && |
1906 { 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
|
1907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 1908 (eval $ac_try) 2>&5 |
1909 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
|
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 1911 (exit $ac_status); }; }; then |
1912 ac_cv_prog_cc_g=yes | |
1913 else | |
1914 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1915 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1916 |
3 | 1917 ac_cv_prog_cc_g=no |
1918 fi | |
1919 rm -f conftest.$ac_objext conftest.$ac_ext | |
1920 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
|
1921 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3 | 1922 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1923 if test "$ac_test_CFLAGS" = set; then | |
1924 CFLAGS=$ac_save_CFLAGS | |
1925 elif test $ac_cv_prog_cc_g = yes; then | |
1926 if test "$GCC" = yes; then | |
1927 CFLAGS="-g -O2" | |
1928 else | |
1929 CFLAGS="-g" | |
1930 fi | |
1931 else | |
1932 if test "$GCC" = yes; then | |
1933 CFLAGS="-O2" | |
1934 else | |
1935 CFLAGS= | |
1936 fi | |
1937 fi | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1938 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1939 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1940 if test "${ac_cv_prog_cc_stdc+set}" = set; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1941 echo $ECHO_N "(cached) $ECHO_C" >&6 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1942 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1943 ac_cv_prog_cc_stdc=no |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1944 ac_save_CC=$CC |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1945 cat >conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1946 #line $LINENO "configure" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1947 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1948 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1949 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1950 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1951 /* end confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1952 #include <stdarg.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1953 #include <stdio.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1954 #include <sys/types.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1955 #include <sys/stat.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1956 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1957 struct buf { int x; }; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1958 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1959 static char *e (p, i) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1960 char **p; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1961 int i; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1962 { |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1963 return p[i]; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1964 } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1965 static char *f (char * (*g) (char **, int), char **p, ...) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1966 { |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1967 char *s; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1968 va_list v; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1969 va_start (v,p); |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1970 s = g (p, va_arg (v,int)); |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1971 va_end (v); |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1972 return s; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1973 } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1974 int test (int i, double x); |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1975 struct s1 {int (*f) (int a);}; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1976 struct s2 {int (*f) (double a);}; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1977 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1978 int argc; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1979 char **argv; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1980 int |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1981 main () |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1982 { |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1983 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1984 ; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1985 return 0; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1986 } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1987 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1988 # Don't try gcc -ansi; that turns off useful extensions and |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1989 # breaks some systems' header files. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1990 # AIX -qlanglvl=ansi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1991 # Ultrix and OSF/1 -std1 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1992 # HP-UX 10.20 and later -Ae |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1993 # HP-UX older versions -Aa -D_HPUX_SOURCE |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1994 # SVR4 -Xc -D__EXTENSIONS__ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1995 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1996 do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1997 CC="$ac_save_CC $ac_arg" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1998 rm -f conftest.$ac_objext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2000 (eval $ac_compile) 2>&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2001 ac_status=$? |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2003 (exit $ac_status); } && |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2004 { ac_try='test -s conftest.$ac_objext' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2006 (eval $ac_try) 2>&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2007 ac_status=$? |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2009 (exit $ac_status); }; }; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2010 ac_cv_prog_cc_stdc=$ac_arg |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2011 break |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2012 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2013 echo "$as_me: failed program was:" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2014 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2015 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2016 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2017 rm -f conftest.$ac_objext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2018 done |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2019 rm -f conftest.$ac_ext conftest.$ac_objext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2020 CC=$ac_save_CC |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2021 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2022 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2023 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2024 case "x$ac_cv_prog_cc_stdc" in |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2025 x|xno) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2026 echo "$as_me:$LINENO: result: none needed" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2027 echo "${ECHO_T}none needed" >&6 ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2028 *) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2030 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2031 CC="$CC $ac_cv_prog_cc_stdc" ;; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2032 esac |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2033 |
3 | 2034 # Some people use a C++ compiler to compile C. Since we use `exit', |
2035 # in C++ we need to declare it. In case someone uses the same compiler | |
2036 # for both compiling C and C++ we need to have the C++ compiler decide | |
2037 # the declaration of exit, since it's the most demanding environment. | |
2038 cat >conftest.$ac_ext <<_ACEOF | |
2039 #ifndef __cplusplus | |
2040 choke me | |
2041 #endif | |
2042 _ACEOF | |
2043 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
|
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 2045 (eval $ac_compile) 2>&5 |
2046 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
|
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2048 (exit $ac_status); } && |
2049 { 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
|
2050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2051 (eval $ac_try) 2>&5 |
2052 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
|
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2054 (exit $ac_status); }; }; then |
2055 for ac_declaration in \ | |
2056 ''\ | |
2057 '#include <stdlib.h>' \ | |
2058 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
2059 'extern "C" void std::exit (int); using std::exit;' \ | |
2060 'extern "C" void exit (int) throw ();' \ | |
2061 'extern "C" void exit (int);' \ | |
2062 'void exit (int);' | |
2063 do | |
2064 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
|
2065 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2066 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2067 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2068 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2069 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2070 /* end confdefs.h. */ |
3 | 2071 #include <stdlib.h> |
2072 $ac_declaration | |
2073 int | |
2074 main () | |
2075 { | |
2076 exit (42); | |
2077 ; | |
2078 return 0; | |
2079 } | |
2080 _ACEOF | |
2081 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
|
2082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 2083 (eval $ac_compile) 2>&5 |
2084 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
|
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2086 (exit $ac_status); } && |
2087 { 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
|
2088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2089 (eval $ac_try) 2>&5 |
2090 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
|
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2092 (exit $ac_status); }; }; then |
2093 : | |
2094 else | |
2095 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2096 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2097 |
3 | 2098 continue |
2099 fi | |
2100 rm -f conftest.$ac_objext conftest.$ac_ext | |
2101 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
|
2102 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2103 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2104 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2105 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2106 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2107 /* end confdefs.h. */ |
3 | 2108 $ac_declaration |
2109 int | |
2110 main () | |
2111 { | |
2112 exit (42); | |
2113 ; | |
2114 return 0; | |
2115 } | |
2116 _ACEOF | |
2117 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
|
2118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 2119 (eval $ac_compile) 2>&5 |
2120 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
|
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2122 (exit $ac_status); } && |
2123 { 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
|
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2125 (eval $ac_try) 2>&5 |
2126 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
|
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2128 (exit $ac_status); }; }; then |
2129 break | |
2130 else | |
2131 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2132 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2133 |
3 | 2134 fi |
2135 rm -f conftest.$ac_objext conftest.$ac_ext | |
2136 done | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2137 rm -f conftest* |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2138 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
|
2139 echo '#ifdef __cplusplus' >>confdefs.h |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2140 echo $ac_declaration >>confdefs.h |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2141 echo '#endif' >>confdefs.h |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2142 fi |
3 | 2143 |
2144 else | |
2145 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2146 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2147 |
3 | 2148 fi |
2149 rm -f conftest.$ac_objext conftest.$ac_ext | |
2150 ac_ext=c | |
2151 ac_cpp='$CPP $CPPFLAGS' | |
2152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2154 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2155 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2156 |
3 | 2157 # Extract the first word of "gmake", so it can be a program name with args. |
2158 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
|
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2161 if test "${ac_cv_prog_MAKE+set}" = set; then | |
2162 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2163 else | |
2164 if test -n "$MAKE"; then | |
2165 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
2166 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
|
2167 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
|
2168 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
|
2169 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
|
2170 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
|
2171 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
|
2172 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
|
2173 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
|
2174 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
|
2175 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
|
2176 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
|
2177 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
|
2178 done |
3 | 2179 done |
2180 | |
2181 fi | |
2182 fi | |
2183 MAKE=$ac_cv_prog_MAKE | |
2184 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
|
2185 echo "$as_me:$LINENO: result: $MAKE" >&5 |
3 | 2186 echo "${ECHO_T}$MAKE" >&6 |
2187 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
|
2188 echo "$as_me:$LINENO: result: no" >&5 |
3 | 2189 echo "${ECHO_T}no" >&6 |
2190 fi | |
2191 | |
2192 if test x"$MAKE" = x; then | |
2193 # Extract the first word of "make", so it can be a program name with args. | |
2194 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
|
2195 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 2196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2197 if test "${ac_cv_prog_MAKE+set}" = set; then | |
2198 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2199 else | |
2200 if test -n "$MAKE"; then | |
2201 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
2202 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
|
2203 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
|
2204 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
|
2205 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
|
2206 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
|
2207 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
|
2208 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
|
2209 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
|
2210 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
|
2211 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
|
2212 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
|
2213 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
|
2214 done |
3 | 2215 done |
2216 | |
2217 fi | |
2218 fi | |
2219 MAKE=$ac_cv_prog_MAKE | |
2220 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
|
2221 echo "$as_me:$LINENO: result: $MAKE" >&5 |
3 | 2222 echo "${ECHO_T}$MAKE" >&6 |
2223 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
|
2224 echo "$as_me:$LINENO: result: no" >&5 |
3 | 2225 echo "${ECHO_T}no" >&6 |
2226 fi | |
2227 | |
2228 fi | |
2229 | |
2230 ac_aux_dir= | |
2231 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
2232 if test -f $ac_dir/install-sh; then | |
2233 ac_aux_dir=$ac_dir | |
2234 ac_install_sh="$ac_aux_dir/install-sh -c" | |
2235 break | |
2236 elif test -f $ac_dir/install.sh; then | |
2237 ac_aux_dir=$ac_dir | |
2238 ac_install_sh="$ac_aux_dir/install.sh -c" | |
2239 break | |
2240 elif test -f $ac_dir/shtool; then | |
2241 ac_aux_dir=$ac_dir | |
2242 ac_install_sh="$ac_aux_dir/shtool install -c" | |
2243 break | |
2244 fi | |
2245 done | |
2246 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
|
2247 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
3 | 2248 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2249 { (exit 1); exit 1; }; } | |
2250 fi | |
2251 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | |
2252 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | |
2253 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |
2254 | |
2255 # Find a good install program. We prefer a C program (faster), | |
2256 # so one script is as good as another. But avoid the broken or | |
2257 # incompatible versions: | |
2258 # SysV /etc/install, /usr/sbin/install | |
2259 # SunOS /usr/etc/install | |
2260 # IRIX /sbin/install | |
2261 # AIX /bin/install | |
2262 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
2263 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2264 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2265 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2266 # ./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
|
2267 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
|
2268 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3 | 2269 if test -z "$INSTALL"; then |
2270 if test "${ac_cv_path_install+set}" = set; then | |
2271 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2272 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
|
2273 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
|
2274 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
|
2275 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
|
2276 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
|
2277 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
|
2278 # 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
|
2279 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
|
2280 ./ | .// | /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
|
2281 /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
|
2282 /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
|
2283 *) |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2284 # 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
|
2285 # 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
|
2286 # 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
|
2287 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
|
2288 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
|
2289 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
|
2290 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
|
2291 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
|
2292 # 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
|
2293 : |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2294 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
|
2295 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
|
2296 # 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
|
2297 : |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2298 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
|
2299 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
|
2300 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
|
2301 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
|
2302 fi |
3 | 2303 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
|
2304 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
|
2305 ;; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2306 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
|
2307 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
|
2308 |
3 | 2309 |
2310 fi | |
2311 if test "${ac_cv_path_install+set}" = set; then | |
2312 INSTALL=$ac_cv_path_install | |
2313 else | |
2314 # As a last resort, use the slow shell script. We don't cache a | |
2315 # path for INSTALL within a source directory, because that will | |
2316 # break other packages using the cache if that directory is | |
2317 # removed, or if the path is relative. | |
2318 INSTALL=$ac_install_sh | |
2319 fi | |
2320 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
|
2321 echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3 | 2322 echo "${ECHO_T}$INSTALL" >&6 |
2323 | |
2324 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2325 # It thinks the first close brace ends the variable substitution. | |
2326 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2327 | |
2328 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2329 | |
2330 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2331 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2332 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2333 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2334 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2335 |
3 | 2336 ac_ext=c |
2337 ac_cpp='$CPP $CPPFLAGS' | |
2338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2340 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
|
2341 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3 | 2342 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2343 # On Suns, sometimes $CPP names a directory. | |
2344 if test -n "$CPP" && test -d "$CPP"; then | |
2345 CPP= | |
2346 fi | |
2347 if test -z "$CPP"; then | |
2348 if test "${ac_cv_prog_CPP+set}" = set; then | |
2349 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2350 else | |
2351 # Double quotes because CPP needs to be expanded | |
2352 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
2353 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2354 ac_preproc_ok=false |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2355 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
|
2356 do |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2357 # 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
|
2358 # with a fresh cross-compiler works. |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2359 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2360 # <limits.h> exists even on freestanding compilers. |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2361 # 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
|
2362 # 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
|
2363 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
|
2364 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2365 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2366 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2367 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2368 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2369 /* end confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2370 #ifdef __STDC__ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2371 # include <limits.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2372 #else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2373 # include <assert.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2374 #endif |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2375 Syntax error |
3 | 2376 _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
|
2377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2379 ac_status=$? | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2380 grep -v '^ *+' conftest.er1 >conftest.err |
3 | 2381 rm -f conftest.er1 |
2382 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
|
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2384 (exit $ac_status); } >/dev/null; then |
2385 if test -s conftest.err; then | |
2386 ac_cpp_err=$ac_c_preproc_warn_flag | |
2387 else | |
2388 ac_cpp_err= | |
2389 fi | |
2390 else | |
2391 ac_cpp_err=yes | |
2392 fi | |
2393 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
|
2394 : |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2395 else |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2396 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2397 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2398 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2399 # Broken: fails on valid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2400 continue |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2401 fi |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2402 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
|
2403 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2404 # 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
|
2405 # can be detected and how. |
3 | 2406 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
|
2407 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2408 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2409 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2410 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2411 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2412 /* end confdefs.h. */ |
3 | 2413 #include <ac_nonexistent.h> |
2414 _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
|
2415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2417 ac_status=$? | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2418 grep -v '^ *+' conftest.er1 >conftest.err |
3 | 2419 rm -f conftest.er1 |
2420 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
|
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2422 (exit $ac_status); } >/dev/null; then |
2423 if test -s conftest.err; then | |
2424 ac_cpp_err=$ac_c_preproc_warn_flag | |
2425 else | |
2426 ac_cpp_err= | |
2427 fi | |
2428 else | |
2429 ac_cpp_err=yes | |
2430 fi | |
2431 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
|
2432 # Broken: success on invalid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2433 continue |
3 | 2434 else |
2435 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2436 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2437 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2438 # Passes both tests. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2439 ac_preproc_ok=: |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2440 break |
3 | 2441 fi |
2442 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
|
2443 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2444 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2445 # 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
|
2446 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
|
2447 if $ac_preproc_ok; then |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2448 break |
3 | 2449 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2450 |
3 | 2451 done |
2452 ac_cv_prog_CPP=$CPP | |
2453 | |
2454 fi | |
2455 CPP=$ac_cv_prog_CPP | |
2456 else | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2457 ac_cv_prog_CPP=$CPP |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2458 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
|
2459 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
|
2460 echo "${ECHO_T}$CPP" >&6 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2461 ac_preproc_ok=false |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2462 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
|
2463 do |
3 | 2464 # 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
|
2465 # with a fresh cross-compiler works. |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2467 # <limits.h> exists even on freestanding compilers. |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2468 # 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
|
2469 # 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
|
2470 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
|
2471 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2472 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2473 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2474 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2475 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2476 /* end confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2477 #ifdef __STDC__ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2478 # include <limits.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2479 #else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2480 # include <assert.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2481 #endif |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2482 Syntax error |
3 | 2483 _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
|
2484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2486 ac_status=$? | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2487 grep -v '^ *+' conftest.er1 >conftest.err |
3 | 2488 rm -f conftest.er1 |
2489 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
|
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2491 (exit $ac_status); } >/dev/null; then |
2492 if test -s conftest.err; then | |
2493 ac_cpp_err=$ac_c_preproc_warn_flag | |
2494 else | |
2495 ac_cpp_err= | |
2496 fi | |
2497 else | |
2498 ac_cpp_err=yes | |
2499 fi | |
2500 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
|
2501 : |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2502 else |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2503 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2504 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2505 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2506 # Broken: fails on valid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2507 continue |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2508 fi |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2509 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
|
2510 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2511 # 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
|
2512 # can be detected and how. |
3 | 2513 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
|
2514 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2515 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2516 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2517 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2518 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2519 /* end confdefs.h. */ |
3 | 2520 #include <ac_nonexistent.h> |
2521 _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
|
2522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 2523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2524 ac_status=$? | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2525 grep -v '^ *+' conftest.er1 >conftest.err |
3 | 2526 rm -f conftest.er1 |
2527 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
|
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2529 (exit $ac_status); } >/dev/null; then |
2530 if test -s conftest.err; then | |
2531 ac_cpp_err=$ac_c_preproc_warn_flag | |
2532 else | |
2533 ac_cpp_err= | |
2534 fi | |
2535 else | |
2536 ac_cpp_err=yes | |
2537 fi | |
2538 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
|
2539 # Broken: success on invalid input. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2540 continue |
3 | 2541 else |
2542 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2543 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2544 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2545 # Passes both tests. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2546 ac_preproc_ok=: |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2547 break |
3 | 2548 fi |
2549 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
|
2550 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2551 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3 | 2553 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
|
2554 if $ac_preproc_ok; then |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2555 : |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2556 else |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2557 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2558 See \`config.log' for more details." >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2559 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2560 See \`config.log' for more details." >&2;} |
3 | 2561 { (exit 1); exit 1; }; } |
2562 fi | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2563 |
3 | 2564 ac_ext=c |
2565 ac_cpp='$CPP $CPPFLAGS' | |
2566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2568 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2569 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2570 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2571 echo "$as_me:$LINENO: checking for egrep" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2572 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2573 if test "${ac_cv_prog_egrep+set}" = set; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2574 echo $ECHO_N "(cached) $ECHO_C" >&6 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2575 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2576 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2577 then ac_cv_prog_egrep='grep -E' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2578 else ac_cv_prog_egrep='egrep' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2579 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2580 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2581 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2582 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2583 EGREP=$ac_cv_prog_egrep |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2584 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2585 |
120
7d2108cbcd3e
Porting DW 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 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3 | 2587 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
2588 if test "${ac_cv_header_stdc+set}" = set; then | |
2589 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2590 else | |
2591 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
|
2592 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2593 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2594 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2595 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2596 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2597 /* end confdefs.h. */ |
3 | 2598 #include <stdlib.h> |
2599 #include <stdarg.h> | |
2600 #include <string.h> | |
2601 #include <float.h> | |
2602 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2603 int |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2604 main () |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2605 { |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2606 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2607 ; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2608 return 0; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2609 } |
3 | 2610 _ACEOF |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2611 rm -f conftest.$ac_objext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2613 (eval $ac_compile) 2>&5 |
3 | 2614 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
|
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2616 (exit $ac_status); } && |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2617 { ac_try='test -s conftest.$ac_objext' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2619 (eval $ac_try) 2>&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2620 ac_status=$? |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2622 (exit $ac_status); }; }; then |
3 | 2623 ac_cv_header_stdc=yes |
2624 else | |
2625 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2626 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2627 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2628 ac_cv_header_stdc=no |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2629 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2630 rm -f conftest.$ac_objext conftest.$ac_ext |
3 | 2631 |
2632 if test $ac_cv_header_stdc = yes; then | |
2633 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
2634 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
|
2635 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2636 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2637 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2638 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2639 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2640 /* end confdefs.h. */ |
3 | 2641 #include <string.h> |
2642 | |
2643 _ACEOF | |
2644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2645 $EGREP "memchr" >/dev/null 2>&1; then |
3 | 2646 : |
2647 else | |
2648 ac_cv_header_stdc=no | |
2649 fi | |
2650 rm -f conftest* | |
2651 | |
2652 fi | |
2653 | |
2654 if test $ac_cv_header_stdc = yes; then | |
2655 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
2656 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
|
2657 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2658 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2659 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2660 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2661 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2662 /* end confdefs.h. */ |
3 | 2663 #include <stdlib.h> |
2664 | |
2665 _ACEOF | |
2666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2667 $EGREP "free" >/dev/null 2>&1; then |
3 | 2668 : |
2669 else | |
2670 ac_cv_header_stdc=no | |
2671 fi | |
2672 rm -f conftest* | |
2673 | |
2674 fi | |
2675 | |
2676 if test $ac_cv_header_stdc = yes; then | |
2677 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
2678 if test "$cross_compiling" = yes; then | |
2679 : | |
2680 else | |
2681 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
|
2682 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2683 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2684 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2685 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2686 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2687 /* end confdefs.h. */ |
3 | 2688 #include <ctype.h> |
2689 #if ((' ' & 0x0FF) == 0x020) | |
2690 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
2691 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
2692 #else | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2693 # define ISLOWER(c) \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2694 (('a' <= (c) && (c) <= 'i') \ |
3 | 2695 || ('j' <= (c) && (c) <= 'r') \ |
2696 || ('s' <= (c) && (c) <= 'z')) | |
2697 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
2698 #endif | |
2699 | |
2700 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
2701 int | |
2702 main () | |
2703 { | |
2704 int i; | |
2705 for (i = 0; i < 256; i++) | |
2706 if (XOR (islower (i), ISLOWER (i)) | |
2707 || toupper (i) != TOUPPER (i)) | |
2708 exit(2); | |
2709 exit (0); | |
2710 } | |
2711 _ACEOF | |
2712 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
|
2713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 2714 (eval $ac_link) 2>&5 |
2715 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
|
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2717 (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
|
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2719 (eval $ac_try) 2>&5 |
2720 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
|
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2722 (exit $ac_status); }; }; then |
2723 : | |
2724 else | |
2725 echo "$as_me: program exited with status $ac_status" >&5 | |
2726 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2727 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2728 |
120
7d2108cbcd3e
Porting DW 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 ( exit $ac_status ) |
3 | 2730 ac_cv_header_stdc=no |
2731 fi | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2732 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3 | 2733 fi |
2734 fi | |
2735 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
|
2736 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3 | 2737 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
2738 if test $ac_cv_header_stdc = yes; then | |
2739 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2740 cat >>confdefs.h <<\_ACEOF |
3 | 2741 #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
|
2742 _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
|
2743 |
7d2108cbcd3e
Porting DW 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 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
|
2745 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2746 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2748 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2749 |
3 | 2750 |
2751 ac_header_dirent=no | |
2752 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
|
2753 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
|
2754 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
3 | 2755 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
|
2756 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3 | 2757 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2758 else | |
2759 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
|
2760 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2761 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2762 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2763 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2764 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2765 /* end confdefs.h. */ |
3 | 2766 #include <sys/types.h> |
2767 #include <$ac_hdr> | |
2768 | |
2769 int | |
2770 main () | |
2771 { | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2772 if ((DIR *) 0) |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2773 return 0; |
3 | 2774 ; |
2775 return 0; | |
2776 } | |
2777 _ACEOF | |
2778 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
|
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3 | 2780 (eval $ac_compile) 2>&5 |
2781 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
|
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2783 (exit $ac_status); } && |
2784 { 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
|
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2786 (eval $ac_try) 2>&5 |
2787 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
|
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2789 (exit $ac_status); }; }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2790 eval "$as_ac_Header=yes" |
3 | 2791 else |
2792 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2793 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2794 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2795 eval "$as_ac_Header=no" |
3 | 2796 fi |
2797 rm -f conftest.$ac_objext conftest.$ac_ext | |
2798 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
|
2799 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
|
2800 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
|
2801 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
|
2802 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
2803 #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
|
2804 _ACEOF |
3 | 2805 |
2806 ac_header_dirent=$ac_hdr; break | |
2807 fi | |
2808 | |
2809 done | |
2810 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | |
2811 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
|
2812 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
|
2813 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
|
2814 if test "${ac_cv_search_opendir+set}" = set; then |
3 | 2815 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2816 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
|
2817 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
|
2818 ac_cv_search_opendir=no |
3 | 2819 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
|
2820 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2821 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2822 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2823 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2824 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2825 /* end confdefs.h. */ |
3 | 2826 |
2827 /* Override any gcc2 internal prototype to avoid an error. */ | |
2828 #ifdef __cplusplus | |
2829 extern "C" | |
2830 #endif | |
2831 /* We use char because int might match the return type of a gcc2 | |
2832 builtin and then its argument prototype would still apply. */ | |
2833 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
|
2834 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
|
2835 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
|
2836 { |
7d2108cbcd3e
Porting DW 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 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
|
2838 ; |
7d2108cbcd3e
Porting DW 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 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
|
2840 } |
7d2108cbcd3e
Porting DW 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 _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
|
2842 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
|
2843 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
|
2844 (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
|
2845 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
|
2846 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
|
2847 (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
|
2848 { 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
|
2849 { (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
|
2850 (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
|
2851 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
|
2852 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
|
2853 (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
|
2854 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
|
2855 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
|
2856 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2857 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2858 |
120
7d2108cbcd3e
Porting DW 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 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
|
2860 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
|
2861 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
|
2862 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
|
2863 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
|
2864 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
|
2865 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2866 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2867 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2868 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2869 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2870 /* end confdefs.h. */ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2871 |
7d2108cbcd3e
Porting DW 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 /* 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
|
2873 #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
|
2874 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
|
2875 #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
|
2876 /* 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
|
2877 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
|
2878 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
|
2879 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
|
2880 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
|
2881 { |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2882 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
|
2883 ; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2884 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
|
2885 } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2886 _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
|
2887 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
|
2888 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
|
2889 (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
|
2890 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
|
2891 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
|
2892 (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
|
2893 { 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
|
2894 { (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
|
2895 (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
|
2896 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
|
2897 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
|
2898 (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
|
2899 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
|
2900 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
|
2901 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
|
2902 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2903 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2904 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2905 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
|
2906 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
|
2907 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
|
2908 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
|
2909 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
|
2910 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
|
2911 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
|
2912 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
|
2913 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
|
2914 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
|
2915 |
7d2108cbcd3e
Porting DW 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 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
|
2917 |
7d2108cbcd3e
Porting DW 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 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
|
2919 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
|
2920 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
|
2921 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
|
2922 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
|
2923 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
|
2924 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
|
2925 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
|
2926 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
|
2927 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2928 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2929 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2930 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2931 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2932 /* end confdefs.h. */ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
2933 |
7d2108cbcd3e
Porting DW 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 /* 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
|
2935 #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
|
2936 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
|
2937 #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
|
2938 /* 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
|
2939 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
|
2940 char opendir (); |
3 | 2941 int |
2942 main () | |
2943 { | |
2944 opendir (); | |
2945 ; | |
2946 return 0; | |
2947 } | |
2948 _ACEOF | |
2949 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
|
2950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 2951 (eval $ac_link) 2>&5 |
2952 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
|
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2954 (exit $ac_status); } && |
2955 { 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
|
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 2957 (eval $ac_try) 2>&5 |
2958 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
|
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2960 (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
|
2961 ac_cv_search_opendir="none required" |
3 | 2962 else |
2963 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2964 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2965 |
3 | 2966 fi |
2967 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
|
2968 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
|
2969 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
|
2970 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
|
2971 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
|
2972 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2973 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2974 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2975 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2976 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
2977 /* end confdefs.h. */ |
3 | 2978 |
2979 /* Override any gcc2 internal prototype to avoid an error. */ | |
2980 #ifdef __cplusplus | |
2981 extern "C" | |
2982 #endif | |
2983 /* We use char because int might match the return type of a gcc2 | |
2984 builtin and then its argument prototype would still apply. */ | |
2985 char opendir (); | |
2986 int | |
2987 main () | |
2988 { | |
2989 opendir (); | |
2990 ; | |
2991 return 0; | |
2992 } | |
2993 _ACEOF | |
2994 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
|
2995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 2996 (eval $ac_link) 2>&5 |
2997 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
|
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 2999 (exit $ac_status); } && |
3000 { 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
|
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3002 (eval $ac_try) 2>&5 |
3003 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
|
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3005 (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
|
3006 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
|
3007 break |
3 | 3008 else |
3009 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3010 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3011 |
3 | 3012 fi |
3013 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
|
3014 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
|
3015 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
|
3016 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
|
3017 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
|
3018 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
|
3019 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
|
3020 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
|
3021 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
|
3022 |
7d2108cbcd3e
Porting DW 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 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
|
3024 |
7d2108cbcd3e
Porting DW 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 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
|
3026 |
7d2108cbcd3e
Porting DW 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 # 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
|
3028 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 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
|
3038 inttypes.h stdint.h unistd.h |
3 | 3039 do |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3040 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
|
3041 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3 | 3042 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
|
3043 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3 | 3044 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3045 else | |
3046 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
|
3047 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3048 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3049 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3050 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3051 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3052 /* end confdefs.h. */ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3053 $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
|
3054 |
7d2108cbcd3e
Porting DW 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 #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
|
3056 _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
|
3057 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
|
3058 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
|
3059 (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
|
3060 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
|
3061 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
|
3062 (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
|
3063 { 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
|
3064 { (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
|
3065 (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
|
3066 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
|
3067 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
|
3068 (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
|
3069 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
|
3070 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
|
3071 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3072 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3073 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3074 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
|
3075 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
|
3076 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
|
3077 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
|
3078 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
|
3079 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
|
3080 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
|
3081 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
|
3082 #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
|
3083 _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
|
3084 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3085 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
|
3086 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3087 done |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 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
|
3092 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
|
3093 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
|
3094 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
|
3095 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
|
3096 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
|
3097 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
|
3098 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
|
3099 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
|
3100 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
|
3101 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
|
3102 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
|
3103 # 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
|
3104 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
|
3105 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
|
3106 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
|
3107 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3108 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3109 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3110 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3111 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3112 /* end confdefs.h. */ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3113 $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
|
3114 #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
|
3115 _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
|
3116 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
|
3117 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
|
3118 (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
|
3119 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
|
3120 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
|
3121 (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
|
3122 { 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
|
3123 { (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
|
3124 (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
|
3125 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
|
3126 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
|
3127 (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
|
3128 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
|
3129 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
|
3130 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3131 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3132 |
120
7d2108cbcd3e
Porting DW 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 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
|
3134 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
|
3135 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
|
3136 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
|
3137 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
|
3138 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3139 # 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
|
3140 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
|
3141 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
|
3142 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
|
3143 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3144 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3145 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3146 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3147 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3148 /* end confdefs.h. */ |
3 | 3149 #include <$ac_header> |
3150 _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
|
3151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 3152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3153 ac_status=$? | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3154 grep -v '^ *+' conftest.er1 >conftest.err |
3 | 3155 rm -f conftest.er1 |
3156 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
|
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3158 (exit $ac_status); } >/dev/null; then |
3159 if test -s conftest.err; then | |
3160 ac_cpp_err=$ac_c_preproc_warn_flag | |
3161 else | |
3162 ac_cpp_err= | |
3163 fi | |
3164 else | |
3165 ac_cpp_err=yes | |
3166 fi | |
3167 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
|
3168 ac_header_preproc=yes |
3 | 3169 else |
3170 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3171 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3172 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3173 ac_header_preproc=no |
3 | 3174 fi |
3175 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
|
3176 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
|
3177 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
|
3178 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3179 # 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
|
3180 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
|
3181 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
|
3182 { 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
|
3183 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
|
3184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3186 ( |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3187 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3188 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3189 ## Report this to bug-autoconf@gnu.org. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3190 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3191 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3192 ) | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3193 sed "s/^/$as_me: WARNING: /" >&2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3194 ;; |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3195 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
|
3196 { 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
|
3197 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
|
3198 { 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
|
3199 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
|
3200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3202 ( |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3203 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3204 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3205 ## Report this to bug-autoconf@gnu.org. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3206 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3207 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3208 ) | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3209 sed "s/^/$as_me: WARNING: /" >&2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3210 ;; |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3211 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
|
3212 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
|
3213 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
|
3214 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
|
3215 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
|
3216 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
|
3217 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
|
3218 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
|
3219 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
|
3220 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
|
3221 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3222 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3223 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
|
3224 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3225 #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
|
3226 _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
|
3227 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3228 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
|
3229 |
3 | 3230 done |
3231 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3232 |
3 | 3233 for ac_header in sys/stat.h |
3234 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3235 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
|
3236 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
|
3237 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3 | 3238 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
|
3239 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3 | 3240 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
|
3241 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
|
3242 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
|
3243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3 | 3244 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
|
3245 # 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
|
3246 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
|
3247 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
|
3248 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
|
3249 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3250 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3251 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3252 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3253 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3254 /* end confdefs.h. */ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3255 $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
|
3256 #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
|
3257 _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
|
3258 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
|
3259 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
|
3260 (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
|
3261 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
|
3262 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
|
3263 (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
|
3264 { 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
|
3265 { (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
|
3266 (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
|
3267 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
|
3268 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
|
3269 (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
|
3270 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
|
3271 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
|
3272 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3273 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3274 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3275 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
|
3276 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
|
3277 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
|
3278 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
|
3279 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
|
3280 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3281 # 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
|
3282 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
|
3283 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
|
3284 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
|
3285 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3286 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3287 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3288 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3289 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3290 /* end confdefs.h. */ |
3 | 3291 #include <$ac_header> |
3292 _ACEOF | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 3294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3295 ac_status=$? | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3296 grep -v '^ *+' conftest.er1 >conftest.err |
3 | 3297 rm -f conftest.er1 |
3298 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
|
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3300 (exit $ac_status); } >/dev/null; then |
3301 if test -s conftest.err; then | |
3302 ac_cpp_err=$ac_c_preproc_warn_flag | |
3303 else | |
3304 ac_cpp_err= | |
3305 fi | |
3306 else | |
3307 ac_cpp_err=yes | |
3308 fi | |
3309 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
|
3310 ac_header_preproc=yes |
3 | 3311 else |
3312 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3313 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3314 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3315 ac_header_preproc=no |
3 | 3316 fi |
3317 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
|
3318 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
|
3319 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
|
3320 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3321 # 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
|
3322 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
|
3323 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
|
3324 { 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
|
3325 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
|
3326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3328 ( |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3329 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3330 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3331 ## Report this to bug-autoconf@gnu.org. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3332 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3333 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3334 ) | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3335 sed "s/^/$as_me: WARNING: /" >&2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3336 ;; |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3337 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
|
3338 { 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
|
3339 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
|
3340 { 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
|
3341 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
|
3342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3344 ( |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3345 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3346 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3347 ## Report this to bug-autoconf@gnu.org. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3348 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3349 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3350 ) | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3351 sed "s/^/$as_me: WARNING: /" >&2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3352 ;; |
120
7d2108cbcd3e
Porting DW 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 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
|
3354 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
|
3355 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
|
3356 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
|
3357 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
|
3358 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
|
3359 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
|
3360 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
|
3361 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
|
3362 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
|
3363 |
7d2108cbcd3e
Porting DW 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 fi |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3365 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
|
3366 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3367 #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
|
3368 _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
|
3369 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3370 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
|
3371 |
3 | 3372 done |
3373 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3374 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3375 |
3 | 3376 for ac_func in pipe |
3377 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3378 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
|
3379 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3 | 3380 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
|
3381 if eval "test \"\${$as_ac_var+set}\" = set"; then |
3 | 3382 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3383 else | |
3384 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
|
3385 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3386 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3387 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3388 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3389 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3390 /* end confdefs.h. */ |
3 | 3391 /* System header to define __stub macros and hopefully few prototypes, |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3392 which can conflict with char $ac_func (); below. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3394 <limits.h> exists even on freestanding compilers. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3395 #ifdef __STDC__ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3396 # include <limits.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3397 #else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3398 # include <assert.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3399 #endif |
3 | 3400 /* Override any gcc2 internal prototype to avoid an error. */ |
3401 #ifdef __cplusplus | |
3402 extern "C" | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3403 { |
3 | 3404 #endif |
3405 /* We use char because int might match the return type of a gcc2 | |
3406 builtin and then its argument prototype would still apply. */ | |
3407 char $ac_func (); | |
3408 /* The GNU C library defines this for functions which it implements | |
3409 to always fail with ENOSYS. Some functions are actually named | |
3410 something starting with __ and the normal name is an alias. */ | |
3411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3412 choke me | |
3413 #else | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3414 char (*f) () = $ac_func; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3415 #endif |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3416 #ifdef __cplusplus |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3417 } |
3 | 3418 #endif |
3419 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3420 int |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3421 main () |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3422 { |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3423 return f != $ac_func; |
3 | 3424 ; |
3425 return 0; | |
3426 } | |
3427 _ACEOF | |
3428 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
|
3429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3430 (eval $ac_link) 2>&5 |
3431 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
|
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3433 (exit $ac_status); } && |
3434 { 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
|
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3436 (eval $ac_try) 2>&5 |
3437 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
|
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3439 (exit $ac_status); }; }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3440 eval "$as_ac_var=yes" |
3 | 3441 else |
3442 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3443 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3444 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3445 eval "$as_ac_var=no" |
3 | 3446 fi |
3447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3448 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
|
3449 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
|
3450 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
|
3451 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
|
3452 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3453 #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
|
3454 _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
|
3455 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3456 cat >>confdefs.h <<\_ACEOF |
3 | 3457 #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
|
3458 _ACEOF |
3 | 3459 |
3460 fi | |
3461 done | |
3462 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3463 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3464 |
3 | 3465 for ac_func in connect |
3466 do | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3467 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
|
3468 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3 | 3469 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
|
3470 if eval "test \"\${$as_ac_var+set}\" = set"; then |
3 | 3471 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3472 else | |
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" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3475 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3476 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3477 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3478 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3479 /* end confdefs.h. */ |
3 | 3480 /* System header to define __stub macros and hopefully few prototypes, |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3481 which can conflict with char $ac_func (); below. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3483 <limits.h> exists even on freestanding compilers. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3484 #ifdef __STDC__ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3485 # include <limits.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3486 #else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3487 # include <assert.h> |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3488 #endif |
3 | 3489 /* Override any gcc2 internal prototype to avoid an error. */ |
3490 #ifdef __cplusplus | |
3491 extern "C" | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3492 { |
3 | 3493 #endif |
3494 /* We use char because int might match the return type of a gcc2 | |
3495 builtin and then its argument prototype would still apply. */ | |
3496 char $ac_func (); | |
3497 /* The GNU C library defines this for functions which it implements | |
3498 to always fail with ENOSYS. Some functions are actually named | |
3499 something starting with __ and the normal name is an alias. */ | |
3500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3501 choke me | |
3502 #else | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3503 char (*f) () = $ac_func; |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3504 #endif |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3505 #ifdef __cplusplus |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3506 } |
3 | 3507 #endif |
3508 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3509 int |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3510 main () |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3511 { |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3512 return f != $ac_func; |
3 | 3513 ; |
3514 return 0; | |
3515 } | |
3516 _ACEOF | |
3517 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
|
3518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3519 (eval $ac_link) 2>&5 |
3520 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
|
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3522 (exit $ac_status); } && |
3523 { 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
|
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3525 (eval $ac_try) 2>&5 |
3526 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
|
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3528 (exit $ac_status); }; }; then |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3529 eval "$as_ac_var=yes" |
3 | 3530 else |
3531 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3532 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3533 |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3534 eval "$as_ac_var=no" |
3 | 3535 fi |
3536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3537 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
|
3538 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
|
3539 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
|
3540 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
|
3541 cat >>confdefs.h <<_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
3542 #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
|
3543 _ACEOF |
3 | 3544 |
3545 fi | |
3546 done | |
3547 | |
3548 if test x"$ac_cv_func_connect" = x"no"; then | |
3549 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
|
3550 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3 | 3551 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3552 if test "${ac_cv_lib_socket_socket+set}" = set; then | |
3553 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3554 else | |
3555 ac_check_lib_save_LIBS=$LIBS | |
3556 LIBS="-lsocket $LIBS" | |
3557 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
|
3558 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3559 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3560 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3561 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3562 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3563 /* end confdefs.h. */ |
3 | 3564 |
3565 /* Override any gcc2 internal prototype to avoid an error. */ | |
3566 #ifdef __cplusplus | |
3567 extern "C" | |
3568 #endif | |
3569 /* We use char because int might match the return type of a gcc2 | |
3570 builtin and then its argument prototype would still apply. */ | |
3571 char socket (); | |
3572 int | |
3573 main () | |
3574 { | |
3575 socket (); | |
3576 ; | |
3577 return 0; | |
3578 } | |
3579 _ACEOF | |
3580 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
|
3581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3582 (eval $ac_link) 2>&5 |
3583 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
|
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3585 (exit $ac_status); } && |
3586 { 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
|
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3588 (eval $ac_try) 2>&5 |
3589 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
|
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3591 (exit $ac_status); }; }; then |
3592 ac_cv_lib_socket_socket=yes | |
3593 else | |
3594 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3595 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3596 |
3 | 3597 ac_cv_lib_socket_socket=no |
3598 fi | |
3599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3600 LIBS=$ac_check_lib_save_LIBS | |
3601 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
|
3602 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
3 | 3603 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3604 if test $ac_cv_lib_socket_socket = yes; then | |
3605 LIBS="$LIBS -lsocket" | |
3606 fi | |
3607 | |
3608 fi | |
3609 | |
3610 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
|
3611 echo "$as_me:$LINENO: checking for socket in -linet" >&5 |
3 | 3612 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 |
3613 if test "${ac_cv_lib_inet_socket+set}" = set; then | |
3614 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3615 else | |
3616 ac_check_lib_save_LIBS=$LIBS | |
3617 LIBS="-linet $LIBS" | |
3618 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
|
3619 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3620 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3621 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3622 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3623 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3624 /* end confdefs.h. */ |
3 | 3625 |
3626 /* Override any gcc2 internal prototype to avoid an error. */ | |
3627 #ifdef __cplusplus | |
3628 extern "C" | |
3629 #endif | |
3630 /* We use char because int might match the return type of a gcc2 | |
3631 builtin and then its argument prototype would still apply. */ | |
3632 char socket (); | |
3633 int | |
3634 main () | |
3635 { | |
3636 socket (); | |
3637 ; | |
3638 return 0; | |
3639 } | |
3640 _ACEOF | |
3641 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
|
3642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3643 (eval $ac_link) 2>&5 |
3644 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
|
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3646 (exit $ac_status); } && |
3647 { 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
|
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3649 (eval $ac_try) 2>&5 |
3650 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
|
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3652 (exit $ac_status); }; }; then |
3653 ac_cv_lib_inet_socket=yes | |
3654 else | |
3655 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3656 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3657 |
3 | 3658 ac_cv_lib_inet_socket=no |
3659 fi | |
3660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3661 LIBS=$ac_check_lib_save_LIBS | |
3662 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
|
3663 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 |
3 | 3664 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 |
3665 if test $ac_cv_lib_inet_socket = yes; then | |
3666 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | |
3667 fi | |
3668 | |
3669 fi | |
3670 | |
3671 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
|
3672 echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 |
3 | 3673 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6 |
3674 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then | |
3675 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3676 else | |
3677 ac_check_lib_save_LIBS=$LIBS | |
3678 LIBS="-lnsl $LIBS" | |
3679 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
|
3680 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3681 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3682 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3683 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3684 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3685 /* end confdefs.h. */ |
3 | 3686 |
3687 /* Override any gcc2 internal prototype to avoid an error. */ | |
3688 #ifdef __cplusplus | |
3689 extern "C" | |
3690 #endif | |
3691 /* We use char because int might match the return type of a gcc2 | |
3692 builtin and then its argument prototype would still apply. */ | |
3693 char gethostname (); | |
3694 int | |
3695 main () | |
3696 { | |
3697 gethostname (); | |
3698 ; | |
3699 return 0; | |
3700 } | |
3701 _ACEOF | |
3702 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
|
3703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3704 (eval $ac_link) 2>&5 |
3705 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
|
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3707 (exit $ac_status); } && |
3708 { 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
|
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3710 (eval $ac_try) 2>&5 |
3711 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
|
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3713 (exit $ac_status); }; }; then |
3714 ac_cv_lib_nsl_gethostname=yes | |
3715 else | |
3716 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3717 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3718 |
3 | 3719 ac_cv_lib_nsl_gethostname=no |
3720 fi | |
3721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3722 LIBS=$ac_check_lib_save_LIBS | |
3723 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
|
3724 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 |
3 | 3725 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6 |
3726 if test $ac_cv_lib_nsl_gethostname = yes; then | |
3727 LIBS="$LIBS -lnsl" | |
3728 fi | |
3729 | |
3730 fi | |
3731 fi | |
3732 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3733 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 |
3 | 3734 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 |
3735 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then | |
3736 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3737 else | |
3738 ac_check_lib_save_LIBS=$LIBS | |
3739 LIBS="-lsun $LIBS" | |
3740 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
|
3741 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3742 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3743 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3744 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3745 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3746 /* end confdefs.h. */ |
3 | 3747 |
3748 /* Override any gcc2 internal prototype to avoid an error. */ | |
3749 #ifdef __cplusplus | |
3750 extern "C" | |
3751 #endif | |
3752 /* We use char because int might match the return type of a gcc2 | |
3753 builtin and then its argument prototype would still apply. */ | |
3754 char getpwnam (); | |
3755 int | |
3756 main () | |
3757 { | |
3758 getpwnam (); | |
3759 ; | |
3760 return 0; | |
3761 } | |
3762 _ACEOF | |
3763 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
|
3764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3765 (eval $ac_link) 2>&5 |
3766 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
|
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3768 (exit $ac_status); } && |
3769 { 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
|
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3771 (eval $ac_try) 2>&5 |
3772 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
|
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3774 (exit $ac_status); }; }; then |
3775 ac_cv_lib_sun_getpwnam=yes | |
3776 else | |
3777 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3778 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3779 |
3 | 3780 ac_cv_lib_sun_getpwnam=no |
3781 fi | |
3782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3783 LIBS=$ac_check_lib_save_LIBS | |
3784 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
|
3785 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 |
3 | 3786 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 |
3787 if test $ac_cv_lib_sun_getpwnam = yes; then | |
3788 LIBS="$LIBS -lsun" | |
3789 fi | |
3790 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3791 echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 |
3 | 3792 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6 |
3793 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then | |
3794 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3795 else | |
3796 ac_check_lib_save_LIBS=$LIBS | |
3797 LIBS="-ldgc $LIBS" | |
3798 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
|
3799 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3800 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3801 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3802 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3803 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3804 /* end confdefs.h. */ |
3 | 3805 |
3806 /* Override any gcc2 internal prototype to avoid an error. */ | |
3807 #ifdef __cplusplus | |
3808 extern "C" | |
3809 #endif | |
3810 /* We use char because int might match the return type of a gcc2 | |
3811 builtin and then its argument prototype would still apply. */ | |
3812 char inet_addr (); | |
3813 int | |
3814 main () | |
3815 { | |
3816 inet_addr (); | |
3817 ; | |
3818 return 0; | |
3819 } | |
3820 _ACEOF | |
3821 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
|
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); } && |
3827 { 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
|
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3829 (eval $ac_try) 2>&5 |
3830 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
|
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3832 (exit $ac_status); }; }; then |
3833 ac_cv_lib_dgc_inet_addr=yes | |
3834 else | |
3835 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3836 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3837 |
3 | 3838 ac_cv_lib_dgc_inet_addr=no |
3839 fi | |
3840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3841 LIBS=$ac_check_lib_save_LIBS | |
3842 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
|
3843 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 |
3 | 3844 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6 |
3845 if test $ac_cv_lib_dgc_inet_addr = yes; then | |
3846 LIBS="$LIBS -ldgc" | |
3847 fi | |
3848 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3849 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 |
3 | 3850 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6 |
3851 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then | |
3852 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3853 else | |
3854 ac_check_lib_save_LIBS=$LIBS | |
3855 LIBS="-lresolv $LIBS" | |
3856 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
|
3857 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3858 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3859 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3860 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3861 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3862 /* end confdefs.h. */ |
3 | 3863 |
3864 /* Override any gcc2 internal prototype to avoid an error. */ | |
3865 #ifdef __cplusplus | |
3866 extern "C" | |
3867 #endif | |
3868 /* We use char because int might match the return type of a gcc2 | |
3869 builtin and then its argument prototype would still apply. */ | |
3870 char gethostbyname (); | |
3871 int | |
3872 main () | |
3873 { | |
3874 gethostbyname (); | |
3875 ; | |
3876 return 0; | |
3877 } | |
3878 _ACEOF | |
3879 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
|
3880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 3881 (eval $ac_link) 2>&5 |
3882 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
|
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3884 (exit $ac_status); } && |
3885 { 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
|
3886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 3887 (eval $ac_try) 2>&5 |
3888 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
|
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 3890 (exit $ac_status); }; }; then |
3891 ac_cv_lib_resolv_gethostbyname=yes | |
3892 else | |
3893 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3894 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3895 |
3 | 3896 ac_cv_lib_resolv_gethostbyname=no |
3897 fi | |
3898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3899 LIBS=$ac_check_lib_save_LIBS | |
3900 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
|
3901 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
3 | 3902 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6 |
3903 if test $ac_cv_lib_resolv_gethostbyname = yes; then | |
3904 LIBS="$LIBS -lresolv" | |
3905 fi | |
3906 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3907 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3908 OPSYSTEM=`uname -s` |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3909 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3910 if test $OPSYSTEM = "Darwin"; then |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3911 DW_SRC=mac |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3912 DW_DEFINE=__MAC__ |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
3913 SHAREDFLAG=-dynamiclib |
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
3914 SOSUFFIX=dylib |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
3915 LIBS="$LIBS -framework Carbon" |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3916 else |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3917 # 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
|
3918 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
|
3919 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
|
3920 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
|
3921 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
|
3922 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
|
3923 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
|
3924 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
|
3925 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
|
3926 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
|
3927 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
|
3928 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
|
3929 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
|
3930 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
|
3931 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
|
3932 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
|
3933 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
|
3934 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
|
3935 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
|
3936 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
|
3937 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
|
3938 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
|
3939 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
|
3940 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
3941 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
|
3942 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
|
3943 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
|
3944 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
|
3945 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
|
3946 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
|
3947 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
|
3948 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
|
3949 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
|
3950 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
|
3951 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3952 if test x"$PKG_CFG" != x; then |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3953 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
|
3954 fi |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3955 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
3956 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
|
3957 |
3 | 3958 # Check whether --with-glib-prefix or --without-glib-prefix was given. |
3959 if test "${with_glib_prefix+set}" = set; then | |
3960 withval="$with_glib_prefix" | |
3961 glib_config_prefix="$withval" | |
3962 else | |
3963 glib_config_prefix="" | |
3964 fi; | |
3965 | |
3966 # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given. | |
3967 if test "${with_glib_exec_prefix+set}" = set; then | |
3968 withval="$with_glib_exec_prefix" | |
3969 glib_config_exec_prefix="$withval" | |
3970 else | |
3971 glib_config_exec_prefix="" | |
3972 fi; | |
3973 # Check whether --enable-glibtest or --disable-glibtest was given. | |
3974 if test "${enable_glibtest+set}" = set; then | |
3975 enableval="$enable_glibtest" | |
3976 | |
3977 else | |
3978 enable_glibtest=yes | |
3979 fi; | |
3980 | |
3981 if test x$glib_config_exec_prefix != x ; then | |
3982 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" | |
3983 if test x${GLIB_CONFIG+set} != xset ; then | |
3984 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config | |
3985 fi | |
3986 fi | |
3987 if test x$glib_config_prefix != x ; then | |
3988 glib_config_args="$glib_config_args --prefix=$glib_config_prefix" | |
3989 if test x${GLIB_CONFIG+set} != xset ; then | |
3990 GLIB_CONFIG=$glib_config_prefix/bin/glib-config | |
3991 fi | |
3992 fi | |
3993 | |
3994 for module in . | |
3995 do | |
3996 case "$module" in | |
3997 gmodule) | |
3998 glib_config_args="$glib_config_args gmodule" | |
3999 ;; | |
4000 gthread) | |
4001 glib_config_args="$glib_config_args gthread" | |
4002 ;; | |
4003 esac | |
4004 done | |
4005 | |
4006 # Extract the first word of "glib-config", so it can be a program name with args. | |
4007 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
|
4008 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 4009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4010 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then | |
4011 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4012 else | |
4013 case $GLIB_CONFIG in | |
4014 [\\/]* | ?:[\\/]*) | |
4015 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | |
4016 ;; | |
4017 *) | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4018 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
|
4019 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
|
4020 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
|
4021 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
|
4022 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
|
4023 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
|
4024 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
|
4025 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
|
4026 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
|
4027 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
|
4028 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
|
4029 done |
3 | 4030 done |
4031 | |
4032 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | |
4033 ;; | |
4034 esac | |
4035 fi | |
4036 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | |
4037 | |
4038 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
|
4039 echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 |
3 | 4040 echo "${ECHO_T}$GLIB_CONFIG" >&6 |
4041 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
|
4042 echo "$as_me:$LINENO: result: no" >&5 |
3 | 4043 echo "${ECHO_T}no" >&6 |
4044 fi | |
4045 | |
4046 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
|
4047 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 |
3 | 4048 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6 |
4049 no_glib="" | |
4050 if test "$GLIB_CONFIG" = "no" ; then | |
4051 no_glib=yes | |
4052 else | |
4053 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` | |
4054 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` | |
4055 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
4056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
4057 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
4058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
4059 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \ | |
4060 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
4061 if test "x$enable_glibtest" = "xyes" ; then | |
4062 ac_save_CFLAGS="$CFLAGS" | |
4063 ac_save_LIBS="$LIBS" | |
4064 CFLAGS="$CFLAGS $GLIB_CFLAGS" | |
4065 LIBS="$GLIB_LIBS $LIBS" | |
4066 rm -f conf.glibtest | |
4067 if test "$cross_compiling" = yes; then | |
4068 echo $ac_n "cross compiling; assumed OK... $ac_c" | |
4069 else | |
4070 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
|
4071 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4072 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4073 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4074 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4075 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4076 /* end confdefs.h. */ |
3 | 4077 |
4078 #include <glib.h> | |
4079 #include <stdio.h> | |
4080 #include <stdlib.h> | |
4081 | |
4082 int | |
4083 main () | |
4084 { | |
4085 int major, minor, micro; | |
4086 char *tmp_version; | |
4087 | |
4088 system ("touch conf.glibtest"); | |
4089 | |
4090 /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
4091 tmp_version = g_strdup("$min_glib_version"); | |
4092 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
4093 printf("%s, bad version string\n", "$min_glib_version"); | |
4094 exit(1); | |
4095 } | |
4096 | |
4097 if ((glib_major_version != $glib_config_major_version) || | |
4098 (glib_minor_version != $glib_config_minor_version) || | |
4099 (glib_micro_version != $glib_config_micro_version)) | |
4100 { | |
4101 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", | |
4102 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, | |
4103 glib_major_version, glib_minor_version, glib_micro_version); | |
4104 printf ("*** was found! If glib-config was correct, then it is best\n"); | |
4105 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n"); | |
4106 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
4107 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
4108 printf("*** required on your system.\n"); | |
4109 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); | |
4110 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n"); | |
4111 printf("*** before re-running configure\n"); | |
4112 } | |
4113 else if ((glib_major_version != GLIB_MAJOR_VERSION) || | |
4114 (glib_minor_version != GLIB_MINOR_VERSION) || | |
4115 (glib_micro_version != GLIB_MICRO_VERSION)) | |
4116 { | |
4117 printf("*** GLIB header files (version %d.%d.%d) do not match\n", | |
4118 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); | |
4119 printf("*** library (version %d.%d.%d)\n", | |
4120 glib_major_version, glib_minor_version, glib_micro_version); | |
4121 } | |
4122 else | |
4123 { | |
4124 if ((glib_major_version > major) || | |
4125 ((glib_major_version == major) && (glib_minor_version > minor)) || | |
4126 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) | |
4127 { | |
4128 return 0; | |
4129 } | |
4130 else | |
4131 { | |
4132 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", | |
4133 glib_major_version, glib_minor_version, glib_micro_version); | |
4134 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", | |
4135 major, minor, micro); | |
4136 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); | |
4137 printf("***\n"); | |
4138 printf("*** If you have already installed a sufficiently new version, this error\n"); | |
4139 printf("*** probably means that the wrong copy of the glib-config shell script is\n"); | |
4140 printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
4141 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n"); | |
4142 printf("*** correct copy of glib-config. (In this case, you will have to\n"); | |
4143 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
4144 printf("*** so that the correct libraries are found at run-time))\n"); | |
4145 } | |
4146 } | |
4147 return 1; | |
4148 } | |
4149 | |
4150 _ACEOF | |
4151 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
|
4152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4153 (eval $ac_link) 2>&5 |
4154 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
|
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4156 (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
|
4157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4158 (eval $ac_try) 2>&5 |
4159 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
|
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4161 (exit $ac_status); }; }; then |
4162 : | |
4163 else | |
4164 echo "$as_me: program exited with status $ac_status" >&5 | |
4165 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4166 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4167 |
120
7d2108cbcd3e
Porting DW 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 ( exit $ac_status ) |
3 | 4169 no_glib=yes |
4170 fi | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4171 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3 | 4172 fi |
4173 CFLAGS="$ac_save_CFLAGS" | |
4174 LIBS="$ac_save_LIBS" | |
4175 fi | |
4176 fi | |
4177 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
|
4178 echo "$as_me:$LINENO: result: yes" >&5 |
3 | 4179 echo "${ECHO_T}yes" >&6 |
4180 : | |
4181 else | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4182 echo "$as_me:$LINENO: result: no" >&5 |
3 | 4183 echo "${ECHO_T}no" >&6 |
4184 if test "$GLIB_CONFIG" = "no" ; then | |
4185 echo "*** The glib-config script installed by GLIB could not be found" | |
4186 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | |
4187 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | |
4188 echo "*** full path to glib-config." | |
4189 else | |
4190 if test -f conf.glibtest ; then | |
4191 : | |
4192 else | |
4193 echo "*** Could not run GLIB test program, checking why..." | |
4194 CFLAGS="$CFLAGS $GLIB_CFLAGS" | |
4195 LIBS="$LIBS $GLIB_LIBS" | |
4196 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
|
4197 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4198 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4199 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4200 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4201 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4202 /* end confdefs.h. */ |
3 | 4203 |
4204 #include <glib.h> | |
4205 #include <stdio.h> | |
4206 | |
4207 int | |
4208 main () | |
4209 { | |
4210 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | |
4211 ; | |
4212 return 0; | |
4213 } | |
4214 _ACEOF | |
4215 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
|
4216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4217 (eval $ac_link) 2>&5 |
4218 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
|
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4220 (exit $ac_status); } && |
4221 { 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
|
4222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4223 (eval $ac_try) 2>&5 |
4224 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
|
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4226 (exit $ac_status); }; }; then |
4227 echo "*** The test program compiled, but did not run. This usually means" | |
4228 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | |
4229 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | |
4230 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
4231 echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
4232 echo "*** is required on your system" | |
4233 echo "***" | |
4234 echo "*** If you have an old version installed, it is best to remove it, although" | |
4235 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
4236 else | |
4237 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4238 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4239 |
3 | 4240 echo "*** The test program failed to compile or link. See the file config.log for the" |
4241 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" | |
4242 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" | |
4243 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" | |
4244 fi | |
4245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
4246 CFLAGS="$ac_save_CFLAGS" | |
4247 LIBS="$ac_save_LIBS" | |
4248 fi | |
4249 fi | |
4250 GLIB_CFLAGS="" | |
4251 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
|
4252 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
3 | 4253 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
4254 { (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
|
4255 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
3 | 4256 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
4257 { (exit 1); exit 1; }; }" >&2;} | |
4258 { (exit 1); exit 1; }; } | |
4259 fi | |
4260 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4261 |
3 | 4262 rm -f conf.glibtest |
4263 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4264 |
3 | 4265 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. |
4266 if test "${with_gtk_prefix+set}" = set; then | |
4267 withval="$with_gtk_prefix" | |
4268 gtk_config_prefix="$withval" | |
4269 else | |
4270 gtk_config_prefix="" | |
4271 fi; | |
4272 | |
4273 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | |
4274 if test "${with_gtk_exec_prefix+set}" = set; then | |
4275 withval="$with_gtk_exec_prefix" | |
4276 gtk_config_exec_prefix="$withval" | |
4277 else | |
4278 gtk_config_exec_prefix="" | |
4279 fi; | |
4280 # Check whether --enable-gtktest or --disable-gtktest was given. | |
4281 if test "${enable_gtktest+set}" = set; then | |
4282 enableval="$enable_gtktest" | |
4283 | |
4284 else | |
4285 enable_gtktest=yes | |
4286 fi; | |
4287 | |
4288 for module in . gthread | |
4289 do | |
4290 case "$module" in | |
4291 gthread) | |
4292 gtk_config_args="$gtk_config_args gthread" | |
4293 ;; | |
4294 esac | |
4295 done | |
4296 | |
4297 if test x$gtk_config_exec_prefix != x ; then | |
4298 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" | |
4299 if test x${GTK_CONFIG+set} != xset ; then | |
4300 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config | |
4301 fi | |
4302 fi | |
4303 if test x$gtk_config_prefix != x ; then | |
4304 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" | |
4305 if test x${GTK_CONFIG+set} != xset ; then | |
4306 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config | |
4307 fi | |
4308 fi | |
4309 | |
4310 # Extract the first word of "gtk-config", so it can be a program name with args. | |
4311 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
|
4312 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3 | 4313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4314 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | |
4315 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4316 else | |
4317 case $GTK_CONFIG in | |
4318 [\\/]* | ?:[\\/]*) | |
4319 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | |
4320 ;; | |
4321 *) | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4322 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
|
4323 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
|
4324 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
|
4325 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
|
4326 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
|
4327 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
|
4328 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
|
4329 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
|
4330 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
|
4331 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
|
4332 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
|
4333 done |
3 | 4334 done |
4335 | |
4336 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | |
4337 ;; | |
4338 esac | |
4339 fi | |
4340 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | |
4341 | |
4342 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
|
4343 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
3 | 4344 echo "${ECHO_T}$GTK_CONFIG" >&6 |
4345 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
|
4346 echo "$as_me:$LINENO: result: no" >&5 |
3 | 4347 echo "${ECHO_T}no" >&6 |
4348 fi | |
4349 | |
4350 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
|
4351 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 |
3 | 4352 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 |
4353 no_gtk="" | |
4354 if test "$GTK_CONFIG" = "no" ; then | |
4355 no_gtk=yes | |
4356 else | |
4357 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | |
4358 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` | |
4359 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
4360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` | |
4361 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
4362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` | |
4363 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ | |
4364 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` | |
4365 if test "x$enable_gtktest" = "xyes" ; then | |
4366 ac_save_CFLAGS="$CFLAGS" | |
4367 ac_save_LIBS="$LIBS" | |
4368 CFLAGS="$CFLAGS $GTK_CFLAGS" | |
4369 LIBS="$GTK_LIBS $LIBS" | |
4370 rm -f conf.gtktest | |
4371 if test "$cross_compiling" = yes; then | |
4372 echo $ac_n "cross compiling; assumed OK... $ac_c" | |
4373 else | |
4374 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
|
4375 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4376 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4377 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4378 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4379 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4380 /* end confdefs.h. */ |
3 | 4381 |
4382 #include <gtk/gtk.h> | |
4383 #include <stdio.h> | |
4384 #include <stdlib.h> | |
4385 | |
4386 int | |
4387 main () | |
4388 { | |
4389 int major, minor, micro; | |
4390 char *tmp_version; | |
4391 | |
4392 system ("touch conf.gtktest"); | |
4393 | |
4394 /* HP/UX 9 (%@#!) writes to sscanf strings */ | |
4395 tmp_version = g_strdup("$min_gtk_version"); | |
4396 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | |
4397 printf("%s, bad version string\n", "$min_gtk_version"); | |
4398 exit(1); | |
4399 } | |
4400 | |
4401 if ((gtk_major_version != $gtk_config_major_version) || | |
4402 (gtk_minor_version != $gtk_config_minor_version) || | |
4403 (gtk_micro_version != $gtk_config_micro_version)) | |
4404 { | |
4405 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", | |
4406 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, | |
4407 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
4408 printf ("*** was found! If gtk-config was correct, then it is best\n"); | |
4409 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | |
4410 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | |
4411 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | |
4412 printf("*** required on your system.\n"); | |
4413 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); | |
4414 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); | |
4415 printf("*** before re-running configure\n"); | |
4416 } | |
4417 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) | |
4418 else if ((gtk_major_version != GTK_MAJOR_VERSION) || | |
4419 (gtk_minor_version != GTK_MINOR_VERSION) || | |
4420 (gtk_micro_version != GTK_MICRO_VERSION)) | |
4421 { | |
4422 printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | |
4423 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | |
4424 printf("*** library (version %d.%d.%d)\n", | |
4425 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
4426 } | |
4427 #endif /* defined (GTK_MAJOR_VERSION) ... */ | |
4428 else | |
4429 { | |
4430 if ((gtk_major_version > major) || | |
4431 ((gtk_major_version == major) && (gtk_minor_version > minor)) || | |
4432 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | |
4433 { | |
4434 return 0; | |
4435 } | |
4436 else | |
4437 { | |
4438 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | |
4439 gtk_major_version, gtk_minor_version, gtk_micro_version); | |
4440 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | |
4441 major, minor, micro); | |
4442 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | |
4443 printf("***\n"); | |
4444 printf("*** If you have already installed a sufficiently new version, this error\n"); | |
4445 printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); | |
4446 printf("*** being found. The easiest way to fix this is to remove the old version\n"); | |
4447 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); | |
4448 printf("*** correct copy of gtk-config. (In this case, you will have to\n"); | |
4449 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | |
4450 printf("*** so that the correct libraries are found at run-time))\n"); | |
4451 } | |
4452 } | |
4453 return 1; | |
4454 } | |
4455 | |
4456 _ACEOF | |
4457 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
|
4458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4459 (eval $ac_link) 2>&5 |
4460 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
|
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4462 (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
|
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4464 (eval $ac_try) 2>&5 |
4465 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
|
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4467 (exit $ac_status); }; }; then |
4468 : | |
4469 else | |
4470 echo "$as_me: program exited with status $ac_status" >&5 | |
4471 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4472 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4473 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4474 ( exit $ac_status ) |
3 | 4475 no_gtk=yes |
4476 fi | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4477 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3 | 4478 fi |
4479 CFLAGS="$ac_save_CFLAGS" | |
4480 LIBS="$ac_save_LIBS" | |
4481 fi | |
4482 fi | |
4483 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
|
4484 echo "$as_me:$LINENO: result: yes" >&5 |
3 | 4485 echo "${ECHO_T}yes" >&6 |
4486 : | |
4487 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
|
4488 echo "$as_me:$LINENO: result: no" >&5 |
3 | 4489 echo "${ECHO_T}no" >&6 |
4490 if test "$GTK_CONFIG" = "no" ; then | |
4491 echo "*** The gtk-config script installed by GTK could not be found" | |
4492 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | |
4493 echo "*** your path, or set the GTK_CONFIG environment variable to the" | |
4494 echo "*** full path to gtk-config." | |
4495 else | |
4496 if test -f conf.gtktest ; then | |
4497 : | |
4498 else | |
4499 echo "*** Could not run GTK test program, checking why..." | |
4500 CFLAGS="$CFLAGS $GTK_CFLAGS" | |
4501 LIBS="$LIBS $GTK_LIBS" | |
4502 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
|
4503 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4504 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4505 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4506 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4507 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4508 /* end confdefs.h. */ |
3 | 4509 |
4510 #include <gtk/gtk.h> | |
4511 #include <stdio.h> | |
4512 | |
4513 int | |
4514 main () | |
4515 { | |
4516 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | |
4517 ; | |
4518 return 0; | |
4519 } | |
4520 _ACEOF | |
4521 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
|
4522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 4523 (eval $ac_link) 2>&5 |
4524 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
|
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4526 (exit $ac_status); } && |
4527 { 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
|
4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 4529 (eval $ac_try) 2>&5 |
4530 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
|
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4532 (exit $ac_status); }; }; then |
4533 echo "*** The test program compiled, but did not run. This usually means" | |
4534 echo "*** that the run-time linker is not finding GTK or finding the wrong" | |
4535 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | |
4536 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | |
4537 echo "*** to the installed location Also, make sure you have run ldconfig if that" | |
4538 echo "*** is required on your system" | |
4539 echo "***" | |
4540 echo "*** If you have an old version installed, it is best to remove it, although" | |
4541 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | |
4542 else | |
4543 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4544 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4545 |
3 | 4546 echo "*** The test program failed to compile or link. See the file config.log for the" |
4547 echo "*** exact error that occured. This usually means GTK was incorrectly installed" | |
4548 echo "*** or that you have moved GTK since it was installed. In the latter case, you" | |
4549 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" | |
4550 fi | |
4551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
4552 CFLAGS="$ac_save_CFLAGS" | |
4553 LIBS="$ac_save_LIBS" | |
4554 fi | |
4555 fi | |
4556 GTK_CFLAGS="" | |
4557 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
|
4558 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
3 | 4559 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
4560 { (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
|
4561 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
3 | 4562 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
4563 { (exit 1); exit 1; }; }" >&2;} | |
4564 { (exit 1); exit 1; }; } | |
4565 fi | |
4566 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4567 |
3 | 4568 rm -f conf.gtktest |
4569 | |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4570 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4571 # 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
|
4572 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
|
4573 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
|
4574 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
|
4575 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4576 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
|
4577 fi; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4578 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4579 # 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
|
4580 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
|
4581 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
|
4582 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
|
4583 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4584 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
|
4585 fi; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4586 # 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
|
4587 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
|
4588 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
|
4589 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4590 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4591 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
|
4592 fi; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4593 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4594 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
|
4595 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
|
4596 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
|
4597 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
|
4598 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4599 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4600 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
|
4601 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
|
4602 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
|
4603 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
|
4604 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4605 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4606 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4607 # 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
|
4608 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
|
4609 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
|
4610 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
|
4611 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
|
4612 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
|
4613 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4614 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
|
4615 [\\/]* | ?:[\\/]*) |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4616 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
|
4617 ;; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4618 *) |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4619 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
|
4620 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
|
4621 do |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4622 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
|
4623 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
|
4624 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
|
4625 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
|
4626 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
|
4627 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
|
4628 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
|
4629 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4630 done |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4631 done |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4632 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4633 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
|
4634 ;; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4635 esac |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4636 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4637 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
|
4638 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4639 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
|
4640 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
|
4641 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
|
4642 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4643 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
|
4644 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
|
4645 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4646 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4647 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
|
4648 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
|
4649 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
|
4650 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
|
4651 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
|
4652 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
|
4653 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4654 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
|
4655 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
|
4656 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4657 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
|
4658 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
|
4659 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
|
4660 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
|
4661 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
|
4662 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
|
4663 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
|
4664 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
|
4665 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
|
4666 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
|
4667 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
|
4668 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
|
4669 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
|
4670 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
|
4671 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4672 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
|
4673 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4674 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4675 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4676 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4677 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4678 /* end confdefs.h. */ |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4679 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4680 #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
|
4681 #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
|
4682 #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
|
4683 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4684 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
|
4685 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4686 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
|
4687 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
|
4688 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4689 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
|
4690 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4691 /* 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
|
4692 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
|
4693 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
|
4694 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
|
4695 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
|
4696 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4697 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4698 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
|
4699 (($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
|
4700 (($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
|
4701 ($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
|
4702 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4703 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
|
4704 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4705 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4706 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4707 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
|
4708 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
|
4709 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
|
4710 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
|
4711 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
|
4712 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
|
4713 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
|
4714 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4715 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4716 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4717 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4718 _ACEOF |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4719 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
|
4720 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
|
4721 (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
|
4722 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
|
4723 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
|
4724 (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
|
4725 { (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
|
4726 (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
|
4727 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
|
4728 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
|
4729 (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
|
4730 : |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4731 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4732 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
|
4733 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4734 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4735 |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4736 ( 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
|
4737 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
|
4738 fi |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4739 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4740 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4741 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
|
4742 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
|
4743 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4744 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4745 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
|
4746 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
|
4747 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
|
4748 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
|
4749 #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
|
4750 _ACEOF |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4751 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4752 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4753 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
|
4754 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
|
4755 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
|
4756 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
|
4757 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
|
4758 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
|
4759 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
|
4760 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4761 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
|
4762 : |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4763 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4764 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
|
4765 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
|
4766 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
|
4767 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
|
4768 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4769 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4770 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4771 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4772 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4773 /* end confdefs.h. */ |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4774 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4775 #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
|
4776 #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
|
4777 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4778 int |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4779 main () |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4780 { |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4781 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
|
4782 ; |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4783 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
|
4784 } |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4785 _ACEOF |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4786 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
|
4787 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
|
4788 (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
|
4789 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
|
4790 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
|
4791 (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
|
4792 { 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
|
4793 { (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
|
4794 (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
|
4795 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
|
4796 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
|
4797 (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
|
4798 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
|
4799 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
|
4800 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
|
4801 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
|
4802 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
|
4803 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
|
4804 echo "***" |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4805 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
|
4806 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
|
4807 else |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4808 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4809 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4810 |
121
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4811 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
|
4812 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
|
4813 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
|
4814 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
|
4815 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4816 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
|
4817 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
|
4818 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
|
4819 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4820 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4821 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
|
4822 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
|
4823 { { 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
|
4824 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
|
4825 { (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
|
4826 fi |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4827 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4828 |
d8af32b1b1cd
Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
120
diff
changeset
|
4829 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
|
4830 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4831 else |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
4832 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
|
4833 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
|
4834 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
|
4835 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
|
4836 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4837 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
|
4838 echo "$as_me:$LINENO: checking for pthread.h" >&5 |
3 | 4839 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 |
4840 if test "${ac_cv_header_pthread_h+set}" = set; then | |
4841 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
|
4842 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
|
4843 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
|
4844 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 |
3 | 4845 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
|
4846 # 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
|
4847 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
|
4848 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
|
4849 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
|
4850 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4851 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4852 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4853 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4854 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4855 /* end confdefs.h. */ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4856 $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
|
4857 #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
|
4858 _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
|
4859 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
|
4860 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
|
4861 (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
|
4862 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
|
4863 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
|
4864 (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
|
4865 { 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
|
4866 { (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
|
4867 (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
|
4868 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
|
4869 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
|
4870 (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
|
4871 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
|
4872 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
|
4873 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4874 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4875 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4876 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
|
4877 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
|
4878 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
|
4879 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
|
4880 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
|
4881 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4882 # 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
|
4883 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
|
4884 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
|
4885 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
|
4886 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4887 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4888 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4889 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4890 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4891 /* end confdefs.h. */ |
3 | 4892 #include <pthread.h> |
4893 _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
|
4894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3 | 4895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4896 ac_status=$? | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4897 grep -v '^ *+' conftest.er1 >conftest.err |
3 | 4898 rm -f conftest.er1 |
4899 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
|
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 4901 (exit $ac_status); } >/dev/null; then |
4902 if test -s conftest.err; then | |
4903 ac_cpp_err=$ac_c_preproc_warn_flag | |
4904 else | |
4905 ac_cpp_err= | |
4906 fi | |
4907 else | |
4908 ac_cpp_err=yes | |
4909 fi | |
4910 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
|
4911 ac_header_preproc=yes |
3 | 4912 else |
4913 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4914 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4915 |
120
7d2108cbcd3e
Porting DW 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 ac_header_preproc=no |
3 | 4917 fi |
4918 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
|
4919 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
|
4920 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
|
4921 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
4922 # 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
|
4923 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
|
4924 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
|
4925 { 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
|
4926 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
|
4927 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4928 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4929 ( |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4930 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4931 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4932 ## Report this to bug-autoconf@gnu.org. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4933 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4934 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4935 ) | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4936 sed "s/^/$as_me: WARNING: /" >&2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4937 ;; |
120
7d2108cbcd3e
Porting DW 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 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
|
4939 { 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
|
4940 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
|
4941 { 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
|
4942 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
|
4943 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4944 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4945 ( |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4946 cat <<\_ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4947 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4948 ## Report this to bug-autoconf@gnu.org. ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4949 ## ------------------------------------ ## |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4950 _ASBOX |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4951 ) | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4952 sed "s/^/$as_me: WARNING: /" >&2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4953 ;; |
120
7d2108cbcd3e
Porting DW 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 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
|
4955 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
|
4956 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
|
4957 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
|
4958 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
|
4959 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
|
4960 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
|
4961 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
|
4962 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 |
3 | 4963 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
|
4964 |
7d2108cbcd3e
Porting DW 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 fi |
3 | 4966 if test $ac_cv_header_pthread_h = yes; then |
4967 : | |
4968 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
|
4969 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5 |
3 | 4970 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} |
4971 { (exit 1); exit 1; }; } | |
4972 fi | |
4973 | |
120
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5 |
3 | 4976 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6 |
4977 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then | |
4978 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4979 else | |
4980 ac_check_lib_save_LIBS=$LIBS | |
4981 LIBS="-lpthread $LIBS" | |
4982 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
|
4983 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4984 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4985 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4986 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4987 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
4988 /* end confdefs.h. */ |
3 | 4989 |
4990 /* Override any gcc2 internal prototype to avoid an error. */ | |
4991 #ifdef __cplusplus | |
4992 extern "C" | |
4993 #endif | |
4994 /* We use char because int might match the return type of a gcc2 | |
4995 builtin and then its argument prototype would still apply. */ | |
4996 char pthread_attr_init (); | |
4997 int | |
4998 main () | |
4999 { | |
5000 pthread_attr_init (); | |
5001 ; | |
5002 return 0; | |
5003 } | |
5004 _ACEOF | |
5005 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
|
5006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 5007 (eval $ac_link) 2>&5 |
5008 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
|
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 5010 (exit $ac_status); } && |
5011 { 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
|
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 5013 (eval $ac_try) 2>&5 |
5014 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
|
5015 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
|
5016 (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
|
5017 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
|
5018 else |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5019 echo "$as_me: failed program was:" >&5 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5020 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5021 |
120
7d2108cbcd3e
Porting DW 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 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
|
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 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
|
5025 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
|
5026 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
|
5027 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
|
5028 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
|
5029 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
|
5030 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
|
5031 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
|
5032 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
|
5033 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
|
5034 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
|
5035 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
|
5036 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
|
5037 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
|
5038 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
|
5039 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
|
5040 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5041 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5042 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5043 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5044 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5045 /* end confdefs.h. */ |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5046 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5047 /* 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
|
5048 #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
|
5049 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
|
5050 #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
|
5051 /* 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
|
5052 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
|
5053 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
|
5054 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
|
5055 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
|
5056 { |
7d2108cbcd3e
Porting DW 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 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
|
5058 ; |
7d2108cbcd3e
Porting DW 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 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
|
5060 } |
7d2108cbcd3e
Porting DW 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 _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
|
5062 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
|
5063 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
|
5064 (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
|
5065 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
|
5066 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
|
5067 (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
|
5068 { 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
|
5069 { (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
|
5070 (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
|
5071 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
|
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 5073 (exit $ac_status); }; }; then |
5074 ac_cv_lib_pthreads_pthread_attr_init=yes | |
5075 else | |
5076 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5077 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5078 |
3 | 5079 ac_cv_lib_pthreads_pthread_attr_init=no |
5080 fi | |
5081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
5082 LIBS=$ac_check_lib_save_LIBS | |
5083 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
|
5084 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
3 | 5085 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6 |
5086 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then | |
5087 PTHREAD_LIBS="-lpthreads" | |
5088 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
|
5089 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 |
3 | 5090 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6 |
5091 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then | |
5092 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5093 else | |
5094 ac_check_lib_save_LIBS=$LIBS | |
5095 LIBS="-lc_r $LIBS" | |
5096 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
|
5097 #line $LINENO "configure" |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5098 /* confdefs.h. */ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5099 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5100 cat confdefs.h >>conftest.$ac_ext |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5101 cat >>conftest.$ac_ext <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5102 /* end confdefs.h. */ |
3 | 5103 |
5104 /* Override any gcc2 internal prototype to avoid an error. */ | |
5105 #ifdef __cplusplus | |
5106 extern "C" | |
5107 #endif | |
5108 /* We use char because int might match the return type of a gcc2 | |
5109 builtin and then its argument prototype would still apply. */ | |
5110 char pthread_attr_init (); | |
5111 int | |
5112 main () | |
5113 { | |
5114 pthread_attr_init (); | |
5115 ; | |
5116 return 0; | |
5117 } | |
5118 _ACEOF | |
5119 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
|
5120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3 | 5121 (eval $ac_link) 2>&5 |
5122 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
|
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 5124 (exit $ac_status); } && |
5125 { 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
|
5126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3 | 5127 (eval $ac_try) 2>&5 |
5128 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
|
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3 | 5130 (exit $ac_status); }; }; then |
5131 ac_cv_lib_c_r_pthread_attr_init=yes | |
5132 else | |
5133 echo "$as_me: failed program was:" >&5 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5134 sed 's/^/| /' conftest.$ac_ext >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5135 |
3 | 5136 ac_cv_lib_c_r_pthread_attr_init=no |
5137 fi | |
5138 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
5139 LIBS=$ac_check_lib_save_LIBS | |
5140 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
|
5141 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
3 | 5142 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6 |
5143 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then | |
5144 PTHREAD_LIBS="-lc_r" | |
5145 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
|
5146 { { echo "$as_me:$LINENO: error: pthread library not found. HandyFTP cannot build without it. |
3 | 5147 " >&5 |
5148 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it. | |
5149 " >&2;} | |
5150 { (exit 1); exit 1; }; } | |
5151 | |
5152 fi | |
5153 | |
120
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW 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 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
|
5156 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5157 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5158 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
|
5159 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5160 |
3 | 5161 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS" |
5162 LIBS="$LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS" | |
5163 | |
5164 RM="rm -f" | |
5165 LN="ln -s" | |
5166 CP="cp" | |
5167 MV="mv" | |
5168 MKDIR="mkdir" | |
5169 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5170 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5171 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5172 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5173 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5174 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5175 |
7d2108cbcd3e
Porting DW 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 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5177 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5178 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5179 |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5180 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5181 |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
5182 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5183 ac_config_files="$ac_config_files Makefile dw-config" |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5184 |
3 | 5185 cat >confcache <<\_ACEOF |
5186 # This file is a shell script that caches the results of configure | |
5187 # tests run on this system so they can be shared between configure | |
5188 # scripts and configure runs, see configure's option --config-cache. | |
5189 # It is not useful on other systems. If it contains results you don't | |
5190 # want to keep, you may remove or edit it. | |
5191 # | |
5192 # config.status only pays attention to the cache file if you give it | |
5193 # the --recheck option to rerun configure. | |
5194 # | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5195 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
3 | 5196 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
5197 # following values. | |
5198 | |
5199 _ACEOF | |
5200 | |
5201 # The following way of writing the cache mishandles newlines in values, | |
5202 # but we know of no workaround that is simple, portable, and efficient. | |
5203 # So, don't put newlines in cache variables' values. | |
5204 # Ultrix sh set writes to stderr and can't be redirected directly, | |
5205 # and sets the high bit in the cache file unless we assign to the vars. | |
5206 { | |
5207 (set) 2>&1 | | |
5208 case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
5209 *ac_space=\ *) | |
5210 # `set' does not quote correctly, so add quotes (double-quote | |
5211 # substitution turns \\\\ into \\, and sed turns \\ into \). | |
5212 sed -n \ | |
5213 "s/'/'\\\\''/g; | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3 | 5215 ;; |
5216 *) | |
5217 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
5218 sed -n \ | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5219 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3 | 5220 ;; |
5221 esac; | |
5222 } | | |
5223 sed ' | |
5224 t clear | |
5225 : clear | |
5226 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
5227 t end | |
5228 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
5229 : end' >>confcache | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5230 if diff $cache_file confcache >/dev/null 2>&1; then :; else |
3 | 5231 if test -w $cache_file; then |
5232 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | |
5233 cat confcache >$cache_file | |
5234 else | |
5235 echo "not updating unwritable cache $cache_file" | |
5236 fi | |
5237 fi | |
5238 rm -f confcache | |
5239 | |
5240 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
5241 # Let make expand exec_prefix. | |
5242 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
5243 | |
5244 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
5245 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
5246 # trailing colons and then remove the whole line if VPATH becomes empty | |
5247 # (actually we leave an empty line to preserve line numbers). | |
5248 if test "x$srcdir" = x.; then | |
5249 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
5250 s/:*\$(srcdir):*/:/; | |
5251 s/:*\${srcdir}:*/:/; | |
5252 s/:*@srcdir@:*/:/; | |
5253 s/^\([^=]*=[ ]*\):*/\1/; | |
5254 s/:*$//; | |
5255 s/^[^=]*=[ ]*$//; | |
5256 }' | |
5257 fi | |
5258 | |
5259 DEFS=-DHAVE_CONFIG_H | |
5260 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5261 ac_libobjs= |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5262 ac_ltlibobjs= |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5263 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5264 # 1. Remove the extension, and $U if already installed. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5265 ac_i=`echo "$ac_i" | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5266 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5267 # 2. Add them. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5268 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5269 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5270 done |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5271 LIBOBJS=$ac_libobjs |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5272 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5273 LTLIBOBJS=$ac_ltlibobjs |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5274 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5275 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5276 |
3 | 5277 : ${CONFIG_STATUS=./config.status} |
5278 ac_clean_files_save=$ac_clean_files | |
5279 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
|
5280 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
3 | 5281 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5282 cat >$CONFIG_STATUS <<_ACEOF | |
5283 #! $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
|
5284 # Generated by $as_me. |
3 | 5285 # Run this file to recreate the current configuration. |
5286 # Compiler output produced by configure, useful for debugging | |
5287 # configure, is in config.log if it exists. | |
5288 | |
5289 debug=false | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5290 ac_cs_recheck=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5291 ac_cs_silent=false |
3 | 5292 SHELL=\${CONFIG_SHELL-$SHELL} |
5293 _ACEOF | |
5294 | |
5295 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
|
5296 ## --------------------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5297 ## 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
|
5298 ## --------------------- ## |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5299 |
3 | 5300 # Be Bourne compatible |
5301 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
5302 emulate sh | |
5303 NULLCMD=: | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5304 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5305 # is contrary to our usage. Disable this feature. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5306 alias -g '${1+"$@"}'='"$@"' |
3 | 5307 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
5308 set -o posix | |
5309 fi | |
5310 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5311 # 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
|
5312 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
|
5313 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
|
5314 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
|
5315 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
|
5316 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
|
5317 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5318 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5319 # Work around bugs in pre-3.0 UWIN ksh. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5320 $as_unset ENV MAIL MAILPATH |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5321 PS1='$ ' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5322 PS2='> ' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5323 PS4='+ ' |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5324 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5325 # NLS nuisances. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5326 for as_var in \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5327 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5328 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5329 LC_TELEPHONE LC_TIME |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5330 do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5331 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5332 eval $as_var=C; export $as_var |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5333 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5334 $as_unset $as_var |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5335 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5336 done |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5337 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5338 # Required to use basename. |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5339 if expr a : '\(a\)' >/dev/null 2>&1; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5340 as_expr=expr |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5341 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5342 as_expr=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5343 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5344 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5345 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5346 as_basename=basename |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5347 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5348 as_basename=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5349 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
|
5350 |
7d2108cbcd3e
Porting DW 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 |
3 | 5352 # Name of the executable. |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5353 as_me=`$as_basename "$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
|
5354 $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
|
5355 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
|
5356 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
|
5357 . : '\(.\)' 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
|
5358 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
|
5359 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
|
5360 /^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
|
5361 /^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
|
5362 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
|
5363 |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5364 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5365 # 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
|
5366 # 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
|
5367 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
|
5368 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
|
5369 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
|
5370 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
|
5371 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
|
5372 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5373 # 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
|
5374 if test "${PATH_SEPARATOR+set}" != set; then |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5375 echo "#! /bin/sh" >conf$$.sh |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5376 echo "exit 0" >>conf$$.sh |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5377 chmod +x conf$$.sh |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5378 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5379 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
|
5380 else |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5381 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
|
5382 fi |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5383 rm -f conf$$.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
|
5384 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
|
5385 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5386 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5387 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
|
5388 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
|
5389 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
|
5390 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
|
5391 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
|
5392 # 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
|
5393 # 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
|
5394 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
|
5395 *[\\/]* ) 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
|
5396 *) 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
|
5397 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
|
5398 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
|
5399 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
|
5400 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
|
5401 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
|
5402 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
|
5403 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5404 ;; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5405 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
|
5406 # 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
|
5407 # 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
|
5408 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
|
5409 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
|
5410 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
|
5411 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
|
5412 { { 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
|
5413 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
|
5414 { (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
|
5415 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
|
5416 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
|
5417 '') |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5418 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
|
5419 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
|
5420 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
|
5421 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
|
5422 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
|
5423 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
|
5424 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
|
5425 /*) |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5426 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
|
5427 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
|
5428 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
|
5429 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
|
5430 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
|
5431 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5432 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5433 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5434 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
|
5435 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
|
5436 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
|
5437 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
|
5438 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
|
5439 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
|
5440 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
|
5441 ;; |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5442 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
|
5443 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5444 # 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
|
5445 # 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
|
5446 # 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
|
5447 # 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
|
5448 # 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
|
5449 # 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
|
5450 # (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
|
5451 # 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
|
5452 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
|
5453 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
|
5454 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
|
5455 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
|
5456 : 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
|
5457 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
|
5458 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
|
5459 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
|
5460 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
|
5461 ' >$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
|
5462 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
|
5463 { { 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
|
5464 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
|
5465 { (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
|
5466 |
7d2108cbcd3e
Porting DW 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 # 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
|
5468 # (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
|
5469 # 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
|
5470 . ./$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
|
5471 # 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
|
5472 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
|
5473 } |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5474 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5475 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5476 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
|
5477 *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
|
5478 ' 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
|
5479 *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
|
5480 *) 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
|
5481 esac |
3 | 5482 |
5483 if expr a : '\(a\)' >/dev/null 2>&1; then | |
5484 as_expr=expr | |
5485 else | |
5486 as_expr=false | |
5487 fi | |
5488 | |
5489 rm -f conf$$ conf$$.exe conf$$.file | |
5490 echo >conf$$.file | |
5491 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
5492 # We could just check for DJGPP; but this test a) works b) is more generic | |
5493 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
5494 if test -f conf$$.exe; then | |
5495 # Don't use ln at all; we don't have any links | |
5496 as_ln_s='cp -p' | |
5497 else | |
5498 as_ln_s='ln -s' | |
5499 fi | |
5500 elif ln conf$$.file conf$$ 2>/dev/null; then | |
5501 as_ln_s=ln | |
5502 else | |
5503 as_ln_s='cp -p' | |
5504 fi | |
5505 rm -f conf$$ conf$$.exe conf$$.file | |
5506 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5507 if mkdir -p . 2>/dev/null; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5508 as_mkdir_p=: |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5509 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5510 as_mkdir_p=false |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5511 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5512 |
3 | 5513 as_executable_p="test -f" |
5514 | |
120
7d2108cbcd3e
Porting DW 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 # 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
|
5516 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
|
5517 |
7d2108cbcd3e
Porting DW 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 # 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
|
5519 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
|
5520 |
3 | 5521 |
5522 # IFS | |
5523 # We need space, tab and new line, in precisely that order. | |
5524 as_nl=' | |
5525 ' | |
5526 IFS=" $as_nl" | |
5527 | |
5528 # CDPATH. | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5529 $as_unset CDPATH |
3 | 5530 |
5531 exec 6>&1 | |
5532 | |
120
7d2108cbcd3e
Porting DW 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 # 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
|
5534 # 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
|
5535 # 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
|
5536 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
|
5537 { |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5538 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
|
5539 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
|
5540 ## 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
|
5541 _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
|
5542 } >&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
|
5543 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
|
5544 |
7d2108cbcd3e
Porting DW 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 This file was extended by $as_me, which was |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5546 generated by GNU Autoconf 2.57. Invocation command line was |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5547 |
7d2108cbcd3e
Porting DW 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 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
|
5549 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
|
5550 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
|
5551 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
|
5552 $ $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
|
5553 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5554 _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
|
5555 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
|
5556 echo >&5 |
3 | 5557 _ACEOF |
5558 | |
5559 # Files that config.status was made for. | |
5560 if test -n "$ac_config_files"; then | |
5561 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
5562 fi | |
5563 | |
5564 if test -n "$ac_config_headers"; then | |
5565 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
5566 fi | |
5567 | |
5568 if test -n "$ac_config_links"; then | |
5569 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
5570 fi | |
5571 | |
5572 if test -n "$ac_config_commands"; then | |
5573 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
5574 fi | |
5575 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5576 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5577 |
5578 ac_cs_usage="\ | |
5579 \`$as_me' instantiates files from templates according to the | |
5580 current configuration. | |
5581 | |
5582 Usage: $0 [OPTIONS] [FILE]... | |
5583 | |
5584 -h, --help print this help, then exit | |
5585 -V, --version print version number, then exit | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5586 -q, --quiet do not print progress messages |
3 | 5587 -d, --debug don't remove temporary files |
5588 --recheck update $as_me by reconfiguring in the same conditions | |
5589 --file=FILE[:TEMPLATE] | |
5590 instantiate the configuration file FILE | |
5591 --header=FILE[:TEMPLATE] | |
5592 instantiate the configuration header FILE | |
5593 | |
5594 Configuration files: | |
5595 $config_files | |
5596 | |
5597 Configuration headers: | |
5598 $config_headers | |
5599 | |
5600 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
|
5601 _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
|
5602 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5603 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 5604 ac_cs_version="\\ |
5605 config.status | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5606 configured by $0, generated by GNU Autoconf 2.57, |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5607 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
3 | 5608 |
5609 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
5610 Free Software Foundation, Inc. | |
5611 This config.status script is free software; the Free Software Foundation | |
5612 gives unlimited permission to copy, distribute and modify it." | |
5613 srcdir=$srcdir | |
5614 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
|
5615 _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
|
5616 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5617 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5618 # If no file are specified by the user, then we need to provide default |
5619 # value. By we need to know if files were specified by the user. | |
5620 ac_need_defaults=: | |
5621 while test $# != 0 | |
5622 do | |
5623 case $1 in | |
5624 --*=*) | |
5625 ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
5626 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5627 ac_shift=: |
3 | 5628 ;; |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5629 -*) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5630 ac_option=$1 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5631 ac_optarg=$2 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5632 ac_shift=shift |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5633 ;; |
3 | 5634 *) # This is not an option, so the user has probably given explicit |
5635 # arguments. | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5636 ac_option=$1 |
3 | 5637 ac_need_defaults=false;; |
5638 esac | |
5639 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5640 case $ac_option in |
3 | 5641 # 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
|
5642 _ACEOF |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5643 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5644 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5645 ac_cs_recheck=: ;; |
3 | 5646 --version | --vers* | -V ) |
5647 echo "$ac_cs_version"; exit 0 ;; | |
5648 --he | --h) | |
5649 # 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
|
5650 { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
3 | 5651 Try \`$0 --help' for more information." >&5 |
5652 echo "$as_me: error: ambiguous option: $1 | |
5653 Try \`$0 --help' for more information." >&2;} | |
5654 { (exit 1); exit 1; }; };; | |
5655 --help | --hel | -h ) | |
5656 echo "$ac_cs_usage"; exit 0 ;; | |
5657 --debug | --d* | -d ) | |
5658 debug=: ;; | |
5659 --file | --fil | --fi | --f ) | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5660 $ac_shift |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5661 CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
3 | 5662 ac_need_defaults=false;; |
5663 --header | --heade | --head | --hea ) | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5664 $ac_shift |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5665 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
3 | 5666 ac_need_defaults=false;; |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5667 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5668 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5669 ac_cs_silent=: ;; |
3 | 5670 |
5671 # 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
|
5672 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
3 | 5673 Try \`$0 --help' for more information." >&5 |
5674 echo "$as_me: error: unrecognized option: $1 | |
5675 Try \`$0 --help' for more information." >&2;} | |
5676 { (exit 1); exit 1; }; } ;; | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5677 |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5678 *) 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
|
5679 |
3 | 5680 esac |
5681 shift | |
5682 done | |
5683 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5684 ac_configure_extra_args= |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5685 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5686 if $ac_cs_silent; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5687 exec 6>/dev/null |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5688 ac_configure_extra_args="$ac_configure_extra_args --silent" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5689 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5690 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5691 _ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5692 cat >>$CONFIG_STATUS <<_ACEOF |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5693 if \$ac_cs_recheck; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5694 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5695 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5696 fi |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5697 |
3 | 5698 _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
|
5699 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5700 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5701 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5702 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5703 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5704 cat >>$CONFIG_STATUS <<\_ACEOF |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5705 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
|
5706 do |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5707 case "$ac_config_target" in |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5708 # Handling of arguments. |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5709 "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
|
5710 "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
|
5711 "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
|
5712 *) { { 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
|
5713 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
|
5714 { (exit 1); exit 1; }; };; |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5715 esac |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5716 done |
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
5717 |
3 | 5718 # If the user did not use the arguments to specify the items to instantiate, |
5719 # then the envvar interface is used. Set only those that are not. | |
5720 # We use the long form for the default assignment because of an extremely | |
5721 # bizarre bug on SunOS 4.1.3. | |
5722 if $ac_need_defaults; then | |
5723 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
5724 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
5725 fi | |
5726 | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5727 # Have a temporary directory for convenience. Make it in the build tree |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5728 # simply because there is no reason to put it here, and in addition, |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5729 # creating and moving files from /tmp can sometimes cause problems. |
3 | 5730 # Create a temporary directory, and hook for its removal unless debugging. |
5731 $debug || | |
5732 { | |
5733 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
|
5734 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
3 | 5735 } |
5736 | |
5737 # Create a (secure) tmp directory for tmp files. | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5738 |
3 | 5739 { |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5740 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
3 | 5741 test -n "$tmp" && test -d "$tmp" |
5742 } || | |
5743 { | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5744 tmp=./confstat$$-$RANDOM |
3 | 5745 (umask 077 && mkdir $tmp) |
5746 } || | |
5747 { | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5748 echo "$me: cannot create a temporary directory in ." >&2 |
3 | 5749 { (exit 1); exit 1; } |
5750 } | |
5751 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5752 _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
|
5753 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5754 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 5755 |
5756 # | |
5757 # CONFIG_FILES section. | |
5758 # | |
5759 | |
5760 # No need to generate the scripts if there are no CONFIG_FILES. | |
5761 # This happens for instance when ./config.status config.h | |
5762 if test -n "\$CONFIG_FILES"; then | |
5763 # Protect against being on the right side of a sed subst in config.status. | |
5764 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | |
5765 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | |
5766 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
|
5767 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
|
5768 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
|
5769 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
|
5770 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
|
5771 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
|
5772 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
3 | 5773 s,@exec_prefix@,$exec_prefix,;t t |
5774 s,@prefix@,$prefix,;t t | |
5775 s,@program_transform_name@,$program_transform_name,;t t | |
5776 s,@bindir@,$bindir,;t t | |
5777 s,@sbindir@,$sbindir,;t t | |
5778 s,@libexecdir@,$libexecdir,;t t | |
5779 s,@datadir@,$datadir,;t t | |
5780 s,@sysconfdir@,$sysconfdir,;t t | |
5781 s,@sharedstatedir@,$sharedstatedir,;t t | |
5782 s,@localstatedir@,$localstatedir,;t t | |
5783 s,@libdir@,$libdir,;t t | |
5784 s,@includedir@,$includedir,;t t | |
5785 s,@oldincludedir@,$oldincludedir,;t t | |
5786 s,@infodir@,$infodir,;t t | |
5787 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
|
5788 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
|
5789 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
|
5790 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
|
5791 s,@DEFS@,$DEFS,;t t |
3 | 5792 s,@ECHO_C@,$ECHO_C,;t t |
5793 s,@ECHO_N@,$ECHO_N,;t t | |
5794 s,@ECHO_T@,$ECHO_T,;t t | |
5795 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
|
5796 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
|
5797 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
|
5798 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t |
3 | 5799 s,@CC@,$CC,;t t |
5800 s,@CFLAGS@,$CFLAGS,;t t | |
5801 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
|
5802 s,@CPPFLAGS@,$CPPFLAGS,;t t |
3 | 5803 s,@ac_ct_CC@,$ac_ct_CC,;t t |
5804 s,@EXEEXT@,$EXEEXT,;t t | |
5805 s,@OBJEXT@,$OBJEXT,;t t | |
5806 s,@MAKE@,$MAKE,;t t | |
5807 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | |
5808 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | |
5809 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | |
5810 s,@CPP@,$CPP,;t t | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5811 s,@EGREP@,$EGREP,;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
|
5812 s,@PKG_CFG@,$PKG_CFG,;t t |
3 | 5813 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t |
5814 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t | |
5815 s,@GLIB_LIBS@,$GLIB_LIBS,;t t | |
5816 s,@GTK_CONFIG@,$GTK_CONFIG,;t t | |
5817 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t | |
5818 s,@GTK_LIBS@,$GTK_LIBS,;t t | |
5819 s,@IMLIB_CONFIG@,$IMLIB_CONFIG,;t t | |
5820 s,@GDK_IMLIB_CFLAGS@,$GDK_IMLIB_CFLAGS,;t t | |
5821 s,@GDK_IMLIB_LIBS@,$GDK_IMLIB_LIBS,;t t | |
5822 s,@INCLUDES@,$INCLUDES,;t t | |
5823 s,@RM@,$RM,;t t | |
5824 s,@LN@,$LN,;t t | |
5825 s,@CP@,$CP,;t t | |
5826 s,@MV@,$MV,;t t | |
5827 s,@MKDIR@,$MKDIR,;t t | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5828 s,@SHAREDFLAG@,$SHAREDFLAG,;t t |
435
0b52875e1588
Changes for MacOS X again.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
431
diff
changeset
|
5829 s,@SOSUFFIX@,$SOSUFFIX,;t t |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5830 s,@DW_SRC@,$DW_SRC,;t t |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
251
diff
changeset
|
5831 s,@DW_DEFINE@,$DW_DEFINE,;t t |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5832 s,@LIBOBJS@,$LIBOBJS,;t t |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5833 s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
3 | 5834 CEOF |
5835 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5836 _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
|
5837 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5838 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5839 # Split the substitutions into bite-sized pieces for seds with |
5840 # small command number limits, like on Digital OSF/1 and HP-UX. | |
5841 ac_max_sed_lines=48 | |
5842 ac_sed_frag=1 # Number of current file. | |
5843 ac_beg=1 # First line for current file. | |
5844 ac_end=$ac_max_sed_lines # Line after last line for current file. | |
5845 ac_more_lines=: | |
5846 ac_sed_cmds= | |
5847 while $ac_more_lines; do | |
5848 if test $ac_beg -gt 1; then | |
5849 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
5850 else | |
5851 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
5852 fi | |
5853 if test ! -s $tmp/subs.frag; then | |
5854 ac_more_lines=false | |
5855 else | |
5856 # The purpose of the label and of the branching condition is to | |
5857 # speed up the sed processing (if there are no `@' at all, there | |
5858 # is no need to browse any of the substitutions). | |
5859 # These are the two extra sed commands mentioned above. | |
5860 (echo ':t | |
5861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
5862 if test -z "$ac_sed_cmds"; then | |
5863 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
5864 else | |
5865 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
5866 fi | |
5867 ac_sed_frag=`expr $ac_sed_frag + 1` | |
5868 ac_beg=$ac_end | |
5869 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
5870 fi | |
5871 done | |
5872 if test -z "$ac_sed_cmds"; then | |
5873 ac_sed_cmds=cat | |
5874 fi | |
5875 fi # test -n "$CONFIG_FILES" | |
5876 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5877 _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
|
5878 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 5879 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
5880 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
5881 case $ac_file in | |
5882 - | *:- | *:-:* ) # input from stdin | |
5883 cat >$tmp/stdin | |
5884 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5885 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5886 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5887 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5888 * ) ac_file_in=$ac_file.in ;; | |
5889 esac | |
5890 | |
5891 # 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
|
5892 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
|
5893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3 | 5894 X"$ac_file" : 'X\(//\)[^/]' \| \ |
5895 X"$ac_file" : 'X\(//\)$' \| \ | |
5896 X"$ac_file" : 'X\(/\)' \| \ | |
5897 . : '\(.\)' 2>/dev/null || | |
5898 echo X"$ac_file" | | |
5899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5900 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5901 /^X\(\/\/\)$/{ s//\1/; q; } | |
5902 /^X\(\/\).*/{ s//\1/; q; } | |
5903 s/.*/./; q'` | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5904 { if $as_mkdir_p; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5905 mkdir -p "$ac_dir" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5906 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5907 as_dir="$ac_dir" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5908 as_dirs= |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5909 while test ! -d "$as_dir"; do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5910 as_dirs="$as_dir $as_dirs" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5911 as_dir=`(dirname "$as_dir") 2>/dev/null || |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5913 X"$as_dir" : 'X\(//\)[^/]' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5914 X"$as_dir" : 'X\(//\)$' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5915 X"$as_dir" : 'X\(/\)' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5916 . : '\(.\)' 2>/dev/null || |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5917 echo X"$as_dir" | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5919 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5920 /^X\(\/\/\)$/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5921 /^X\(\/\).*/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5922 s/.*/./; q'` |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5923 done |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5924 test ! -n "$as_dirs" || mkdir $as_dirs |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5925 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5926 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5927 { (exit 1); exit 1; }; }; } |
3 | 5928 |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5929 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
|
5930 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5931 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
|
5932 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
|
5933 # 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
|
5934 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
|
5935 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
|
5936 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
|
5937 fi |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5938 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5939 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
|
5940 .) # 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
|
5941 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
|
5942 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
|
5943 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
|
5944 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
|
5945 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
|
5946 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
|
5947 [\\/]* | ?:[\\/]* ) # 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
|
5948 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
|
5949 ac_top_srcdir=$srcdir ;; |
3 | 5950 *) # 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
|
5951 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
|
5952 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
|
5953 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
|
5954 # 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
|
5955 # 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
|
5956 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
5957 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
5958 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
|
5959 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
|
5960 |
3 | 5961 |
5962 case $INSTALL in | |
5963 [\\/$]* | ?:[\\/]* ) 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
|
5964 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
3 | 5965 esac |
5966 | |
5967 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
|
5968 { echo "$as_me:$LINENO: creating $ac_file" >&5 |
3 | 5969 echo "$as_me: creating $ac_file" >&6;} |
5970 rm -f "$ac_file" | |
5971 fi | |
5972 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5973 # 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
|
5974 # /* 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
|
5975 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
|
5976 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
|
5977 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
|
5978 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
|
5979 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
|
5980 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
|
5981 sed 's,.*/,,'` by configure." |
3 | 5982 |
5983 # First look for the input files in the build tree, otherwise in the | |
5984 # src tree. | |
5985 ac_file_inputs=`IFS=: | |
5986 for f in $ac_file_in; do | |
5987 case $f in | |
5988 -) echo $tmp/stdin ;; | |
5989 [\\/$]*) | |
5990 # 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
|
5991 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 5992 echo "$as_me: error: cannot find input file: $f" >&2;} |
5993 { (exit 1); exit 1; }; } | |
5994 echo $f;; | |
5995 *) # Relative | |
5996 if test -f "$f"; then | |
5997 # Build tree | |
5998 echo $f | |
5999 elif test -f "$srcdir/$f"; then | |
6000 # Source tree | |
6001 echo $srcdir/$f | |
6002 else | |
6003 # /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
|
6004 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 6005 echo "$as_me: error: cannot find input file: $f" >&2;} |
6006 { (exit 1); exit 1; }; } | |
6007 fi;; | |
6008 esac | |
6009 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
|
6010 _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
|
6011 cat >>$CONFIG_STATUS <<_ACEOF |
3 | 6012 sed "$ac_vpsub |
6013 $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
|
6014 _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
|
6015 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 6016 :t |
6017 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
6018 s,@configure_input@,$configure_input,;t t | |
6019 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
|
6020 s,@abs_srcdir@,$ac_abs_srcdir,;t t |
3 | 6021 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
|
6022 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
|
6023 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
|
6024 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
|
6025 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
|
6026 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
3 | 6027 s,@INSTALL@,$ac_INSTALL,;t t |
6028 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | |
6029 rm -f $tmp/stdin | |
6030 if test x"$ac_file" != x-; then | |
6031 mv $tmp/out $ac_file | |
6032 else | |
6033 cat $tmp/out | |
6034 rm -f $tmp/out | |
6035 fi | |
6036 | |
6037 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
|
6038 _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
|
6039 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 6040 |
6041 # | |
6042 # CONFIG_HEADER section. | |
6043 # | |
6044 | |
6045 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
6046 # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
6047 # | |
6048 # ac_d sets the value in "#define NAME VALUE" lines. | |
6049 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | |
6050 ac_dB='[ ].*$,\1#\2' | |
6051 ac_dC=' ' | |
6052 ac_dD=',;t' | |
6053 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
6054 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
6055 ac_uB='$,\1#\2define\3' | |
6056 ac_uC=' ' | |
6057 ac_uD=',;t' | |
6058 | |
6059 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |
6060 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
6061 case $ac_file in | |
6062 - | *:- | *:-:* ) # input from stdin | |
6063 cat >$tmp/stdin | |
6064 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
6065 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
6066 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
6067 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
6068 * ) ac_file_in=$ac_file.in ;; | |
6069 esac | |
6070 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
6071 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
3 | 6072 echo "$as_me: creating $ac_file" >&6;} |
6073 | |
6074 # First look for the input files in the build tree, otherwise in the | |
6075 # src tree. | |
6076 ac_file_inputs=`IFS=: | |
6077 for f in $ac_file_in; do | |
6078 case $f in | |
6079 -) echo $tmp/stdin ;; | |
6080 [\\/$]*) | |
6081 # 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
|
6082 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 6083 echo "$as_me: error: cannot find input file: $f" >&2;} |
6084 { (exit 1); exit 1; }; } | |
6085 echo $f;; | |
6086 *) # Relative | |
6087 if test -f "$f"; then | |
6088 # Build tree | |
6089 echo $f | |
6090 elif test -f "$srcdir/$f"; then | |
6091 # Source tree | |
6092 echo $srcdir/$f | |
6093 else | |
6094 # /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
|
6095 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3 | 6096 echo "$as_me: error: cannot find input file: $f" >&2;} |
6097 { (exit 1); exit 1; }; } | |
6098 fi;; | |
6099 esac | |
6100 done` || { (exit 1); exit 1; } | |
6101 # Remove the trailing spaces. | |
6102 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
6103 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
6104 _ACEOF |
3 | 6105 |
6106 # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
6107 # `conftest.undefs', that substitutes the proper values into | |
6108 # config.h.in to produce config.h. The first handles `#define' | |
6109 # templates, and the second `#undef' templates. | |
6110 # And first: Protect against being on the right side of a sed subst in | |
6111 # config.status. Protect against being in an unquoted here document | |
6112 # in config.status. | |
6113 rm -f conftest.defines conftest.undefs | |
6114 # Using a here document instead of a string reduces the quoting nightmare. | |
6115 # Putting comments in sed scripts is not portable. | |
6116 # | |
6117 # `end' is used to avoid that the second main sed command (meant for | |
6118 # 0-ary CPP macros) applies to n-ary macro definitions. | |
6119 # 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
|
6120 cat >confdef2sed.sed <<\_ACEOF |
3 | 6121 s/[\\&,]/\\&/g |
6122 s,[\\$`],\\&,g | |
6123 t clear | |
6124 : 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
|
6125 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
3 | 6126 t end |
6127 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
6128 : 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
|
6129 _ACEOF |
3 | 6130 # If some macros were called several times there might be several times |
6131 # the same #defines, which is useless. Nevertheless, we may not want to | |
6132 # sort them, since we want the *last* AC-DEFINE to be honored. | |
6133 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
6134 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
6135 rm -f confdef2sed.sed | |
6136 | |
6137 # This sed command replaces #undef with comments. This is necessary, for | |
6138 # example, in the case of _POSIX_SOURCE, which is predefined and required | |
6139 # 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
|
6140 cat >>conftest.undefs <<\_ACEOF |
3 | 6141 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
|
6142 _ACEOF |
3 | 6143 |
6144 # Break up conftest.defines because some shells have a limit on the size | |
6145 # of here documents, and old seds have small limits too (100 cmds). | |
6146 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6147 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
3 | 6148 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
6149 echo ' :' >>$CONFIG_STATUS | |
6150 rm -f conftest.tail | |
6151 while grep . conftest.defines >/dev/null | |
6152 do | |
6153 # Write a limited-size here document to $tmp/defines.sed. | |
6154 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | |
6155 # Speed up: don't consider the non `#define' lines. | |
6156 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | |
6157 # Work around the forget-to-reset-the-flag bug. | |
6158 echo 't clr' >>$CONFIG_STATUS | |
6159 echo ': clr' >>$CONFIG_STATUS | |
6160 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | |
6161 echo 'CEOF | |
6162 sed -f $tmp/defines.sed $tmp/in >$tmp/out | |
6163 rm -f $tmp/in | |
6164 mv $tmp/out $tmp/in | |
6165 ' >>$CONFIG_STATUS | |
6166 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
6167 rm -f conftest.defines | |
6168 mv conftest.tail conftest.defines | |
6169 done | |
6170 rm -f conftest.defines | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6171 echo ' fi # grep' >>$CONFIG_STATUS |
3 | 6172 echo >>$CONFIG_STATUS |
6173 | |
6174 # Break up conftest.undefs because some shells have a limit on the size | |
6175 # of here documents, and old seds have small limits too (100 cmds). | |
6176 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
6177 rm -f conftest.tail | |
6178 while grep . conftest.undefs >/dev/null | |
6179 do | |
6180 # Write a limited-size here document to $tmp/undefs.sed. | |
6181 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
6182 # Speed up: don't consider the non `#undef' | |
6183 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
6184 # Work around the forget-to-reset-the-flag bug. | |
6185 echo 't clr' >>$CONFIG_STATUS | |
6186 echo ': clr' >>$CONFIG_STATUS | |
6187 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
6188 echo 'CEOF | |
6189 sed -f $tmp/undefs.sed $tmp/in >$tmp/out | |
6190 rm -f $tmp/in | |
6191 mv $tmp/out $tmp/in | |
6192 ' >>$CONFIG_STATUS | |
6193 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
6194 rm -f conftest.undefs | |
6195 mv conftest.tail conftest.undefs | |
6196 done | |
6197 rm -f conftest.undefs | |
6198 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
6199 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 6200 # Let's still pretend it is `configure' which instantiates (i.e., don't |
6201 # 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
|
6202 # /* config.h. Generated by config.status. */ |
3 | 6203 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
|
6204 echo "/* Generated by configure. */" >$tmp/config.h |
3 | 6205 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
|
6206 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
3 | 6207 fi |
6208 cat $tmp/in >>$tmp/config.h | |
6209 rm -f $tmp/in | |
6210 if test x"$ac_file" != x-; then | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6211 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
6212 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
3 | 6213 echo "$as_me: $ac_file is unchanged" >&6;} |
6214 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
|
6215 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
|
6216 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3 | 6217 X"$ac_file" : 'X\(//\)[^/]' \| \ |
6218 X"$ac_file" : 'X\(//\)$' \| \ | |
6219 X"$ac_file" : 'X\(/\)' \| \ | |
6220 . : '\(.\)' 2>/dev/null || | |
6221 echo X"$ac_file" | | |
6222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
6223 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
6224 /^X\(\/\/\)$/{ s//\1/; q; } | |
6225 /^X\(\/\).*/{ s//\1/; q; } | |
6226 s/.*/./; q'` | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6227 { if $as_mkdir_p; then |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6228 mkdir -p "$ac_dir" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6229 else |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6230 as_dir="$ac_dir" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6231 as_dirs= |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6232 while test ! -d "$as_dir"; do |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6233 as_dirs="$as_dir $as_dirs" |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6234 as_dir=`(dirname "$as_dir") 2>/dev/null || |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6236 X"$as_dir" : 'X\(//\)[^/]' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6237 X"$as_dir" : 'X\(//\)$' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6238 X"$as_dir" : 'X\(/\)' \| \ |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6239 . : '\(.\)' 2>/dev/null || |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6240 echo X"$as_dir" | |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6242 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6243 /^X\(\/\/\)$/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6244 /^X\(\/\).*/{ s//\1/; q; } |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6245 s/.*/./; q'` |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6246 done |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6247 test ! -n "$as_dirs" || mkdir $as_dirs |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6248 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6249 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6250 { (exit 1); exit 1; }; }; } |
3 | 6251 |
6252 rm -f $ac_file | |
6253 mv $tmp/config.h $ac_file | |
6254 fi | |
6255 else | |
6256 cat $tmp/config.h | |
6257 rm -f $tmp/config.h | |
6258 fi | |
6259 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
|
6260 _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
|
6261 |
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
6262 cat >>$CONFIG_STATUS <<\_ACEOF |
3 | 6263 |
6264 { (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
|
6265 _ACEOF |
3 | 6266 chmod +x $CONFIG_STATUS |
6267 ac_clean_files=$ac_clean_files_save | |
6268 | |
120
7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
80
diff
changeset
|
6269 |
3 | 6270 # configure is writing to config.log, and then calls config.status. |
6271 # config.status does its own redirection, appending to config.log. | |
6272 # Unfortunately, on DOS this fails, as config.log is still kept open | |
6273 # by configure, so config.status won't be able to write to it; its | |
6274 # output is simply discarded. So we exec the FD to /dev/null, | |
6275 # effectively closing config.log, so it can be properly (re)opened and | |
6276 # appended to by config.status. When coming back to configure, we | |
6277 # need to make the FD available again. | |
6278 if test "$no_create" != yes; then | |
6279 ac_cs_success=: | |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6280 ac_config_status_args= |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6281 test "$silent" = yes && |
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6282 ac_config_status_args="$ac_config_status_args --quiet" |
3 | 6283 exec 5>/dev/null |
431
561acf6de39a
Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
412
diff
changeset
|
6284 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3 | 6285 exec 5>>config.log |
6286 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
6287 # would make configure fail if this is the last instruction. | |
6288 $ac_cs_success || { (exit 1); exit 1; } | |
6289 fi | |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
6290 |